Skip to content
Snippets Groups Projects
Commit 9e1c49e3 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

forum: fix alignment of handle and icon, fixes #2263

Closes #2263

Merge request studip/studip!1495
parent aefa4f42
No related branches found
No related tags found
No related merge requests found
......@@ -8,13 +8,11 @@
<? if ($entry['chdate'] >= $visitdate && $entry['user_id'] !== $GLOBALS['user']->id): ?>
<?= Icon::create('forum', Icon::ROLE_ATTENTION)->asImg([
'title' => _('Dieser Eintrag ist neu!'),
'style' => 'margin-bottom: 15px',
]) ?>
<? else : ?>
<? $num_postings = ForumVisit::getCount($entry['topic_id'], $visitdate) ?>
<?= Icon::create('forum', $num_postings > 0 ? Icon::ROLE_ATTENTION : Icon::ROLE_INFO)->asImg([
'title' => ForumHelpers::getVisitText($num_postings, $entry['topic_id'], $constraint['depth']),
'style' => 'margin-bottom: 15px;',
]) ?>
<? endif ?>
</a>
......
......@@ -150,7 +150,10 @@ html.no-js #forum {
height: 50px;
white-space: nowrap;
text-align: center;
vertical-align: middle;
* {
vertical-align: middle;
}
}
.icon_thread {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment