Skip to content

Commit

Permalink
Merge pull request #144 from Sayamame-beans/add-guideline-link
Browse files Browse the repository at this point in the history
Add guideline link
  • Loading branch information
anatawa12 authored Feb 17, 2024
2 parents 7329623 + e6809b8 commit 09351fd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
### Client
- センシティブチャンネルのNoteの畳まれ方がソフトミュートと同様になりました。
- このフォークへのリンクがmisskey標準のものに変更になりました。
- NSFWガイドラインへのリンクをメニューに追加しました。

### Server
- リモートユーザの削除が記録されないようになりました。
Expand Down
8 changes: 7 additions & 1 deletion packages/frontend/src/components/MkVisitorDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,13 @@ function showMenu(ev) {
action: () => {
window.open(instance.privacyPolicyUrl!, '_blank', 'noopener');
},
} : undefined, (!instance.impressumUrl && !instance.tosUrl && !instance.privacyPolicyUrl) ? undefined : { type: 'divider' }, {
} : undefined, {
text: 'NSFWガイドライン',
icon: 'ti ti-notebook',
action: () => {
window.open('https://kinel.notion.site/NSFW-39a3f0c8708e4e2594594a1c88099fe3', '_blank', 'noopener');
},
}, { type: 'divider' }, {
text: i18n.ts.help,
icon: 'ti ti-help-circle',
action: () => {
Expand Down
8 changes: 7 additions & 1 deletion packages/frontend/src/ui/_common_/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,13 @@ export function openInstanceMenu(ev: MouseEvent) {
action: () => {
window.open(instance.privacyPolicyUrl, '_blank', 'noopener');
},
} : undefined, (!instance.impressumUrl && !instance.tosUrl && !instance.privacyPolicyUrl) ? undefined : { type: 'divider' }, {
} : undefined, {
text: 'NSFWガイドライン',
icon: 'ti ti-notebook',
action: () => {
window.open('https://kinel.notion.site/NSFW-39a3f0c8708e4e2594594a1c88099fe3', '_blank', 'noopener');
},
}, { type: 'divider' }, {
text: i18n.ts.help,
icon: 'ti ti-help-circle',
action: () => {
Expand Down

0 comments on commit 09351fd

Please sign in to comment.