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/app/assets/templates/work_packages/summarized_cost_entries.html

13 lines
619 B

<span class="costs costTypes" ng-if="costTypes">
<span ng-repeat="costType in costTypes">
10 years ago
<a ng-href="{{ linkToSummary(costType.embedded.costType) }}" title="{{ costType.embedded.costType.props.name }}">
{{ costType.props.spentUnits }}
<span class="unit" ng-switch="costType.props.spentUnits">
<span ng-switch-when="1">{{ costType.embedded.costType.props.unit }}</span>
<span ng-switch-default>{{ costType.embedded.costType.props.unitPlural }}</span>
</span>
</a>
<span class="separator" ng-if="!$last">,</span>
</span>
</span>
<span ng-if="!costTypes.length">-</span>