diff --git a/icon/heart-red.svg b/icon/heart-red.svg new file mode 100644 index 000000000..b5f0f4306 --- /dev/null +++ b/icon/heart-red.svg @@ -0,0 +1 @@ + diff --git a/swad_changelog.h b/swad_changelog.h index cac345659..bcfaefac7 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -353,7 +353,6 @@ Buenos d // TODO: Mensajes > Anuncios cuando no estás identificado, deberían salir algunos, ¿por qué no indicar que se muestren para todos? -// TODO: En el timeline, cambiar el icono de favorito de estrella a corazón (¿cambiar a "Me gusta"? // TODO: Actualizar ayuda en GitHub, por ejemplo Preferencias ahora es Ajustes. @@ -384,10 +383,14 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 18.34.1 (2019-02-11)" +#define Log_PLATFORM_VERSION "SWAD 18.34.2 (2019-02-11)" #define CSS_FILE "swad18.33.css" #define JS_FILE "swad18.32.1.js" /* + Version 18.34.2: Feb 11, 2019 Fav icon in timeline changed from star to heart. (239108 lines) + Copy the following icon to icon public directory: +sudo cp icon/heart-red.svg /var/www/html/swad/icon/ + Version 18.34.1: Feb 11, 2019 Fixed problem in students attendance. (239106 lines) Version 18.34: Feb 11, 2019 Fixed bug in test results. (239110 lines) Version 18.33.3: Feb 11, 2019 Changed Type to Role in some stats. (239093 lines) diff --git a/swad_social.c b/swad_social.c index 77f9c5b86..c5c3d32de 100644 --- a/swad_social.c +++ b/swad_social.c @@ -2690,7 +2690,7 @@ static void Soc_PutFormToFavSocialComment (long PubCod) Soc_FormStart (ActFavSocComGbl,ActFavSocComUsr); Soc_PutHiddenParamPubCod (PubCod); Ico_PutDivIconLink ("SOCIAL_ICO_FAV", - "star.svg",Txt_Mark_as_favourite); + "heart.svg",Txt_Mark_as_favourite); Frm_EndForm (); } @@ -2735,7 +2735,7 @@ static void Soc_PutDisabledIconFav (unsigned NumFavs) /***** Disabled icon to mark as favourite *****/ Ico_PutDivIcon ("SOCIAL_ICO_FAV_DISABLED", - "star.svg",Gbl.Title); + "heart.svg",Gbl.Title); } /*****************************************************************************/ @@ -2768,7 +2768,7 @@ static void Soc_PutFormToFavSocialNote (long NotCod) Soc_FormStart (ActFavSocNotGbl,ActFavSocNotUsr); Soc_PutHiddenParamNotCod (NotCod); Ico_PutDivIconLink ("SOCIAL_ICO_FAV", - "star.svg",Txt_Mark_as_favourite); + "heart.svg",Txt_Mark_as_favourite); Frm_EndForm (); } @@ -2802,7 +2802,7 @@ static void Soc_PutFormToUnfavSocialNote (long NotCod) Soc_FormStart (ActUnfSocNotGbl,ActUnfSocNotUsr); Soc_PutHiddenParamNotCod (NotCod); Ico_PutDivIconLink ("SOCIAL_ICO_FAV", - "star-yellow.svg",Txt_SOCIAL_NOTE_Favourite); + "heart-red.svg",Txt_SOCIAL_NOTE_Favourite); Frm_EndForm (); } @@ -2819,7 +2819,7 @@ static void Soc_PutFormToUnfavSocialComment (long PubCod) Soc_FormStart (ActUnfSocComGbl,ActUnfSocComUsr); Soc_PutHiddenParamPubCod (PubCod); Ico_PutDivIconLink ("SOCIAL_ICO_FAV", - "star-yellow.svg",Txt_SOCIAL_NOTE_Favourite); + "heart-red.svg",Txt_SOCIAL_NOTE_Favourite); Frm_EndForm (); }