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/work_packages/tabs/overview.html

70 lines
2.5 KiB

<div class="attributes-group">
<div class="attributes-group--header">
<div class="attributes-group--header-container">
<h3 class="attributes-group--header-text">
{{ I18n.t('js.label_description') }}
</h3>
</div>
</div>
<div class="single-attribute wiki">
<work-package-field field="'description'"></work-package-field>
</div>
</div>
<div ng-repeat="group in vm.groupedFields" ng-hide="vm.hideEmptyFields && vm.isGroupHideable(group.groupName)" class="attributes-group">
<div class="attributes-group--header">
<div class="attributes-group--header-container">
<h3 class="attributes-group--header-text"
ng-bind="I18n.t('js.work_packages.property_groups.' + group.groupName)"></h3>
</div>
<div class="attributes-group--header-toggle">
<panel-expander tabindex="-1" ng-if="vm.showToggleButton() && $first"
collapsed="vm.hideEmptyFields"
expand-text="{{ I18n.t('js.label_show_attributes') }}"
collapse-text="{{ I18n.t('js.label_hide_attributes') }}">
</panel-expander>
</div>
</div>
<dl class="attributes-key-value">
<dt
ng-hide="vm.hideEmptyFields && vm.isFieldHideable(field)"
ng-if="vm.isSpecified(field)"
ng-repeat-start="field in group.attributes" class="attributes-key-value--key"
ng-bind="vm.getLabel(field)">
</dt>
<dd
ng-hide="vm.hideEmptyFields && vm.isFieldHideable(field)"
ng-if="vm.isSpecified(field)"
ng-repeat-end
class="attributes-key-value--value-container">
<work-package-field field="field"></work-package-field>
</dd>
</dl>
</div>
<div class="detail-panel-latest-activity">
<h3>{{ I18n.t('js.label_latest_activity') }}</h3>
<exclusive-edit>
<ul>
<li ng-repeat="activity in activities | latestItems:activitiesSortedInDescendingOrder:3"
class="work-package-details-activities-activity"
ng-init="currentAnchor = 'note-' + ($index+1);
activityNo = activities.length - $index;">
<user-activity work-package="workPackage"
activity="activity"
activity-no="activityNo"
input-element-id="'add-comment-text'"
autocomplete-path="{{ autocompletePath }}">
</user-activity>
</li>
</ul>
<activity-comment work-package="workPackage"
activities="activities"
autocomplete-path="{{ autocompletePath }}">
</activity-comment>
</exclusive-edit>
</div>