Skip to content

Commit

Permalink
Refactor paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
mradavi authored and Hang Le committed Aug 16, 2023
1 parent 30feff3 commit 4ffa00a
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions swift_browser_ui_frontend/src/components/UploadModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,10 @@
/>
<!-- eslint-enable-->
<p
v-if="!owner"
class="info-text is-size-6"
>
{{ $t("message.encrypt.uploadedFiles") }}
<b>{{ active.name }}</b>.
<b>{{ active.name }}</b>{{ !owner ? "." : " (" }}
<c-link
:href="projectInfoLink"
underline
Expand All @@ -114,23 +113,8 @@
{{ $t("message.container_ops.viewProjectMembers") }}
<i class="mdi mdi-open-in-new" />
</c-link>
</p>
<p
v-else
class="info-text is-size-6"
>
{{ $t("message.encrypt.uploadedFiles") }}
<b>{{ active.name }}</b> (
<c-link
:href="projectInfoLink"
underline
target="_blank"
>
{{ $t("message.container_ops.viewProjectMembers") }}
<i class="mdi mdi-open-in-new" />
</c-link>
)
{{ $t("message.encrypt.uploadedToShared") }}
{{ !owner ? "" :
") " + $t("message.encrypt.uploadedToShared") }}
</p>
<c-accordion
id="accordion"
Expand Down

0 comments on commit 4ffa00a

Please sign in to comment.