OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/app/templates/components/user_field.html

14 lines
682 B

<span class="user-avatar--container">
<img class="user-avatar--avatar"
ng-if="userName && user.avatar"
ng-src="{{user.avatar}}" alt="Avatar" title="{{userName}}" />
<span class="user-avatar--user-with-role">
<span class="user-avatar--user" ng-if="userName">
<a ng-if="user.subtype !== 'Group'" ng-href="{{ userPath(user.id) }}" ng-bind="user.name"
class="user-field-user-link"/>
<span ng-if="user.subtype == 'Group'" ng-bind="user.name" class="user-field-user-link"/>
</span>
<span class="user-avatar--user" ng-if="!userName"> - </span>
<span class="user-avatar--role" ng-if="user.role" ng-bind="user.role"/>
</span>
</span>