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

25 lines
1.1 KiB

<div class="detail-panel-content" >
<div class="detail-activity">
<exclusive-edit>
<ul class="work-package-details-activities-list">
<li ng-repeat="activity in activities"
class="work-package-details-activities-activity"
ng-init="activityNo = activitiesSortedInDescendingOrder && activities.length - $index || $index + 1;
currentDate = (activity.props.createdAt|date:'longDate');
currentAnchor = 'note-' + activityNo">
<h3 class="activity-date"
ng-if="currentDate !== (activities[$index-1].props.createdAt | date:'longDate')"
ng-bind="currentDate"/>
<user-activity activity="activity"
activity-no="activityNo"
input-element-id="'add-comment-text'">
</user-activity>
</li>
</ul>
</exclusive-edit>
</div>
<activity-comment work-package="workPackage"
activities="activities"
descending="activitiesSortedInDescendingOrder">
</activity-comment>
</div>