diff --git a/css/swad_desktop.css b/css/swad_desktop.css index bae802912..7bc3aef5f 100644 --- a/css/swad_desktop.css +++ b/css/swad_desktop.css @@ -823,7 +823,7 @@ a:hover img.CENTRE_PHOTO_SHOW .RANK { color:#808080; - font-size:12pt; + font-size:11pt; font-weight:bold; } diff --git a/css/swad_mobile.css b/css/swad_mobile.css index 1525be3dd..1feaabe90 100644 --- a/css/swad_mobile.css +++ b/css/swad_mobile.css @@ -636,7 +636,7 @@ a:hover img.CENTRE_PHOTO_SHOW .RANK { color:#808080; - font-size:18pt; + font-size:16pt; font-weight:bold; } diff --git a/swad_changelog.h b/swad_changelog.h index 8d3fa154a..0ce8009b5 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,11 +103,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.96 (2015/03/18)" +#define Log_PLATFORM_VERSION "SWAD 14.96.1 (2015/03/18)" // 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 14.96.1: Mar 18, 2015 Changes in user's profile. (183015 lines) Version 14.96: Mar 18, 2015 New layout in record cards. (183011 lines) Version 14.95.1: Mar 18, 2015 Show user's profile after followin or unfollowing. (182985 lines) Version 14.95: Mar 18, 2015 New module swad_follow for follow users. (182903 lines) diff --git a/swad_profile.c b/swad_profile.c index eb87d4c1e..817c36680 100644 --- a/swad_profile.c +++ b/swad_profile.c @@ -472,15 +472,16 @@ static void Prf_ShowHistoricUserProfile (const struct UsrData *UsrDat) Txt_Clicks); if (UsrFigures.NumClicks >= 0) { - fprintf (Gbl.F.Out,"%ld %s", + fprintf (Gbl.F.Out,"%ld %s ", UsrFigures.NumClicks,Txt_clicks); Prf_ShowRanking (Prf_GetRankingFigure (UsrDat->UsrCod,"NumClicks"), Prf_GetNumUsrsWithFigure ("NumClicks")); if (UsrFigures.NumDays >= 0) { + fprintf (Gbl.F.Out,"
"); Str_WriteFloatNum ((float) UsrFigures.NumClicks / (float) (UsrFigures.NumDays + 1)); - fprintf (Gbl.F.Out," / %s",Txt_day); + fprintf (Gbl.F.Out," / %s ",Txt_day); Prf_ShowRanking (Prf_GetRankingNumClicksPerDay (UsrDat->UsrCod), Prf_GetNumUsrsWithNumClicksPerDay ()); } @@ -511,7 +512,7 @@ static void Prf_ShowHistoricUserProfile (const struct UsrData *UsrDat) Txt_Downloads); if (UsrFigures.NumFileViews >= 0) { - fprintf (Gbl.F.Out,"%ld %s", + fprintf (Gbl.F.Out,"%ld %s ", UsrFigures.NumFileViews, (UsrFigures.NumFileViews == 1) ? Txt_download : Txt_downloads); @@ -519,6 +520,7 @@ static void Prf_ShowHistoricUserProfile (const struct UsrData *UsrDat) Prf_GetNumUsrsWithFigure ("NumFileViews")); if (UsrFigures.NumDays >= 0) { + fprintf (Gbl.F.Out,"
"); Str_WriteFloatNum ((float) UsrFigures.NumFileViews / (float) (UsrFigures.NumDays + 1)); fprintf (Gbl.F.Out," / %s",Txt_day); @@ -550,7 +552,7 @@ static void Prf_ShowHistoricUserProfile (const struct UsrData *UsrDat) Txt_Forums); if (UsrFigures.NumForPst >= 0) { - fprintf (Gbl.F.Out,"%ld %s", + fprintf (Gbl.F.Out,"%ld %s ", UsrFigures.NumForPst, (UsrFigures.NumForPst == 1) ? Txt_post : Txt_posts); @@ -558,6 +560,7 @@ static void Prf_ShowHistoricUserProfile (const struct UsrData *UsrDat) Prf_GetNumUsrsWithFigure ("NumForPst")); if (UsrFigures.NumDays >= 0) { + fprintf (Gbl.F.Out,"
"); Str_WriteFloatNum ((float) UsrFigures.NumForPst / (float) (UsrFigures.NumDays + 1)); fprintf (Gbl.F.Out," / %s",Txt_day); @@ -589,7 +592,7 @@ static void Prf_ShowHistoricUserProfile (const struct UsrData *UsrDat) Txt_Messages); if (UsrFigures.NumMsgSnt >= 0) { - fprintf (Gbl.F.Out,"%ld %s", + fprintf (Gbl.F.Out,"%ld %s ", UsrFigures.NumMsgSnt, (UsrFigures.NumMsgSnt == 1) ? Txt_message : Txt_messages); @@ -597,6 +600,7 @@ static void Prf_ShowHistoricUserProfile (const struct UsrData *UsrDat) Prf_GetNumUsrsWithFigure ("NumMsgSnt")); if (UsrFigures.NumDays >= 0) { + fprintf (Gbl.F.Out,"
"); Str_WriteFloatNum ((float) UsrFigures.NumMsgSnt / (float) (UsrFigures.NumDays + 1)); fprintf (Gbl.F.Out," / %s",Txt_day); @@ -757,24 +761,20 @@ static unsigned long Prf_GetNumUsrsWithNumClicksPerDay (void) static void Prf_ShowRanking (unsigned long Rank,unsigned long NumUsrs) { - extern const char *Txt_Ranking; + // extern const char *Txt_Ranking; extern const char *Txt_of_PART_OF_A_TOTAL; - /***** Start container *****/ - fprintf (Gbl.F.Out,"
"); + /***** Part of a total and end container *****/ + sprintf (Gbl.Title,"#%lu %s %lu", + Rank,Txt_of_PART_OF_A_TOTAL,NumUsrs); /***** Rank in form to go to ranking *****/ Act_FormStart (ActSeeUseGbl); Sco_PutParamScope (Sco_SCOPE_SYS); Par_PutHiddenParamUnsigned ("UseStatType",(unsigned) Sta_USRS_RANKING); - Act_LinkFormSubmit (Txt_Ranking,"RANK"); + Act_LinkFormSubmit (Gbl.Title,"RANK"); fprintf (Gbl.F.Out,"#%lu",Rank); Act_FormEnd (); - - /***** Part of a total and end container *****/ - fprintf (Gbl.F.Out," %s %lu" - "
", - Txt_of_PART_OF_A_TOTAL,NumUsrs); } /*****************************************************************************/ diff --git a/swad_text.c b/swad_text.c index 8ce08761f..5fd30d01c 100644 --- a/swad_text.c +++ b/swad_text.c @@ -27482,7 +27482,7 @@ const char *Txt_Quota_exceeded = #elif L==8 "Quota excedida!"; #endif - +/* const char *Txt_Ranking = #if L==0 "Rànquing"; @@ -27503,7 +27503,7 @@ const char *Txt_Ranking = #elif L==8 "Posição"; #endif - +*/ const char *Txt_ReaBRders = #if L==0 "Lec-
tores"; // Necessita traduccio