minor fixes

This commit is contained in:
Dro1d.Ru 2018-06-09 17:35:15 +05:00
parent ee7df7710d
commit 5b050daeb8
5 changed files with 18 additions and 3 deletions

View file

@ -32,7 +32,7 @@
/**
* gallery
*/
if ($('.container #content ul.gallery li').length>2) {
if ($('.container #content ul.gallery li').length>1) {
zira_init_gallery();
$(window).resize(zira_init_gallery);
}

View file

@ -1876,6 +1876,11 @@ a.scroll-top.visible:visited {
.list .list-item a.list-thumb:visited {
float: none;
}
.list .list-info-wrapper .list-info.comments-count,
.list .list-info-wrapper .list-info.likes-count,
.list .list-info-wrapper .list-info.counter {
display: none;
}
.compose-message-btn {
float: none;
}

View file

@ -2422,6 +2422,11 @@ ul.vote-results li .vote-result {
.list .list-item a.list-thumb:visited {
float: none;
}
.list .list-info-wrapper .list-info.comments-count,
.list .list-info-wrapper .list-info.likes-count,
.list .list-info-wrapper .list-info.counter {
display: none;
}
.record_fields_tabs_wrapper .nav-tabs>li.active>a,
.record_fields_tabs_wrapper .nav-tabs>li.active>a:focus,
.record_fields_tabs_wrapper .nav-tabs>li.active>a:hover {

View file

@ -1935,6 +1935,11 @@ a.scroll-top.visible:visited {
.list .list-item a.list-thumb:visited {
float: none;
}
.list .list-info-wrapper .list-info.comments-count,
.list .list-info-wrapper .list-info.likes-count,
.list .list-info-wrapper .list-info.counter {
display: none;
}
.compose-message-btn {
float: none;
}

View file

@ -37,7 +37,7 @@
<?php if ($item->last_user_id && $item->user_username): ?>
<span class="list-info author"><span class="glyphicon glyphicon-user"></span> <?php echo Zira\User::generateUserProfileLink($item->last_user_id, $item->user_firstname, $item->user_secondname, $item->user_username) ?></span>
<?php endif; ?>
<span class="list-info counter"><span class="glyphicon glyphicon-comment"></span> <?php echo Zira\Helper::html(tm('Messages: %s', 'forum', $item->messages)) ?></span>
<span class="list-info counter" title="<?php echo Zira\Helper::html(tm('Messages: %s', 'forum', $item->messages)) ?>"><span class="glyphicon glyphicon-comment"></span> <?php echo Zira\Helper::html($item->messages) ?></span>
<?php if (!empty($limit)): ?>
<span class="list-info link"><span class="glyphicon glyphicon-share-alt"></span> <?php echo Zira\Helper::tag('a', tm('Last page', 'forum'), array('href'=>Zira\Helper::html(Zira\Helper::url(Forum\Models\Topic::generateUrl($item)).'?page='.(ceil($item->messages/$limit))))) ?></span>
<?php endif; ?>
@ -64,7 +64,7 @@
<?php if ($item->last_user_id && $item->user_username): ?>
<span class="list-info author"><span class="glyphicon glyphicon-user"></span> <?php echo Zira\User::generateUserProfileLink($item->last_user_id, $item->user_firstname, $item->user_secondname, $item->user_username) ?></span>
<?php endif; ?>
<span class="list-info counter"><span class="glyphicon glyphicon-comment"></span> <?php echo Zira\Helper::html(tm('Messages: %s', 'forum', $item->messages)) ?></span>
<span class="list-info counter" title="<?php echo Zira\Helper::html(tm('Messages: %s', 'forum', $item->messages)) ?>"><span class="glyphicon glyphicon-comment"></span> <?php echo Zira\Helper::html($item->messages) ?></span>
<?php if (!empty($limit)): ?>
<span class="list-info link"><span class="glyphicon glyphicon-share-alt"></span> <?php echo Zira\Helper::tag('a', tm('Last page', 'forum'), array('href'=>Zira\Helper::html(Zira\Helper::url(Forum\Models\Topic::generateUrl($item)).'?page='.(ceil($item->messages/$limit))))) ?></span>
<?php endif; ?>