feat(about): show torrent upload user maker group info in list page

This commit is contained in:
OldHawk
2017-10-22 01:20:09 +08:00
parent e3a1e6f77d
commit 3c7edac7f1
10 changed files with 13 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ module.exports = {
admin: 'admin@chd.im',
baseUrl: 'http://chd.im:3000',
clientBlackListUrl: '/about/black',
privateTorrentCmsMode: false
privateTorrentCmsMode: true
},
/**

View File

@@ -127,7 +127,7 @@
position: relative;
z-index: 100;
}
div {
.h3 {
color: #ddd;
position: relative;
z-index: 100;

View File

@@ -18,7 +18,9 @@
<div class="text-center group-item"
ui-sref="about.group({ makerId: m._id })"
ng-mouseenter="vm.spinCog($event, m.name)" ng-mouseleave="vm.stopCog($event, m.name)">
<div class="h3">{{m.name}}</div>
<div class="h3">
<span maker-info="m" info-class="h3"></span>
</div>
<span>{{'ABOUT.GROUP_FOUNDER' | translate}}</span>
<span info-class="h5" user-info="m.user" info-name></span>

View File

@@ -714,6 +714,7 @@
MESSAGE_TO_ICON_TITLE: 'Send a message to {{name}}',
USER_INFO_TITLE: 'user info of {{name}}',
MAKER_INFO_TITLE: 'maker group info of {{name}}',
USER_IS_VIP: '{{name}} is a VIP',
//traces

View File

@@ -714,6 +714,7 @@
MESSAGE_TO_ICON_TITLE: '给{{name}}发送站内消息',
USER_INFO_TITLE: '{{name}} 的用户信息',
MAKER_INFO_TITLE: '资源压制小组 [{{name}}]',
USER_IS_VIP: '{{name}} 是一个VIP用户',
//traces

View File

@@ -246,6 +246,7 @@
</td>
<td class="col-md-1 td-v-middle text-center td-uploader">
<span user-info="item.user" info-name></span>
<div maker-info="item.maker"></div>
<!--<span vip-flag="item.user"></span>-->
<!--<span message-to="item.user" to-class="message-to-icon"></span>-->
</td>

View File

@@ -444,6 +444,7 @@
<dd class="h-line">
<span user-info="vm.torrentLocalInfo.user" info-name></span>
<span vip-flag="vm.torrentLocalInfo.user"></span>
<span maker-info="vm.torrentLocalInfo.maker"></span>
<!--<span message-to="vm.torrentLocalInfo.user" to-class="message-to-icon"></span>-->
</dd>
@@ -783,6 +784,7 @@
</td>
<td class="col-md-1 td-v-middle text-center td-uploader">
<span user-info="item.user" info-name></span>
<div maker-info="item.maker"></div>
</td>
</tr>
</tbody>

View File

@@ -138,6 +138,7 @@
</td>
<td class="col-md-1 td-v-middle text-center td-uploader">
<span user-info="item.user" info-name></span>
<div maker-info="item.maker"></div>
<!--<span vip-flag="item.user"></span>-->
<!--<span message-to="item.user" to-class="message-to-icon"></span>-->
</td>

View File

@@ -138,6 +138,7 @@
</td>
<td class="col-md-1 td-v-middle text-center td-uploader">
<span user-info="item.user" info-name></span>
<div maker-info="item.maker"></div>
<!--<span vip-flag="item.user"></span>-->
<!--<span message-to="item.user" to-class="message-to-icon"></span>-->
</td>

View File

@@ -161,6 +161,7 @@
</td>
<td class="col-md-1 td-v-middle text-center td-uploader">
<span user-info="item.user" info-name></span>
<div maker-info="item.maker"></div>
<!--<span vip-flag="item.user"></span>-->
<!--<span message-to="item.user" to-class="message-to-icon"></span>-->
</td>