diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index c5ec3fd58..c2a8110d9 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -278,6 +278,10 @@ common/views/components/connect-failed.troubleshooter.vue: flush: "キャッシュの削除" set-version: "バージョン指定" +common/views/components/media-banner.vue: + sensitive: "閲覧注意" + click-to-show: "クリックして表示" + common/views/components/cw-button.vue: hide: "隠す" show: "もっと見る" diff --git a/src/client/app/common/views/components/media-banner.vue b/src/client/app/common/views/components/media-banner.vue new file mode 100644 index 000000000..0693143f0 --- /dev/null +++ b/src/client/app/common/views/components/media-banner.vue @@ -0,0 +1,89 @@ + + + + %fa:exclamation-triangle% + %i18n:@sensitive% + %i18n:@click-to-show% + + + + + + %fa:download% + {{ media.name }} + + + + + + + diff --git a/src/client/app/common/views/components/media-list.vue b/src/client/app/common/views/components/media-list.vue index cdfc2c8d3..d83d6f85c 100644 --- a/src/client/app/common/views/components/media-list.vue +++ b/src/client/app/common/views/components/media-list.vue @@ -1,18 +1,27 @@ - - - - - + + + + + + + + + + diff --git a/src/client/app/desktop/views/components/media-image.vue b/src/client/app/desktop/views/components/media-image.vue index 66ac389f6..3cff8cfc0 100644 --- a/src/client/app/desktop/views/components/media-image.vue +++ b/src/client/app/desktop/views/components/media-image.vue @@ -89,7 +89,7 @@ export default Vue.extend({ text-align center font-size 12px - > b + > * display block diff --git a/src/client/app/desktop/views/components/media-video.vue b/src/client/app/desktop/views/components/media-video.vue index 6c60f2da9..d2752b0c9 100644 --- a/src/client/app/desktop/views/components/media-video.vue +++ b/src/client/app/desktop/views/components/media-video.vue @@ -79,7 +79,6 @@ export default Vue.extend({ justify-content center align-items center font-size 3.5em - cursor zoom-in overflow hidden background-position center @@ -101,5 +100,4 @@ export default Vue.extend({ > b display block - diff --git a/src/client/app/mobile/views/components/media-image.vue b/src/client/app/mobile/views/components/media-image.vue index 65ea6cf8e..e38cef06b 100644 --- a/src/client/app/mobile/views/components/media-image.vue +++ b/src/client/app/mobile/views/components/media-image.vue @@ -65,7 +65,7 @@ export default Vue.extend({ text-align center font-size 12px - > b + > * display block