Skip to content
Snippets Groups Projects
Commit 037d0e96 authored by Florian Pritz's avatar Florian Pritz
Browse files

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: default avatarFlorian Pritz <bluewind@xinu.at>
parent 983445cd
No related branches found
No related tags found
No related merge requests found
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment