Skip to content

Commit

Permalink
admin/drive NSFW flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Feb 23, 2022
1 parent ea55be7 commit 8831a74
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ common:
favoriteReactions: "Favorite reactions"
mostReacteds: "Most reacteds"
frequently-replied-users: "Frequent mentions"
host: "Host"

favorites: "Favorites"
noteReactions: "Reacted notes"
Expand Down
1 change: 1 addition & 0 deletions locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ common:
favoriteReactions: "よくするリアクション"
mostReacteds: "よくされるリアクション"
frequently-replied-users: "よく話すユーザー"
host: "ホスト"

favorites: "お気に入り"
noteReactions: "リアクションした投稿"
Expand Down
6 changes: 5 additions & 1 deletion src/client/app/admin/views/drive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<option value="remote">{{ $t('origin.remote') }}</option>
</ui-select>
<ui-input v-model="hostname" type="text" spellcheck="false" :disabled="origin === 'local'">
<span>{{ $t('host') }}</span>
<span>{{ $t('@.host') }}</span>
</ui-input>
</ui-horizon-group>
<sequential-entrance animation="entranceFromTop" delay="25">
Expand All @@ -38,6 +38,7 @@
</div>
<div>
<header>
<span class="sensitive" v-if="file.isSensitive"><fa :icon="faEyeSlash"/></span>
<b>{{ file.name }}</b>
<span class="username">@{{ file.user | acct }}</span>
</header>
Expand Down Expand Up @@ -248,6 +249,9 @@ export default Vue.extend({
> header
word-break break-word
> .sensitive
margin-right 8px
> .username
margin-left 8px
opacity 0.7
Expand Down

0 comments on commit 8831a74

Please sign in to comment.