diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-12-05 10:03:39 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-12-05 10:03:39 +0100 |
commit | 9e66d5d7cf455f556358a1c33e2904124573b753 (patch) | |
tree | c62781861cddfac3bcd98889e101322968307840 /settings/templates/personal.php | |
parent | 2f517899a2f3c4d014b5b737c4f652ed5ae2277f (diff) | |
download | nextcloud-server-9e66d5d7cf455f556358a1c33e2904124573b753.tar.gz nextcloud-server-9e66d5d7cf455f556358a1c33e2904124573b753.zip |
hide password recovery note if email address can't be set
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r-- | settings/templates/personal.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index ed0808432f4..a14982b9b74 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -97,8 +97,10 @@ <?php if(!$_['displayNameChangeSupported']) { ?> <span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span> <?php } ?> - <br /> - <em><?php p($l->t('For password recovery and notifications')); ?></em> + <?php if($_['displayNameChangeSupported']) { ?> + <br /> + <em><?php p($l->t('For password recovery and notifications')); ?></em> + <?php } ?> <span class="icon-checkmark hidden"/> <input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>"> </form> |