Skip to content
Snippets Groups Projects
Commit 79a5700c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Usability improvement: made the markers easier to understand.

parent 4650917c
No related branches found
No related tags found
No related merge requests found
......@@ -739,8 +739,13 @@ function theme_block($block) {
*/
function theme_mark($type = MARK_NEW) {
global $user;
if ($user->uid && $type != MARK_READ) {
return '<span class="marker">*</span>';
if ($user->uid) {
if ($type == MARK_NEW) {
return '<span class="marker">'. t('new') .'</span>';
}
else if ($type == MARK_UPDATED) {
return '<span class="marker">'. t('updated') .'</span>';
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment