summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-05-26 09:28:57 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-05-26 09:28:57 +0200
commit69d14aa496563295886b0ab5b828dc9a24dd3106 (patch)
tree17e1c241288cc220e7018553a185ad2393fa37d9
parentfa70a6ac7e3320ecafd3bace44863282856e1502 (diff)
feat(contacts): Show address book description if provided
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r--src/components/AppNavigation/Settings/SettingsAddressbook.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/AppNavigation/Settings/SettingsAddressbook.vue b/src/components/AppNavigation/Settings/SettingsAddressbook.vue
index 1c044544..983edd46 100644
--- a/src/components/AppNavigation/Settings/SettingsAddressbook.vue
+++ b/src/components/AppNavigation/Settings/SettingsAddressbook.vue
@@ -30,6 +30,9 @@
{{ addressbook.displayName }}
</span>
+ <div v-if="addressbook.dav.description" class="addressbook__description">
+ {{ addressbook.dav.description }}
+ </div>
<!-- counters -->
<div class="addressbook__count-wrapper">
<span class="addressbook__count">{{ n('contacts', '%n contact', '%n contacts', contactsCount) }}</span>
@@ -358,6 +361,10 @@ export default {
max-width: calc(100% - 2 * 44px);
}
+ &__description {
+ color: var(--color-text-lighter);
+ }
+
&__count-wrapper {
display: flex;
flex-direction: center;