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 fb28489 commit 6980e16
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 @@ -103,9 +103,14 @@
</li>
</template>
</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 6980e16

Please sign in to comment.