hide user@fqdn when mail is enabled

This commit is contained in:
Girish Ramakrishnan
2016-09-28 13:21:26 -07:00
parent ec13938042
commit 823e6575a6

View File

@@ -309,7 +309,7 @@
<i class="fa fa-briefcase arrow" ng-show="user.admin" uib-tooltip="This user can manage apps, groups and other users"></i>
</td>
<td class="hand elide-table-cell" ng-click="useredit.show(user)" ng-show="user.username">
{{ user.username }}<span class="text-muted" ng-show="user.alternateEmail">{{ '@' + config.fqdn }}</span> &nbsp; <span class="text-muted" ng-hide="user.alternateEmail">{{ user.email }}</span>
{{ user.username }} &nbsp; <span class="text-muted" ng-hide="mailConfig.enabled">{{ user.email }}</span>
</td>
<td class="hand elide-table-cell" ng-click="useredit.show(user)" ng-hide="user.username">
<span class="text-muted" uib-tooltip="User is not activated yet">{{ user.alternateEmail || user.email }}</span>