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....

58 lines
2.3 KiB

<div id="tabs">
<ul class="tabrow">
<!-- The hrefs with empty URLs are necessary for IE10 to focus these links
properly. Thus, don't remove the hrefs or the empty URLs! -->
<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="work-packages--details-content">
<span class="hidden-for-sighted" tabindex="-1" focus ng-bind="focusAnchorLabel">
</span>
<div class="select-type">{{ workPackage.props.type }}:&nbsp;</div>
<h2 title="{{ workPackage.props.subject }}" 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-if="authorActive" ng-href="{{ authorPath }}" ng-bind="author.props.name"/>
<span ng-if="!authorActive">{{ author.props.name }} </span>
<span ng-bind="I18n.t('js.label_on')"/> <date date-value="workPackage.props.createdAt"></date>.
<span ng-bind="I18n.t('js.label_last_updated_on')"/>
<date date-value="workPackage.props.updatedAt"></date>.
</span>
<div class="work-package-details-tab" ui-view></div>
</div>
<div class="bottom-toolbar">
<work-package-details-toolbar work-package='workPackage'
back-url="backUrl">
</work-package-details-toolbar>
</div>