feat(forums): readonly string

This commit is contained in:
OldHawk
2017-08-03 13:54:52 +08:00
parent e99835e480
commit dfffcb8a09
5 changed files with 8 additions and 2 deletions

View File

@@ -135,6 +135,10 @@
}
}
.readonly {
cursor: pointer;
}
.post-list {
padding-bottom: 20px;
.pagination {

View File

@@ -27,7 +27,7 @@
<div class="forum-info">
<h4><a ui-sref="forums.view({ forumId: f._id})">{{f.name}}</a>
<small class="badge badge_default" ng-show="f.readOnly">R</small>
<small class="badge badge_default readonly" title="{{'FORUMS.TITLE_READONLY' | translate}}" ng-show="f.readOnly">R</small>
<span class="today-new-count" ng-if="vm.getTodayNewCount(f);" ng-bind-html="vm.getTodayNewCount(f);"></span>
</h4>

View File

@@ -127,7 +127,7 @@
<i class="fa fa-paperclip fa-lg" aria-hidden="true"
title="{{'FORUMS.TITLES.HAS_ATTACH' | translate}}"
ng-show="vm.hasAttach(t);"></i>
<small class="badge badge_default" ng-show="t.readOnly">R</small>
<small class="badge badge_default readonly" title="{{'FORUMS.TITLE_READONLY' | translate}}" ng-show="t.readOnly">R</small>
</p>
<p class="topic-by small">