Display a message in the web staff bib record display indicating when a
bib record has been merged to another record. The message includes the
merge date and target record and is rendered as a link to the target
record.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
</div>
</div>
</div>
-
+<div ng-if="record.merged_to()" class="row alert alert-warning">
+ <a href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.merged_to()}}">
+ [% l('Record merged to #[_1] on [_2]',
+ '{{record.merged_to()}}',
+ '{{record.merge_date() | date:$root.egDateAndTimeFormat}}')
+ %]
+ </a>
+</div>
<div class="flex-container-striped flex-container-bordered" ng-show="collapse_summary()">
<div class="flex-row">
<div class="flex-cell strong-text">[% l('Title:') %]</div>