show video size in detail page

This commit is contained in:
OldHawk
2017-04-18 10:45:33 +08:00
parent fe9dfcd90c
commit bbaf40de59
3 changed files with 5 additions and 0 deletions

View File

@@ -115,6 +115,7 @@
TRANCKER_URL: 'Tracker 地址',
ATTRIBUTE_TAGS: '视频属性(标签)',
VIDEO_NFO: '视频 NFO',
VIDEO_SIZE: '视频文件大小',
UPLOAD_SUBTITLE: '上传字幕文件',
SUBTITLE_LIST: '字幕列表',
SUBTITLE_RULES: {

View File

@@ -115,6 +115,7 @@
TRANCKER_URL: 'Tracker Url',
ATTRIBUTE_TAGS: 'Video Attribute (tags)',
VIDEO_NFO: 'Video NFO',
VIDEO_SIZE: 'Video Size',
UPLOAD_SUBTITLE: 'Upload Subtitle files',
SUBTITLE_LIST: 'Subtitle list',
SUBTITLE_RULES: {

View File

@@ -148,6 +148,9 @@
<dt class="h-line">{{ 'TRANCKER_URL' | translate}}</dt>
<dd class="h-line">{{vm.torrentLocalInfo.torrent_announce}}</dd>
<dt class="h-line">{{ 'VIDEO_SIZE' | translate}}</dt>
<dd class="h-line">{{vm.torrentLocalInfo.torrent_size | bytes:2}}</dd>
<dt class="h-line">{{ 'ATTRIBUTE_TAGS' | translate}}</dt>
<dd class="h-line">
<div class="list-all-tags">