mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-16 04:12:19 +01:00
feat(forums): readonly string
This commit is contained in:
@@ -690,6 +690,7 @@
|
||||
DELETE_REPLY_CONFIRM_BODY_TEXT: 'Are you sure want to delete this reply?',
|
||||
READ_ONLY_POST: '*** Readonly forum, cannot to post topic!',
|
||||
READ_ONLY_REPLY: '*** Readonly topic, cannot to post reply!',
|
||||
TITLE_READONLY: 'readonly',
|
||||
TODAY_NEW_COUNT_ALL: '(Today: <mark class="text-danger">{{topic}}</mark> topics, <mark class="text-danger">{{reply}}</mark> replies)',
|
||||
TODAY_NEW_COUNT_TOPIC: '(Today: <mark class="text-danger">{{topic}}</mark> topics)',
|
||||
TODAY_NEW_COUNT_REPLY: '(Today: <mark class="text-danger">{{reply}}</mark> replies)',
|
||||
|
||||
@@ -690,6 +690,7 @@
|
||||
DELETE_REPLY_CONFIRM_BODY_TEXT: '您确定要删除这条回复?',
|
||||
READ_ONLY_POST: '*** 只读版块,不能发表话题!',
|
||||
READ_ONLY_REPLY: '*** 只读话题,不能发表回复!',
|
||||
TITLE_READONLY: '只读',
|
||||
TODAY_NEW_COUNT_ALL: '(今日: <mark class="text-danger">{{topic}}</mark> 话题, <mark class="text-danger">{{reply}}</mark> 回复)',
|
||||
TODAY_NEW_COUNT_TOPIC: '(今日: <mark class="text-danger">{{topic}}</mark> 话题)',
|
||||
TODAY_NEW_COUNT_REPLY: '(今日: <mark class="text-danger">{{reply}}</mark> 回复)',
|
||||
|
||||
@@ -135,6 +135,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.readonly {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.post-list {
|
||||
padding-bottom: 20px;
|
||||
.pagination {
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user