kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
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.
73 lines
2.7 KiB
73 lines
2.7 KiB
<div ng-if="$ctrl.workPackage && $ctrl.workPackage.schema" wp-edit-form="$ctrl.workPackage">
|
|
<div class="attributes-group">
|
|
<div class="attributes-group--header">
|
|
<div class="attributes-group--header-container">
|
|
<h3 class="attributes-group--header-text">
|
|
{{ $ctrl.workPackage.type.name }} #{{ $ctrl.workPackage.id }}
|
|
</h3>
|
|
</div>
|
|
|
|
<div class="attributes-group--header-container-right">
|
|
<span ng-bind="$ctrl.I18n.t('js.label_last_updated_on')"/>
|
|
<op-date date-value="$ctrl.workPackage.updatedAt"></op-date>
|
|
</div>
|
|
</div>
|
|
|
|
<div
|
|
wp-edit-field="'description'"
|
|
class="single-attribute wiki">
|
|
<wp-display-attr
|
|
schema="$ctrl.workPackage.schema"
|
|
work-package="$ctrl.workPackage"
|
|
attribute="'description'">
|
|
</wp-display-attr>
|
|
</div>
|
|
</div>
|
|
|
|
<div ng-repeat="group in $ctrl.groupedFields" ng-hide="$ctrl.shouldHideGroup(group.groupName)" class="attributes-group">
|
|
|
|
<div class="attributes-group--header">
|
|
<div class="attributes-group--header-container">
|
|
<h3 class="attributes-group--header-text"
|
|
ng-bind="$ctrl.I18n.t('js.work_packages.property_groups.' + group.groupName)"></h3>
|
|
</div>
|
|
<div class="attributes-group--header-toggle">
|
|
<panel-expander tabindex="-1" ng-if="$first"
|
|
collapsed="$ctrl.hideEmptyFields"
|
|
expand-text="{{ $ctrl.I18n.t('js.label_show_attributes') }}"
|
|
collapse-text="{{ $ctrl.I18n.t('js.label_hide_attributes') }}">
|
|
</panel-expander>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="attributes-key-value">
|
|
<div
|
|
class="attributes-key-value--key"
|
|
ng-repeat-start="field in group.attributes"
|
|
ng-hide="$ctrl.hideEmptyFields && $ctrl.singleViewWp.canHideField(field)"
|
|
ng-if="$ctrl.singleViewWp.isSpecified(field)">
|
|
|
|
{{$ctrl.singleViewWp.getLabel(field)}}
|
|
<span class="required" ng-if="$ctrl.singleViewWp.hasNiceStar(field)"> *</span>
|
|
</div>
|
|
<div
|
|
ng-hide="$ctrl.hideEmptyFields && $ctrl.singleViewWp.canHideField(field)"
|
|
ng-if="$ctrl.singleViewWp.isSpecified(field)"
|
|
ng-repeat-end
|
|
wp-edit-field="field"
|
|
class="attributes-key-value--value-container">
|
|
<wp-display-attr
|
|
schema="$ctrl.workPackage.schema"
|
|
work-package="$ctrl.workPackage"
|
|
attribute="field">
|
|
</wp-display-attr>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<work-package-attachments
|
|
edit
|
|
work-package="$ctrl.workPackage"
|
|
data-ng-show="!$ctrl.hideEmptyFields || $ctrl.filesExist">
|
|
</work-package-attachments>
|
|
</div>
|
|
|