diff --git a/config/env/torrents.js b/config/env/torrents.js index 94cc37ab..8835eaea 100644 --- a/config/env/torrents.js +++ b/config/env/torrents.js @@ -1160,7 +1160,7 @@ module.exports = { * @resourcesLanguage: settings for language of dropdown resource info */ tmdbConfig: { - key: 'this is access key from tmdb', + key: '7888f0042a366f63289ff571b68b7ce0', tmdbHome: 'https://www.themoviedb.org', tmdbMovieLinkUrl: 'https://www.themoviedb.org/movie/', tmdbTvserialLinkUrl: 'https://www.themoviedb.org/tv/', diff --git a/modules/core/client/app/trans-string-en.js b/modules/core/client/app/trans-string-en.js index 0ef37a7f..60f31aae 100644 --- a/modules/core/client/app/trans-string-en.js +++ b/modules/core/client/app/trans-string-en.js @@ -537,7 +537,7 @@ TORRENTS_SUBMIT_UPLOAD: '8. Agree the rules and submit your resources', SUBMIT_BUTTON: 'OK, SUBMIT NOW', CANCEL_BUTTON: 'NO, CANCEL IT', - AGREE_RULES: 'I agree and already read all the rules, read here', + AGREE_RULES: 'I agree and already read all the rules, read here', DOWNLOAD_TORRENT: 'Download Torrent', ENTER_MUSIC_TITLE: '3. Please enter the artist name and music/album title', diff --git a/modules/core/client/app/trans-string-zh.js b/modules/core/client/app/trans-string-zh.js index 0812821d..f2b1012e 100644 --- a/modules/core/client/app/trans-string-zh.js +++ b/modules/core/client/app/trans-string-zh.js @@ -537,7 +537,7 @@ TORRENTS_SUBMIT_UPLOAD: '8. 同意上传协议,并提交', SUBMIT_BUTTON: '已备妥,现在提交', CANCEL_BUTTON: '算了,以后再说', - AGREE_RULES: '我已阅读并同意站内所有协议条款,协议条款', + AGREE_RULES: '我已阅读并同意站内所有协议条款,协议条款', DOWNLOAD_TORRENT: '下载种子', ENTER_MUSIC_TITLE: '3. 请输入艺人名称和音乐/专辑标题', diff --git a/modules/torrents/client/controllers/uploads.client.controller.js b/modules/torrents/client/controllers/uploads.client.controller.js index 0b45ace3..1e3d1e86 100644 --- a/modules/torrents/client/controllers/uploads.client.controller.js +++ b/modules/torrents/client/controllers/uploads.client.controller.js @@ -491,6 +491,8 @@ * createMovieTorrent */ vm.createMovieTorrent = function () { + vm.isCreating = true; + var l = vm.getTorrentSize(); var t = vm.getResourceTag(); @@ -517,10 +519,12 @@ }); function successCallback(res) { + vm.isCreating = false; vm.showUploadedPopup(res); } function errorCallback(res) { + vm.isCreating = false; vm.error_msg = res.data.message; Notification.error({message: res.data.message, title: ' Torrent created error!'}); } @@ -530,6 +534,8 @@ * createTvTorrent */ vm.createTVTorrent = function () { + vm.isCreating = true; + var l = vm.getTorrentSize(); var t = vm.getResourceTag(); @@ -558,10 +564,12 @@ }); function successCallback(res) { + vm.isCreating = false; vm.showUploadedPopup(res); } function errorCallback(res) { + vm.isCreating = false; vm.error_msg = res.data.message; Notification.error({message: res.data.message, title: ' Torrent created error!'}); } @@ -571,6 +579,8 @@ * createCustomTorrentTorrent */ vm.createCustomTorrentTorrent = function () { + vm.isCreating = true; + var l = vm.getTorrentSize(); var t = vm.getResourceTag(); @@ -620,10 +630,12 @@ }); function successCallback(res) { + vm.isCreating = false; vm.showUploadedPopup(res); } function errorCallback(res) { + vm.isCreating = false; vm.error_msg = res.data.message; Notification.error({message: res.data.message, title: ' Torrent created error!'}); } diff --git a/modules/torrents/client/views/uploads-torrents.client.view.html b/modules/torrents/client/views/uploads-torrents.client.view.html index 1670028b..8660770e 100644 --- a/modules/torrents/client/views/uploads-torrents.client.view.html +++ b/modules/torrents/client/views/uploads-torrents.client.view.html @@ -94,9 +94,13 @@
-