Version 16.71.2

This commit is contained in:
Antonio Cañas Vargas 2016-11-25 10:19:27 +01:00
parent 1d090af5bd
commit 7657843d96
2 changed files with 4 additions and 3 deletions

View File

@ -176,13 +176,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.71 (2016-11-25)"
#define Log_PLATFORM_VERSION "SWAD 16.71.2 (2016-11-25)"
#define CSS_FILE "swad16.69.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.71.2: Nov 25, 2016 Fix bug in shared record card. (207569 lines)
Version 16.71.1: Nov 25, 2016 Contextual help on test results. (207568 lines)
Version 16.71: Nov 25, 2016 Fixed bugs and changes in layout related with selection of groups. (207560 lines)
Version 16.70.5: Nov 24, 2016 Changes in layout of attendance list. (207549 lines)

View File

@ -2080,11 +2080,11 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
(IAmLoggedAsTeacher || IAmLoggedAsSysAdm) &&
UsrDat->RoleInCurrentCrsDB == Rol_STUDENT));
bool ShowTeacherRows = (((TypeOfView == Rec_SHA_MY_RECORD_FORM ||
TypeOfView == Rec_SHA_MY_RECORD_CHECK ||
TypeOfView == Rec_SHA_MY_RECORD_CHECK) &&
(UsrDat->Roles & (1 << Rol_TEACHER))) || // He/she (me, really) is a teacher in any course
((TypeOfView == Rec_SHA_RECORD_LIST ||
TypeOfView == Rec_SHA_RECORD_PRINT) &&
UsrDat->RoleInCurrentCrsDB == Rol_TEACHER))); // He/she is a teacher in the current course
UsrDat->RoleInCurrentCrsDB == Rol_TEACHER)); // He/she is a teacher in the current course
struct Instit Ins;
/***** Initializations *****/