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/public/templates/work_packages.list.details....

50 lines
2.0 KiB

<div id="tabs">
<ul class="tabrow">
<li ui-sref="work-packages.list.details.overview({})"
ui-sref-active="selected">
<a href ng-bind="I18n.t('js.work_packages.tabs.overview')"/>
</li>
<li ui-sref="work-packages.list.details.activity({})"
ui-sref-active="selected">
<a href ng-bind="I18n.t('js.work_packages.tabs.activity')"/>
</li>
<li ui-sref="work-packages.list.details.relations({})"
ui-sref-active="selected">
<a href ng-bind="I18n.t('js.work_packages.tabs.relations')"/>
</li>
<li ng-if="canViewWorkPackageWatchers()"
ui-sref="work-packages.list.details.watchers({})"
ui-sref-active="selected">
<a href ng-bind="I18n.t('js.work_packages.tabs.watchers')"/>
</li>
<li ui-sref="work-packages.list.details.attachments({})"
ui-sref-active="selected">
<a href ng-bind="I18n.t('js.work_packages.tabs.attachments')"/>
</li>
</ul>
</div>
<div class="detail-panel-content">
<div class="select-type">{{ workPackage.props.type }}:&nbsp;</div>
<h2 ng-bind="workPackage.props.subject"></h2>
<span class="subtitle">
<i class="star icon-star1" ng-class="{active: isWatched}" ng-click="toggleWatch()"
title="{{isWatched && I18n.t('js.label_unwatch_work_package') || I18n.t('js.label_watch_work_package')}}"
ng-if="toggleWatchLink" />
<a href="#">#{{ workPackage.props.id }}</a>
<span ng-bind="I18n.t('js.label_added_by')"/>
<a ng-href="{{ userPath(author.props.id) }}" ng-bind="author.props.name"/> <span ng-bind="I18n.t('js.label_on')"/> <date dateValue="workPackage.props.createdAt"></date>.
<span ng-bind="I18n.t('js.label_last_updated_on')"/>
<date dateValue="workPackage.props.updatedAt"></date>.
</span>
<div class="work-package-details-tab" ui-view></div>
</div>
<div class="bottom-toolbar">
<button class="button" ng-click="editWorkPackage()"><i class="icon-left icon-edit"></i>{{ I18n.t('js.button_edit') }}</button>
<div>