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

68 lines
2.7 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>
<div
class="wp-subject"
inplace-editor
ined-type="text"
ined-entity="workPackage"
ined-attribute="subject"
ined-attribute-title="{{ I18n.t('js.work_packages.properties.subject') }}"
title="{{ workPackage.props.subject }}"
></div>
<span class="subtitle">
<accessible-by-keyboard ng-if="toggleWatchLink" execute="toggleWatch()" class="star">
<icon-wrapper icon-name="{{ 'star1' + (isWatched ? ' active' : '') }}"
icon-title="{{ isWatched ? I18n.t('js.label_unwatch_work_package') : I18n.t('js.label_watch_work_package') }}"
css-class="star">
</icon-wrapper>
</accessible-by-keyboard>
<a href="{{ showStaticPagePath }}">#{{ 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')"/> <op-date date-value="workPackage.props.createdAt"></op-date>.
<span ng-bind="I18n.t('js.label_last_updated_on')"/>
<op-date date-value="workPackage.props.updatedAt"></op-date>.
</span>
<div class="work-package-details-tab" ui-view></div>
</div>
<div class="bottom-toolbar">
<work-package-details-toolbar work-package='workPackage'>
</work-package-details-toolbar>
</div>