diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-06-21 18:11:47 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-06-22 15:53:13 +0100 |
| commit | 0b72513ce57a67f1d9532f78173291ded36b265c (patch) | |
| tree | 175e4c5bfe689cd4aee2aa14e9a48d36170f2c06 /packages/frontend/src | |
| parent | replaced ti-hourglass-empty and ti-search (diff) | |
| download | sharkey-0b72513ce57a67f1d9532f78173291ded36b265c.tar.gz sharkey-0b72513ce57a67f1d9532f78173291ded36b265c.tar.bz2 sharkey-0b72513ce57a67f1d9532f78173291ded36b265c.zip | |
replaced ti-external-link
Diffstat (limited to 'packages/frontend/src')
| -rw-r--r-- | packages/frontend/src/components/MkLink.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/components/MkPageWindow.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/components/MkSignupDialog.rules.vue | 6 | ||||
| -rw-r--r-- | packages/frontend/src/components/form/link.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/components/global/MkA.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/components/global/MkUrl.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/pages/admin-file.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/pages/admin/queue.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/pages/instance-info.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/pages/page-editor/page-editor.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 4 |
11 files changed, 14 insertions, 14 deletions
diff --git a/packages/frontend/src/components/MkLink.vue b/packages/frontend/src/components/MkLink.vue index 49cbacd1e8..18a979a157 100644 --- a/packages/frontend/src/components/MkLink.vue +++ b/packages/frontend/src/components/MkLink.vue @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only @click.stop > <slot></slot> - <i v-if="target === '_blank'" class="ph-arrow-square-out ph-bold ph-lg" :class="$style.icon"></i> + <i v-if="target === '_blank'" class="ti ti-external-link" :class="$style.icon"></i> </component> </template> diff --git a/packages/frontend/src/components/MkPageWindow.vue b/packages/frontend/src/components/MkPageWindow.vue index 1e293b6488..4d89a31439 100644 --- a/packages/frontend/src/components/MkPageWindow.vue +++ b/packages/frontend/src/components/MkPageWindow.vue @@ -121,7 +121,7 @@ const contextmenu = computed(() => ([{ text: i18n.ts.popout, action: popout, }, { - icon: 'ph-arrow-square-out ph-bold ph-lg', + icon: 'ti ti-external-link', text: i18n.ts.openInNewTab, action: () => { window.open(url + windowRouter.getCurrentPath(), '_blank', 'noopener'); diff --git a/packages/frontend/src/components/MkSignupDialog.rules.vue b/packages/frontend/src/components/MkSignupDialog.rules.vue index d1bb9e5fec..251c805401 100644 --- a/packages/frontend/src/components/MkSignupDialog.rules.vue +++ b/packages/frontend/src/components/MkSignupDialog.rules.vue @@ -34,8 +34,8 @@ SPDX-License-Identifier: AGPL-3.0-only <template #label>{{ tosPrivacyPolicyLabel }}</template> <template #suffix><i v-if="agreeTosAndPrivacyPolicy" class="ti ti-check" style="color: var(--success)"></i></template> <div class="_gaps_s"> - <div v-if="availableTos"><a :href="instance.tosUrl ?? undefined" class="_link" target="_blank">{{ i18n.ts.termsOfService }} <i class="ph-arrow-square-out ph-bold ph-lg"></i></a></div> - <div v-if="availablePrivacyPolicy"><a :href="instance.privacyPolicyUrl ?? undefined" class="_link" target="_blank">{{ i18n.ts.privacyPolicy }} <i class="ph-arrow-square-out ph-bold ph-lg"></i></a></div> + <div v-if="availableTos"><a :href="instance.tosUrl ?? undefined" class="_link" target="_blank">{{ i18n.ts.termsOfService }} <i class="ti ti-external-link"></i></a></div> + <div v-if="availablePrivacyPolicy"><a :href="instance.privacyPolicyUrl ?? undefined" class="_link" target="_blank">{{ i18n.ts.privacyPolicy }} <i class="ti ti-external-link"></i></a></div> </div> <MkSwitch :modelValue="agreeTosAndPrivacyPolicy" style="margin-top: 16px;" @update:modelValue="updateAgreeTosAndPrivacyPolicy">{{ i18n.ts.agree }}</MkSwitch> @@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template #label>{{ i18n.ts.basicNotesBeforeCreateAccount }}</template> <template #suffix><i v-if="agreeNote" class="ti ti-check" style="color: var(--success)"></i></template> - <a href="https://activitypub.software/TransFem-org/Sharkey/-/blob/stable/IMPORTANT_NOTES.md" class="_link" target="_blank">{{ i18n.ts.basicNotesBeforeCreateAccount }} <i class="ph-arrow-square-out ph-bold ph-lg"></i></a> + <a href="https://activitypub.software/TransFem-org/Sharkey/-/blob/stable/IMPORTANT_NOTES.md" class="_link" target="_blank">{{ i18n.ts.basicNotesBeforeCreateAccount }} <i class="ti ti-external-link"></i></a> <MkSwitch :modelValue="agreeNote" style="margin-top: 16px;" data-cy-signup-rules-notes-agree @update:modelValue="updateAgreeNote">{{ i18n.ts.agree }}</MkSwitch> </MkFolder> diff --git a/packages/frontend/src/components/form/link.vue b/packages/frontend/src/components/form/link.vue index e328192680..164606e1f9 100644 --- a/packages/frontend/src/components/form/link.vue +++ b/packages/frontend/src/components/form/link.vue @@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only <span :class="$style.text"><slot></slot></span> <span :class="$style.suffix"> <span :class="$style.suffixText"><slot name="suffix"></slot></span> - <i class="ph-arrow-square-out ph-bold ph-lg"></i> + <i class="ti ti-external-link"></i> </span> </a> <a v-else-if="onClick" :class="[$style.main, { [$style.active]: active }]" class="_button" :behavior="behavior" @click="onClick"> diff --git a/packages/frontend/src/components/global/MkA.vue b/packages/frontend/src/components/global/MkA.vue index 14fca5b858..7036ac5bb4 100644 --- a/packages/frontend/src/components/global/MkA.vue +++ b/packages/frontend/src/components/global/MkA.vue @@ -67,7 +67,7 @@ function onContextmenu(ev) { router.push(props.to, 'forcePage'); }, }, { type: 'divider' }, { - icon: 'ph-arrow-square-out ph-bold ph-lg', + icon: 'ti ti-external-link', text: i18n.ts.openInNewTab, action: () => { window.open(props.to, '_blank', 'noopener'); diff --git a/packages/frontend/src/components/global/MkUrl.vue b/packages/frontend/src/components/global/MkUrl.vue index 19888ae146..083e163630 100644 --- a/packages/frontend/src/components/global/MkUrl.vue +++ b/packages/frontend/src/components/global/MkUrl.vue @@ -21,7 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only <span v-if="pathname != ''" :class="$style.pathname">{{ self ? pathname.substring(1) : pathname }}</span> <span :class="$style.query">{{ query }}</span> <span :class="$style.hash">{{ hash }}</span> - <i v-if="target === '_blank'" :class="$style.icon" class="ph-arrow-square-out ph-bold ph-lg"></i> + <i v-if="target === '_blank'" :class="$style.icon" class="ti ti-external-link"></i> </component> </template> diff --git a/packages/frontend/src/pages/admin-file.vue b/packages/frontend/src/pages/admin-file.vue index d57d2798c4..dca7ded646 100644 --- a/packages/frontend/src/pages/admin-file.vue +++ b/packages/frontend/src/pages/admin-file.vue @@ -120,7 +120,7 @@ async function toggleIsSensitive(v) { const headerActions = computed(() => [{ text: i18n.ts.openInNewTab, - icon: 'ph-arrow-square-out ph-bold ph-lg', + icon: 'ti ti-external-link', handler: () => { window.open(file.value.url, '_blank', 'noopener'); }, diff --git a/packages/frontend/src/pages/admin/queue.vue b/packages/frontend/src/pages/admin/queue.vue index bd8704bae6..94eac919d1 100644 --- a/packages/frontend/src/pages/admin/queue.vue +++ b/packages/frontend/src/pages/admin/queue.vue @@ -53,7 +53,7 @@ function promoteAllQueues() { const headerActions = computed(() => [{ asFullButton: true, - icon: 'ph-arrow-square-out ph-bold ph-lg', + icon: 'ti ti-external-link', text: i18n.ts.dashboard, handler: () => { window.open(config.url + '/queue', '_blank', 'noopener'); diff --git a/packages/frontend/src/pages/instance-info.vue b/packages/frontend/src/pages/instance-info.vue index 1a9c4497be..a8929a71b0 100644 --- a/packages/frontend/src/pages/instance-info.vue +++ b/packages/frontend/src/pages/instance-info.vue @@ -261,7 +261,7 @@ fetch(); const headerActions = computed(() => [{ text: `https://${props.host}`, - icon: 'ph-arrow-square-out ph-bold ph-lg', + icon: 'ti ti-external-link', handler: () => { window.open(`https://${props.host}`, '_blank', 'noopener'); }, diff --git a/packages/frontend/src/pages/page-editor/page-editor.vue b/packages/frontend/src/pages/page-editor/page-editor.vue index 4ac7569e3d..1f7a8a0889 100644 --- a/packages/frontend/src/pages/page-editor/page-editor.vue +++ b/packages/frontend/src/pages/page-editor/page-editor.vue @@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template #header><MkPageHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs"/></template> <MkSpacer :contentMax="700"> <div class="jqqmcavi"> - <MkButton v-if="pageId" class="button" inline link :to="`/@${ author.username }/pages/${ currentName }`"><i class="ph-arrow-square-out ph-bold ph-lg"></i> {{ i18n.ts._pages.viewPage }}</MkButton> + <MkButton v-if="pageId" class="button" inline link :to="`/@${ author.username }/pages/${ currentName }`"><i class="ti ti-external-link"></i> {{ i18n.ts._pages.viewPage }}</MkButton> <MkButton v-if="!readonly" inline primary class="button" @click="save"><i class="ti ti-device-floppy"></i> {{ i18n.ts.save }}</MkButton> <MkButton v-if="pageId" inline class="button" @click="duplicate"><i class="ti ti-copy"></i> {{ i18n.ts.duplicate }}</MkButton> <MkButton v-if="pageId && !readonly" inline class="button" danger @click="del"><i class="ti ti-trash"></i> {{ i18n.ts.delete }}</MkButton> diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 9daf4c4505..ca3f8b62a3 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -335,7 +335,7 @@ export function getNoteMenu(props: { getCopyNoteOriginLinkMenu(appearNote, 'Copy link (Origin)') : undefined, (appearNote.url || appearNote.uri) ? { - icon: 'ph-arrow-square-out ph-bold ph-lg', + icon: 'ti ti-external-link', text: i18n.ts.showOnRemote, action: () => { window.open(appearNote.url ?? appearNote.uri, '_blank', 'noopener'); @@ -484,7 +484,7 @@ export function getNoteMenu(props: { getCopyNoteOriginLinkMenu(appearNote, 'Copy link (Origin)') : undefined, (appearNote.url || appearNote.uri) ? { - icon: 'ph-arrow-square-out ph-bold ph-lg', + icon: 'ti ti-external-link', text: i18n.ts.showOnRemote, action: () => { window.open(appearNote.url ?? appearNote.uri, '_blank', 'noopener'); |