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
736 B

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