webstaff: record summary now signals if record is deleted
authorGalen Charlton <gmc@esilibrary.com>
Tue, 15 Sep 2015 01:22:12 +0000 (01:22 +0000)
committerMike Rylander <mrylander@gmail.com>
Wed, 16 Sep 2015 17:23:06 +0000 (13:23 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/cat/share/t_record_summary.tt2
Open-ILS/src/templates/staff/css/cat.css.tt2

index 6a8a6b3..6f9f030 100644 (file)
@@ -1,6 +1,11 @@
 <div class="strong-text-2">
   <div class="flex-row" style="justify-content: space-between">
-    <div class="flex-cell">[% l('Record Summary') %]</div>
+    <div class="flex-cell">
+        [% l('Record Summary') %]
+        <span ng-if="record.deleted() == 't'" class="record-summary-alert">
+            [% l('(Deleted)') %]
+        </span>
+    </div>
     <div ng-if="!noMarcLink" class="flex-cell">
       <a target="_self" 
         href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.id()}}/marc_html">
index ef3cd9c..ede0007 100644 (file)
@@ -1,3 +1,8 @@
+/* record summary */
+.record-summary-alert {
+    color: red;
+}
+
 .marcrecord {
     //background-color: #f5f5f5;
 }