mirror of https://github.com/nextcloud/contacts
Added icon and proper info
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
de5e585e68
commit
8b0fadc2ea
|
@ -23,7 +23,8 @@
|
|||
<template>
|
||||
<div v-if="propModel" :class="`grid-span-${gridLength}`" class="property">
|
||||
<!-- title if first element -->
|
||||
<property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName" />
|
||||
<property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
|
||||
:info="propModel.info" />
|
||||
|
||||
<div class="property__row">
|
||||
<!-- type selector -->
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
<template>
|
||||
<div v-if="propModel" :class="`grid-span-${gridLength}`" class="property">
|
||||
<!-- title if first element -->
|
||||
<property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName" />
|
||||
<property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
|
||||
:info="propModel.info" />
|
||||
|
||||
<div class="property__row">
|
||||
<!-- type selector -->
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
<template>
|
||||
<div v-if="propModel" :class="`grid-span-${gridLength}`" class="property">
|
||||
<!-- title if first element -->
|
||||
<property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName" />
|
||||
<property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
|
||||
:info="propModel.info" />
|
||||
|
||||
<div class="property__row">
|
||||
<!-- type selector -->
|
||||
|
|
|
@ -183,6 +183,7 @@ const properties = {
|
|||
},
|
||||
relationship: {
|
||||
readableName: t('contacts', 'Relationship'),
|
||||
icon: 'icon-group',
|
||||
info: t(
|
||||
'contacts',
|
||||
'Specify a relationship between you and the entity represented by this vCard.'
|
||||
|
@ -205,6 +206,7 @@ const properties = {
|
|||
related: {
|
||||
multiple: true,
|
||||
readableName: t('contacts', 'Related'),
|
||||
icon: 'icon-group',
|
||||
info: t(
|
||||
'contacts',
|
||||
'Specify a relationship between another entity and the entity represented by this vCard.'
|
||||
|
|
Loading…
Reference in New Issue