1
0
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:
Florian Pritz 2011-09-23 13:15:01 +02:00
parent 6b49ad8444
commit a6ac017f85

View File

@ -27,9 +27,8 @@
<?php endif; ?>
<?php endforeach; ?>
</table>
<?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>
<?php endif; ?>