diff --git a/swad_changelog.h b/swad_changelog.h index e3e705477..a02b0dd77 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -135,13 +135,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.249.4 (2016-09-08)" +#define Log_PLATFORM_VERSION "SWAD 15.249.5 (2016-09-08)" #define CSS_FILE "swad15.229.css" #define JS_FILE "swad15.238.1.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1 /* + Version 15.249.5: Sep 08, 2016 Changes in layout of user's usage report. (? lines) Version 15.249.4: Sep 08, 2016 List of courses in user's usage report. (203993 lines) Version 15.249.3: Sep 08, 2016 Fixed bug related with search of users. (203983 lines) Version 15.249.2: Sep 08, 2016 Shared record card and details of user's profile are shown in user's usage report. (203978 lines) diff --git a/swad_report.c b/swad_report.c index 96693ec5f..cacf0bae3 100644 --- a/swad_report.c +++ b/swad_report.c @@ -64,6 +64,11 @@ extern struct Globals Gbl; void Rep_ShowMyUsageReport (void) { + extern const char *Txt_Report_of_use_of_the_platform; + + /***** Start frame and table *****/ + Lay_StartRoundFrame ("100%",Txt_Report_of_use_of_the_platform,NULL); + /***** Common record *****/ Rec_ShowSharedUsrRecord (Rec_RECORD_PUBLIC,&Gbl.Usrs.Me.UsrDat); @@ -73,4 +78,7 @@ void Rep_ShowMyUsageReport (void) /***** List my courses *****/ Crs_GetAndWriteCrssOfAUsr (&Gbl.Usrs.Me.UsrDat,Rol_TEACHER); Crs_GetAndWriteCrssOfAUsr (&Gbl.Usrs.Me.UsrDat,Rol_STUDENT); + + /***** End table and frame *****/ + Lay_EndRoundFrame (); } diff --git a/swad_text.c b/swad_text.c index 1e041c6cf..1748229de 100644 --- a/swad_text.c +++ b/swad_text.c @@ -30725,6 +30725,27 @@ const char *Txt_Reply_message = // "Reply" as a noun, not as a verb "Mensagem de resposta"; #endif +const char *Txt_Report_of_use_of_the_platform = +#if L==1 + "Informe d'ús de la plataforma"; +#elif L==2 + "Bericht der Nutzung der Plattform"; +#elif L==3 + "Report of use of the platform"; +#elif L==4 + "Informe de uso de la plataforma"; +#elif L==5 + "Rapport d'utilisation de la plate-forme"; +#elif L==6 + "Informe de uso de la plataforma"; // Okoteve traducción +#elif L==7 + "Rapporto di utilizzo della piattaforma"; +#elif L==8 + "Sprawozdanie z wykorzystaniem platformy"; +#elif L==9 + "Relatório de utilização da plataforma"; +#endif + const char *Txt_Report_possible_duplicate_user = #if L==1 "Informar possible usuari duplicat";