Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bunnybeam
Sharkey
Commits
8310d929
Commit
8310d929
authored
1 year ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
enhance(frontend): 閲覧注意設定された画像は表示した状態でもそれが閲覧注意だと分かる表示をするように
parent
963aa493
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
packages/frontend/src/components/MkMediaImage.vue
+1
-0
1 addition, 0 deletions
packages/frontend/src/components/MkMediaImage.vue
with
2 additions
and
0 deletions
CHANGELOG.md
+
1
−
0
View file @
8310d929
...
...
@@ -48,6 +48,7 @@
*
絵文字ピッカーから入力可能になります
-
データセーバーモードを追加
*
画像が全て隠れた状態で表示されるようになります
-
閲覧注意設定された画像は表示した状態でもそれが閲覧注意だと分かる表示をするように
-
1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にするように
-
プロフィール設定「追加情報」の項目の削除と並び替えができるように
-
新しい実績を追加
...
...
This diff is collapsed.
Click to expand it.
packages/frontend/src/components/MkMediaImage.vue
+
1
−
0
View file @
8310d929
...
...
@@ -20,6 +20,7 @@
<
div
:
class
=
"
$style.indicators
"
>
<
div
v
-
if
=
"
['image/gif', 'image/apng'].includes(image.type)
"
:
class
=
"
$style.indicator
"
>
GIF
<
/div
>
<
div
v
-
if
=
"
image.comment
"
:
class
=
"
$style.indicator
"
>
ALT
<
/div
>
<
div
v
-
if
=
"
image.isSensitive
"
:
class
=
"
$style.indicator
"
style
=
"
color: var(--warn);
"
>
NSFW
<
/div
>
<
/div
>
<
button
v
-
tooltip
=
"
i18n.ts.hide
"
:
class
=
"
$style.hide
"
class
=
"
_button
"
@
click
=
"
hide = true
"
><
i
class
=
"
ti ti-eye-off
"
><
/i></
button
>
<
/div
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment