Allow users to change avatar even if profile is locked

This commit is contained in:
Girish Ramakrishnan
2020-07-10 09:44:52 -07:00
parent 46ed0ab49e
commit d271d2db57
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -327,7 +327,7 @@
<div class="row">
<div class="col-xs-4" style="min-width: 150px;">
<div class="settings-avatar" style="background-image: url('{{ user.avatarUrl }}');">
<div class="overlay" ng-click="avatarChange.showChangeAvatar()" ng-hide="config.profileLocked"></div>
<div class="overlay" ng-click="avatarChange.showChangeAvatar()"></div>
</div>
</div>
<div class="col-xs-8">
+1 -1
View File
@@ -530,7 +530,7 @@
<fieldset>
<div class="checkbox">
<label>
<input type="checkbox" ng-model="directoryConfig.editableUserProfiles">&nbsp;&nbsp;Allow users to edit their name, email &amp; picture <sup><a ng-href="{{ config.webServerOrigin }}/documentation/user-management/#lock-profile" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup>
<input type="checkbox" ng-model="directoryConfig.editableUserProfiles">&nbsp;&nbsp;Allow users to edit their name &amp; email <sup><a ng-href="{{ config.webServerOrigin }}/documentation/user-management/#lock-profile" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup>
</label>
</div>
</fieldset>