mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
apps/contacts: only display buttons if there is a contact
If you don't have any contacts, it would display a non-functioning delete button. Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
6b49ad8444
commit
a6ac017f85
@ -27,9 +27,8 @@
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
<form>
|
||||
<input type="button" id="contacts_deletecard" value="<?php echo $l->t('Delete');?>">
|
||||
<input type="button" id="contacts_addproperty" value="<?php echo $l->t('Add Property');?>">
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
|
||||
<form>
|
||||
<input type="button" id="contacts_deletecard" value="<?php echo $l->t('Delete');?>">
|
||||
<input type="button" id="contacts_addproperty" value="<?php echo $l->t('Add Property');?>">
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user