Frontend: Use button for "add to album" hint

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-06-23 16:03:29 +02:00
parent 6e681ec95d
commit 61278b5402
2 changed files with 8 additions and 5 deletions

View file

@ -119,6 +119,11 @@ main {
color: #333333;
}
#photoprism .theme--dark.v-sheet .text-link,
#photoprism .theme--dark.v-card .text-link {
color: white;
}
#photoprism main .p-inline-edit a,
#photoprism main .p-inline-edit a span {
cursor: text;

View file

@ -184,11 +184,9 @@
{{album.PhotoCount}}
<translate>photos.</translate>
</div>
<div v-else class="caption">
<router-link :to="{name: 'photos'}" class="text-link">
<translate>Add photos from search results by selecting them.</translate>
</router-link>
</div>
<button v-else @click.stop.prevent="$router.push({name: 'photos'})" class="caption">
<translate>Add photos from search results by selecting them.</translate>
</button>
</v-card-text>
</v-card>
</v-hover>