Sharing: UX improvements #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
71d808982c
commit
2effaafd3a
|
@ -84,6 +84,11 @@ main {
|
|||
color: #333333;
|
||||
}
|
||||
|
||||
#photoprism .text-link {
|
||||
text-decoration: none;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
#photoprism main .p-inline-edit a,
|
||||
#photoprism main .p-inline-edit a span {
|
||||
cursor: text;
|
||||
|
|
|
@ -168,11 +168,29 @@
|
|||
</v-btn>
|
||||
</v-card-actions>
|
||||
|
||||
<v-card-text v-if="album.Description" class="pl-3 pr-3 pt-0 pb-3 p-album-desc">
|
||||
<div class="caption" title="Description" v-if="album.Description">
|
||||
<v-card-text class="pl-3 pr-3 pt-0 pb-3 p-album-desc" v-if="album.Description">
|
||||
<div class="caption" title="Description">
|
||||
{{ album.Description }}
|
||||
</div>
|
||||
</v-card-text>
|
||||
<v-card-text class="pl-3 pr-3 pt-0 pb-3 p-album-desc"
|
||||
v-else-if="album.Type === 'album'">
|
||||
<div v-if="album.PhotoCount === 1" class="caption">
|
||||
<translate>Contains one photo. Add more by selecting them from search results.
|
||||
</translate>
|
||||
</div>
|
||||
<div v-else-if="album.PhotoCount > 0" class="caption">
|
||||
<translate>Contains</translate>
|
||||
{{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>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</v-hover>
|
||||
</v-flex>
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
@save="onSave(label)"
|
||||
class="p-inline-edit"
|
||||
>
|
||||
<span v-if="label.Name">
|
||||
<span v-if="label.Name" class="body-2 ma-0">
|
||||
{{ label.Name | capitalize }}
|
||||
</span>
|
||||
<span v-else>
|
||||
|
|
Loading…
Reference in a new issue