Added icon and proper info

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-09-25 17:22:05 +02:00
parent de5e585e68
commit 8b0fadc2ea
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
4 changed files with 8 additions and 3 deletions

View File

@ -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 -->

View File

@ -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 -->

View File

@ -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 -->

View File

@ -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.'