mirror of https://github.com/acanas/swad-core.git
Version 21.93.2: Apr 22, 2022 Working on design of dark theme.
This commit is contained in:
parent
1267dcc9d4
commit
3258c5c4d0
|
@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
|||
|
||||
TODO: Attach pdf files in multimedia.
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 21.93.1 (2022-04-21)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 21.93.2 (2022-04-22)"
|
||||
#define CSS_FILE "swad21.93.1.css"
|
||||
#define JS_FILE "swad21.92.js"
|
||||
/*
|
||||
Version 21.93.2: Apr 22, 2022 Working on design of dark theme. (323277 lines)
|
||||
Version 21.93.1: Apr 21, 2022 Working on design of dark theme. (323269 lines)
|
||||
Version 21.93: Apr 21, 2022 Homogenization of lists in forums, chat and my courses. (323245 lines)
|
||||
Version 21.92: Apr 20, 2022 Default theme is white when printing. (323246 lines)
|
||||
|
|
|
@ -453,26 +453,26 @@ void Ntf_ShowMyNotifications (void)
|
|||
|
||||
if (Status & Ntf_STATUS_BIT_REMOVED) // The source of the notification was removed
|
||||
{
|
||||
ClassTxt = "MSG_TIT_REM";
|
||||
ClassLink = "BT_LINK MSG_TIT_REM";
|
||||
ClassAuthor = "MSG_AUT_LIGHT";
|
||||
ClassBg = "MSG_BG_REM";
|
||||
ClassTxt = "MSG_TIT_REM";
|
||||
ClassLink = "BT_LINK MSG_TIT_REM";
|
||||
ClassAuthor = "MSG_AUT_LIGHT";
|
||||
ClassBg = "MSG_BG_REM";
|
||||
PutLink = false;
|
||||
}
|
||||
else if (Status & Ntf_STATUS_BIT_READ) // I have already seen the source of the notification
|
||||
{
|
||||
ClassTxt = "MSG_TIT";
|
||||
ClassLink = "BT_LINK LT MSG_TIT";
|
||||
ClassAuthor = "MSG_AUT";
|
||||
ClassBg = "MSG_BG";
|
||||
ClassTxt = "MSG_TIT";
|
||||
ClassLink = "LT BT_LINK MSG_TIT";
|
||||
ClassAuthor = "MSG_AUT";
|
||||
ClassBg = "MSG_BG";
|
||||
PutLink = true;
|
||||
}
|
||||
else // I have not seen the source of the notification
|
||||
{
|
||||
ClassTxt = "MSG_TIT_NEW";
|
||||
ClassLink = "BT_LINK LT MSG_TIT_NEW";
|
||||
ClassAuthor = "MSG_AUT_NEW";
|
||||
ClassBg = "MSG_BG_NEW";
|
||||
ClassTxt = "MSG_TIT_NEW";
|
||||
ClassLink = "LT BT_LINK MSG_TIT_NEW";
|
||||
ClassAuthor = "MSG_AUT_NEW";
|
||||
ClassBg = "MSG_BG_NEW";
|
||||
PutLink = true;
|
||||
}
|
||||
|
||||
|
@ -502,7 +502,8 @@ void Ntf_ShowMyNotifications (void)
|
|||
{
|
||||
PutLink = Ntf_StartFormGoToAction (NotifyEvent,Hie.Crs.CrsCod,&UsrDat,Cod,&Forums);
|
||||
HTM_BUTTON_Submit_Begin (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],
|
||||
"class=\"%s\"",ClassLink);
|
||||
"class=\"%s_%s\"",
|
||||
ClassLink,The_GetSuffix ());
|
||||
HTM_Txt (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent]);
|
||||
HTM_BUTTON_End ();
|
||||
Frm_EndForm ();
|
||||
|
@ -533,9 +534,11 @@ void Ntf_ShowMyNotifications (void)
|
|||
|
||||
if (PutLink)
|
||||
HTM_BUTTON_Submit_Begin (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],
|
||||
"class=\"%s\"",ClassLink);
|
||||
"class=\"%s_%s\"",
|
||||
ClassLink,The_GetSuffix ());
|
||||
else
|
||||
HTM_SPAN_Begin ("class=\"%s\"",ClassTxt);
|
||||
HTM_SPAN_Begin ("class=\"%s_%s\"",
|
||||
ClassTxt,The_GetSuffix ());
|
||||
HTM_TxtF ("%s: %s",Txt_Forum,ForumName);
|
||||
if (PutLink)
|
||||
{
|
||||
|
@ -552,9 +555,11 @@ void Ntf_ShowMyNotifications (void)
|
|||
|
||||
if (PutLink)
|
||||
HTM_BUTTON_Submit_Begin (Txt_NOTIFY_EVENTS_SINGULAR[NotifyEvent],
|
||||
"class=\"%s\"",ClassLink);
|
||||
"class=\"%s_%s\"",
|
||||
ClassLink,The_GetSuffix ());
|
||||
else
|
||||
HTM_SPAN_Begin ("class=\"%s\"",ClassTxt);
|
||||
HTM_SPAN_Begin ("class=\"%s_%s\"",
|
||||
ClassTxt,The_GetSuffix ());
|
||||
|
||||
if (Hie.Crs.CrsCod > 0)
|
||||
HTM_TxtF ("%s: %s",Txt_Course,Hie.Crs.ShrtName);
|
||||
|
@ -581,7 +586,9 @@ void Ntf_ShowMyNotifications (void)
|
|||
Msg_WriteMsgDate (DateTimeUTC,ClassTxt,ClassBg);
|
||||
|
||||
/* Write status (sent by email / pending to be sent by email) */
|
||||
HTM_TD_Begin ("class=\"LT %s_%s\"",ClassBg,The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"LT %s_%s %s_%s\"",
|
||||
ClassTxt,The_GetSuffix (),
|
||||
ClassBg,The_GetSuffix ());
|
||||
HTM_Txt (Txt_NOTIFICATION_STATUS[StatusTxt]);
|
||||
HTM_TD_End ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue