diff --git a/swad_action.c b/swad_action.c index 1b20df020..2fdd2dbf4 100644 --- a/swad_action.c +++ b/swad_action.c @@ -2482,7 +2482,7 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = /* ActSeeUsrAgd */{1611,-1,TabUnk,ActLstTch ,0x3F8,0x3C4,0x3C4,0x3C4,0x3C4,0x3C4,0x3C4,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Agd_ShowUsrAgenda ,NULL}, /* ActReqEnrSevStd */{1426,-1,TabUnk,ActLstStd ,0x3E0,0x3C0, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Enr_ReqAdminStds ,NULL}, - /* ActReqEnrSevNEdTch*/{1642,-1,TabUnk,ActLstTch ,0x3C0,0x3C0, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Enr_ReqAdminNonEditingTchs ,NULL}, + /* ActReqEnrSevNET */{1642,-1,TabUnk,ActLstTch ,0x3C0,0x3C0, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Enr_ReqAdminNonEditingTchs ,NULL}, /* ActReqEnrSevTch */{1427,-1,TabUnk,ActLstTch ,0x3C0,0x3C0, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Enr_ReqAdminTchs ,NULL}, /* ActReqLstStdAtt */{1073,-1,TabUnk,ActSeeAtt ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Usr_ReqListStdsAttendanceCrs ,NULL}, diff --git a/swad_changelog.h b/swad_changelog.h index f1c0d3d73..2d594bd9e 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -235,13 +235,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.226 (2017-05-29)" +#define Log_PLATFORM_VERSION "SWAD 16.226.1 (2017-05-29)" #define CSS_FILE "swad16.226.css" #define JS_FILE "swad16.206.3.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.226.1: May 29, 2017 Changes in contextual links related to users enrolment. (220637 lines) Version 16.226: May 29, 2017 Code refactoring in buttons. (220607 lines) Version 16.225.12:May 29, 2017 Button to register students in connected and requests. (220587 lines) Version 16.225.11:May 29, 2017 Button to register students everytime an alert with no students in course is displayed. (220581 lines) diff --git a/swad_enrolment.c b/swad_enrolment.c index af8db626f..ad3063485 100644 --- a/swad_enrolment.c +++ b/swad_enrolment.c @@ -643,14 +643,34 @@ static void Enr_ShowFormRegRemSeveralUsrs (Rol_Role_t Role) const char *Title; /***** Put contextual links *****/ - if (Role == Rol_STD && // Users to admin: students - Gbl.CurrentCrs.Crs.CrsCod > 0 && // Course selected - Gbl.CurrentCrs.Crs.NumUsrs[Rol_STD]) // This course has students + if (Gbl.CurrentCrs.Crs.CrsCod > 0) // Course selected { fprintf (Gbl.F.Out,"