Skip to content

Commit

Permalink
CSS: Add text-small to time-since, -until and -ago
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 24, 2015
1 parent cde0027 commit 27f3dd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/Icinga/Web/View/helpers/format.php
Expand Up @@ -43,7 +43,7 @@
return '';
}
return sprintf(
'<span class="time-ago" title="%s">%s</span>',
'<span class="text-small time-ago" title="%s">%s</span>',
DateFormatter::formatDateTime($time),
DateFormatter::timeAgo($time, $timeOnly)
);
Expand All @@ -54,7 +54,7 @@
return '';
}
return sprintf(
'<span class="time-since" title="%s">%s</span>',
'<span class="text-small time-since" title="%s">%s</span>',
DateFormatter::formatDateTime($time),
DateFormatter::timeSince($time, $timeOnly)
);
Expand All @@ -65,7 +65,7 @@
return '';
}
return sprintf(
'<span class="time-until" title="%s">%s</span>',
'<span class="text-small time-until" title="%s">%s</span>',
DateFormatter::formatDateTime($time),
DateFormatter::timeUntil($time, $timeOnly)
);
Expand Down

0 comments on commit 27f3dd9

Please sign in to comment.