publishable items emphasized in history list
authorJan Szejko <janek37@gmail.com>
Fri, 4 Nov 2016 13:45:14 +0000 (14:45 +0100)
committerJan Szejko <janek37@gmail.com>
Fri, 4 Nov 2016 13:45:14 +0000 (14:45 +0100)
src/editor/modules/documentHistory/documentHistory.less
src/editor/modules/documentHistory/templates/item.html

index 608c9df..0f43f1f 100644 (file)
             font-weight: bold;
         }
         
-        .date, .author, .description {
+        .date, .author, .description, .publishable {
             margin: 5px 10px 0 40px;
         }
         
-        .description {
+        .description, .publishable {
             font-size: .9em;
         }
     }
-    
+
+    .item.publishable {
+        font-weight: bold;
+    }
+
     .item.highlighted {
         background: #ffec63;
     }
index 1629226..c1d52f2 100644 (file)
@@ -1,6 +1,7 @@
-<div class="item">
+<div class="item<% if (publishable) { %> publishable<% } %>">
     <div class="version"><%= version %></div>
     <div class="date"><%= date %></div>
     <div class="author"><%= author %></div>
     <div class="description"><%= description %></div>
+    <div class="publishable"><%= publishable %></div>
 </div>
\ No newline at end of file