Version 16.201.4

This commit is contained in:
Antonio Cañas Vargas 2017-05-02 12:39:23 +02:00
parent 078b027c71
commit e180ec0900
2 changed files with 23 additions and 17 deletions

View File

@ -216,19 +216,18 @@
// TODO: Change numbers of notifications in program and database to match order in tabs
// TODO: Icon to view en "Fuente de información"
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.201.3 (2017-05-02)"
#define Log_PLATFORM_VERSION "SWAD 16.201.4 (2017-05-02)"
#define CSS_FILE "swad16.201.css"
#define JS_FILE "swad16.181.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.201.4: May 02, 2017 Icon to view course info when editing source of information. (218243 lines)
Version 16.201.3: May 02, 2017 Code refactoring in forums. (218237 lines)
Version 16.201.2: May 02, 2017 Code refactoring in messages. (218242 lines)
Version 16.201.1: May 02, 2017 Code refactoring in messages. (218241 lines)

View File

@ -298,6 +298,7 @@ extern const char *Hlp_ASSESSMENT_System_edit;
/*****************************************************************************/
static void Inf_PutButtonToEditInfo (void);
static void Inf_PutIconToViewInfo (void);
static void Inf_PutCheckboxForceStdsToReadInfo (bool MustBeRead);
static void Inf_PutCheckboxConfirmIHaveReadInfo (void);
static bool Inf_CheckIfIHaveReadInfo (void);
@ -465,6 +466,11 @@ static void Inf_PutButtonToEditInfo (void)
/************************ Put icon to edit course info ***********************/
/*****************************************************************************/
static void Inf_PutIconToViewInfo (void)
{
Lay_PutContextualIconToView (Inf_ActionsSeeInfo[Gbl.CurrentCrs.Info.Type],NULL);
}
void Inf_PutIconToEditInfo (void)
{
Lay_PutContextualIconToEdit (Inf_ActionsEditInfo[Gbl.CurrentCrs.Info.Type],NULL);
@ -1104,7 +1110,8 @@ void Inf_FormsToSelSendInfo (void)
/***** Form to choice between alternatives *****/
/* Start of table */
Lay_StartRoundFrameTable (NULL,Txt_Source_of_information,
NULL,HelpEdit[Gbl.CurrentCrs.Info.Type],4);
Inf_PutIconToViewInfo,
HelpEdit[Gbl.CurrentCrs.Info.Type],4);
/* Options */
for (InfoSrc = (Inf_InfoSrc_t) 0;