Version 15.212.6

This commit is contained in:
Antonio Cañas Vargas 2016-05-30 19:36:49 +02:00
parent dda4256ef2
commit 6ff7e4c406
2 changed files with 17 additions and 7 deletions

View File

@ -140,13 +140,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.212.5 (2016-05-30)"
#define Log_PLATFORM_VERSION "SWAD 15.212.6 (2016-05-30)"
#define CSS_FILE "swad15.210.css"
#define JS_FILE "swad15.197.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 15.212.6: May 30, 2016 Link to list courses of degree in degree configuration. (201539 lines)
Version 15.212.5: May 30, 2016 Fixed bug in number of courses of a degree. (201531 lines)
Version 15.212.4: May 30, 2016 Changed links from external degrees to internal degrees in STATS > Degrees. (201529 lines)
Version 15.212.3: May 30, 2016 Fixed bug in test question. A student can see now his/her test results. (201522 lines)

View File

@ -289,6 +289,7 @@ static void Deg_Configuration (bool PrintView)
{
extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *Txt_Courses;
extern const char *Txt_Courses_of_DEGREE_X;
extern const char *Txt_Degree;
extern const char *Txt_Short_name;
extern const char *Txt_Web;
@ -416,13 +417,21 @@ static void Deg_Configuration (bool PrintView)
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"</td>"
"<td class=\"DAT LEFT_MIDDLE\">"
"%u"
"</td>"
"</tr>",
"<td class=\"LEFT_MIDDLE\">",
The_ClassForm[Gbl.Prefs.Theme],
Txt_Courses,
Txt_Courses);
/* Form to go to see courses of this degree */
Act_FormGoToStart (ActSeeCrs);
Deg_PutParamDegCod (Gbl.CurrentDeg.Deg.DegCod);
sprintf (Gbl.Title,Txt_Courses_of_DEGREE_X,Gbl.CurrentDeg.Deg.ShortName);
Act_LinkFormSubmit (Gbl.Title,"DAT");
fprintf (Gbl.F.Out,"%u</a>",
Crs_GetNumCrssInDeg (Gbl.CurrentDeg.Deg.DegCod));
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>"
"</tr>");
/***** Number of teachers *****/
fprintf (Gbl.F.Out,"<tr>"
@ -751,7 +760,7 @@ void Deg_WriteHierarchyBreadcrumb (void)
/***** Separator *****/
fprintf (Gbl.F.Out,"<span class=\"%s\"> &gt; </span>",ClassOn);
/***** Form to go see courses of this degree *****/
/***** Form to go to see courses of this degree *****/
Act_FormGoToStart (ActSeeCrs);
Deg_PutParamDegCod (Gbl.CurrentDeg.Deg.DegCod);
Act_LinkFormSubmit (Gbl.CurrentDeg.Deg.FullName,ClassOn);