[Persistence] Show user, modification time

Show user name and modification time in dialog when revision-checking
detects modifications. WTD-1033.
This commit is contained in:
Victor Woeltjen
2015-03-25 12:19:45 -07:00
parent 5e20c2199d
commit 9eeb68ddd0
6 changed files with 76 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
<span ng-controller="PersistenceFailureController as controller">
<div ng-if="ngModel.revised.length > 0">
External changes have been made to the following objects:
<ul>
@@ -5,6 +7,10 @@
<mct-representation key="'label'"
mct-object="failure.domainObject">
</mct-representation>
was modified at
<b>{{controller.formatTimestamp(failure.error.model.modified)}}</b>
by
<i>{{controller.formatUsername(failure.error.model.modifier)}}</i>
</li>
</ul>
You may overwrite these objects, or discard your changes to keep
@@ -22,3 +28,4 @@
</ul>
</div>
</span>