Skip to content

Commit

Permalink
Guide users to create collection
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Feb 25, 2024
1 parent fe2eca5 commit eb25c0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions ui/src/trusted/trusted/KeyCollections.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ const { loading, keyCollections } = storeToRefs(useKeyCollectionsStore());
<div>
<!-- Single root for loading transition -->
<div v-if="keyCollections.length === 0" class="ms-5 italic">
<p>You don't have any key collections yet.</p>
<!-- TODO I want to link to the search screen here but I need the router for that -->
<p>
When you add a key you will be able to create a collection for it!
</p>
<p>You don't have any key collections yet. <router-link to="/search" class="link link-neutral">Search for one to add</router-link>?</p>
</div>
<template v-else>
<div v-for="c in keyCollections" v-bind:key="c.name" class="mt-3">
Expand Down
4 changes: 2 additions & 2 deletions ui/src/trusted/trusted/MyKeys.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ watch(

<div class="flex flex-grow justify-end">
<button
class="btn btn-circle btn-primary"
title="Distribute a GPG key"
class="btn btn-circle btn-sm btn-primary"
:title="showDistribute ? 'Cancel' : 'Distribute your GPG public key'"
@click="showDistribute = !showDistribute"
>
<font-awesome-icon
Expand Down

0 comments on commit eb25c0a

Please sign in to comment.