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

28 lines
1.2 KiB

<exclusive-edit>
<div class="detail-activity">
<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;
isInitial = isInitialActivity(activity, activityNo);
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"/>
<activity-entry work-package="workPackage"
activity="activity"
activity-no="activityNo"
is-initial="isInitial"
autocomplete-path="autocompletePath"
input-element-id="'add-comment-text'">
</activity-entry>
</div>
</li>
</ul>
</div>
<activity-comment work-package="workPackage"
activities="activities">
</activity-comment>
</exclusive-edit>