diff --git a/swad_changelog.h b/swad_changelog.h index 2d722f462..cae4a0b2d 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -156,13 +156,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.54.8 (2016-11-13)" +#define Log_PLATFORM_VERSION "SWAD 16.54.9 (2016-11-13)" #define CSS_FILE "swad16.51.css" #define JS_FILE "swad16.46.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 16.54.9: Nov 13, 2016 Contextual help on record card. (206789 lines) Version 16.54.8: Nov 13, 2016 Contextual help on my courses. (206782 lines) Version 16.54.7: Nov 13, 2016 Changes in translation related to role. (206778 lines) Version 16.54.6: Nov 13, 2016 Link to session in head. (206777 lines) diff --git a/swad_help.c b/swad_help.c index 99b3fd940..458245148 100644 --- a/swad_help.c +++ b/swad_help.c @@ -64,6 +64,8 @@ const char *Hlp_PROFILE_Password = const char *Hlp_PROFILE_Courses = "https://github.com/acanas/swad-core/wiki/PROFILE.Courses"; +const char *Hlp_PROFILE_Record = + "https://github.com/acanas/swad-core/wiki/PROFILE.Record"; const char *Hlp_PROFILE_Photo = "https://github.com/acanas/swad-core/wiki/PROFILE.Photo"; diff --git a/swad_record.c b/swad_record.c index 6e0bd4a42..7f0f2da59 100644 --- a/swad_record.c +++ b/swad_record.c @@ -2006,6 +2006,7 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView, struct UsrData *UsrDat) { extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS]; + extern const char *Hlp_PROFILE_Record; extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_Save_changes; extern const char *Txt_Register; @@ -2074,10 +2075,13 @@ void Rec_ShowSharedUsrRecord (Rec_RecordViewType_t TypeOfView, sprintf (StrRecordWidth,"%upx",Rec_RECORD_WIDTH); Gbl.Record.UsrDat = UsrDat; Gbl.Record.TypeOfView = TypeOfView; - Lay_StartRoundFrame (StrRecordWidth,NULL,Rec_PutIconsCommands,NULL); + Lay_StartRoundFrame (StrRecordWidth,NULL, + Rec_PutIconsCommands, + TypeOfView == Rec_FORM_MY_COMMON_RECORD ? Hlp_PROFILE_Record : + NULL); /***** Start table *****/ - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,"
"); /***** Institution and user's photo *****/ fprintf (Gbl.F.Out,"");