mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +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 endif; ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<input type="button" id="contacts_deletecard" value="<?php echo $l->t('Delete');?>">
|
<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');?>">
|
<input type="button" id="contacts_addproperty" value="<?php echo $l->t('Add Property');?>">
|
||||||
</form>
|
</form>
|
||||||
|
<?php endif; ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user