diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-02-09 19:04:07 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-02-09 19:04:07 +0100 |
commit | ff53b0c2097ae5d0390336238454dc1792158905 (patch) | |
tree | fb31d989dac41784e1fa6e2182d5db1b742a82e2 /apps/contacts/templates/part.contact.php | |
parent | 25faa40bd09f35cfc14a699d23d2d747173922d3 (diff) | |
download | nextcloud-server-ff53b0c2097ae5d0390336238454dc1792158905.tar.gz nextcloud-server-ff53b0c2097ae5d0390336238454dc1792158905.zip |
Keep js data structure in sync on changes.
More checks for missing properties.
Diffstat (limited to 'apps/contacts/templates/part.contact.php')
-rw-r--r-- | apps/contacts/templates/part.contact.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php index 446a9b88ede..a56999dbf39 100644 --- a/apps/contacts/templates/part.contact.php +++ b/apps/contacts/templates/part.contact.php @@ -4,8 +4,9 @@ $id = isset($_['id']) ? $_['id'] : ''; ?> <div id="card"> <div id="actionbar"> - <a id="contacts_propertymenu_button"></a> - <ul id="contacts_propertymenu"> + <a title="<?php echo $l->t('Add field'); ?>" class="svg action" id="contacts_propertymenu_button"></a> + <div id="contacts_propertymenu" style="display: none;"> + <ul> <li><a data-type="PHOTO"><?php echo $l->t('Profile picture'); ?></a></li> <li><a data-type="ORG"><?php echo $l->t('Organization'); ?></a></li> <li><a data-type="NICKNAME"><?php echo $l->t('Nickname'); ?></a></li> @@ -14,6 +15,7 @@ $id = isset($_['id']) ? $_['id'] : ''; <li><a data-type="EMAIL"><?php echo $l->t('Email'); ?></a></li> <li><a data-type="ADR"><?php echo $l->t('Address'); ?></a></li> </ul> + </div> <img onclick="Contacts.UI.Card.export();" class="svg action" id="contacts_downloadcard" src="<?php echo image_path('', 'actions/download.svg'); ?>" title="<?php echo $l->t('Download contact');?>" /> <img class="svg action" id="contacts_deletecard" src="<?php echo image_path('', 'actions/delete.svg'); ?>" title="<?php echo $l->t('Delete contact');?>" /> </div> |