summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-26 12:59:58 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-26 12:59:58 +0100
commit751e99512a379a6e0cfb3d6b35f897a36a49f251 (patch)
tree7faf85d63a65db946d9ad3cda386a5431297d736 /settings/templates
parent3da78c8f1c9355a726f289e834fa237366c3df20 (diff)
downloadnextcloud-server-751e99512a379a6e0cfb3d6b35f897a36a49f251.tar.gz
nextcloud-server-751e99512a379a6e0cfb3d6b35f897a36a49f251.zip
Hide the delete button, until we know its a custom avatar
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 5bae01742b6..65b8b81aa90 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -41,7 +41,7 @@
<?php if ($_['avatarChangeSupported']): ?>
<label for="uploadavatar" class="inlineblock button icon-upload svg" id="uploadavatarbutton" title="<?php p($l->t('Upload new')); ?>"></label>
<div class="inlineblock button icon-folder svg" id="selectavatar" title="<?php p($l->t('Select from Files')); ?>"></div>
- <div class="inlineblock button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div>
+ <div class="hidden button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div>
<input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield">
<p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p>
<?php else: ?>