Skip to content

Commit

Permalink
Address PR issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Jun 11, 2023
1 parent 851f845 commit 5bd3af1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/web-runtime/src/components/Topbar/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,14 @@
</div>
</li>
</oc-list>
<div v-if="imprintUrl && privacyUrl" class="imprint-footer oc-py-s oc-mt-m oc-text-center">
<a v-translate :href="imprintUrl" target="_blank">Imprint</a> -
<a v-translate :href="privacyUrl" target="_blank">Privacy</a>
<div v-if="imprintUrl || privacyUrl" class="imprint-footer oc-py-s oc-mt-m oc-text-center">
<oc-button v-if="imprintUrl" type="a" appearance="raw" :href="imprintUrl" target="_blank"
><span v-text="$gettext('Imprint')"
/></oc-button>
<span v-if="privacyUrl">·</span>
<oc-button v-if="privacyUrl" type="a" appearance="raw" :href="privacyUrl" target="_blank"
><span v-text="$gettext('Privacy')"
/></oc-button>
</div>
</oc-drop>
</nav>
Expand Down

0 comments on commit 5bd3af1

Please sign in to comment.