feat(forums): global search from forum at home

This commit is contained in:
OldHawk
2018-01-26 10:51:29 +08:00
parent 48d1c18cfa
commit a51142dc4d
6 changed files with 55 additions and 4 deletions

View File

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