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-relations/wp-relations-group/wp-relations-group.template...

28 lines
1.3 KiB

<div class="attributes-group">
<div class="attributes-group--header">
<div class="attributes-group--header-container">
<h3 class="attributes-group--header-text relation-group--header">
{{ $ctrl.header }}
</h3>
</div>
<div class="attributes-group--header-toggle" ng-if="$ctrl.firstGroup">
<div id="wp-relation-group-by-toggle"
class="panel-toggler ng-scope ng-isolate-scope">
<accessible-by-keyboard link-class="icon-context icon-small icon-group-by button -transparent"
execute="$ctrl.toggleButton()">
<span ng-if="!$ctrl.groupByWorkPackageType" ng-bind="::$ctrl.text.groupByType"></span>
<span ng-if="$ctrl.groupByWorkPackageType" ng-bind="::$ctrl.text.groupByRelation"></span>
</accessible-by-keyboard>
</div>
</div>
</div>
<div class="content" ng-if="$ctrl.relatedWorkPackages">
<wp-relation-row
work-package="$ctrl.workPackage"
group-by-work-package-type="$ctrl.groupByWorkPackageType"
related-work-package="relatedWorkPackage"
ng-repeat="relatedWorkPackage in $ctrl.relatedWorkPackages"></wp-relation-row>
</div>
</div>