From 2528dc646a1348f49098067923025d065a0c3f41 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Fri, 4 Nov 2016 14:45:14 +0100 Subject: [PATCH] publishable items emphasized in history list --- .../modules/documentHistory/documentHistory.less | 10 +++++++--- src/editor/modules/documentHistory/templates/item.html | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/editor/modules/documentHistory/documentHistory.less b/src/editor/modules/documentHistory/documentHistory.less index 608c9df..0f43f1f 100644 --- a/src/editor/modules/documentHistory/documentHistory.less +++ b/src/editor/modules/documentHistory/documentHistory.less @@ -11,15 +11,19 @@ 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; } diff --git a/src/editor/modules/documentHistory/templates/item.html b/src/editor/modules/documentHistory/templates/item.html index 1629226..c1d52f2 100644 --- a/src/editor/modules/documentHistory/templates/item.html +++ b/src/editor/modules/documentHistory/templates/item.html @@ -1,6 +1,7 @@ -
+
<%= version %>
<%= date %>
<%= author %>
<%= description %>
+
<%= publishable %>
\ No newline at end of file -- 2.20.1