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/components/wp-table/directives/wp-column/wp-column.directive.html

12 lines
442 B

<span ng-switch="displayType">
<progress-bar ng-switch-when="progress_bar"
progress="displayText"
width="80px">
</progress-bar>
<a ng-switch-when="link" href="{{ url }}" title="{{ displayText }}">{{ displayText }}</a>
<a ng-switch-when="ref" ui-sref="{{ stateRef }}" title="{{ displayText }}">{{ displayText }}</a>
<span ng-switch-default title="{{ displayText }}">{{ displayText }}</span>
</span>