# HG changeset patch
# User Jan Heylen <[email protected]>
# Date 1428987893 -7200
#      Tue Apr 14 07:04:53 2015 +0200
# Node ID 0b68f3f61c7df505e6914ae2037b0ce6519277ca
# Parent  56a6e827cecee7df5910cec2b9346c98be9f3f48
drafts: emphasize the users attention on his drafts

diff -r 56a6e827cece -r 0b68f3f61c7d kallithea/public/css/style.css
--- a/kallithea/public/css/style.css    Sat May 16 08:39:48 2015 +0200
+++ b/kallithea/public/css/style.css    Tue Apr 14 07:04:53 2015 +0200
@@ -4546,6 +4546,10 @@
     padding: 3px;
 }
 
+.inline-comments .comment .draft {
+    background: #98fb98;
+}
+
 .inline-comments .comment .text {
     background-color: #FAFAFA;
 }
diff -r 56a6e827cece -r 0b68f3f61c7d 
kallithea/templates/changeset/changeset_file_comment.html
--- a/kallithea/templates/changeset/changeset_file_comment.html Sat May 16 
08:39:48 2015 +0200
+++ b/kallithea/templates/changeset/changeset_file_comment.html Tue Apr 14 
07:04:53 2015 +0200
@@ -6,7 +6,11 @@
 <%def name="comment_block(co)">
   <div class="comment" id="comment-${co.comment_id}" line="${co.line_no}">
     <div class="comment-wrapp">
+      %if co.draft:
+      <div class="meta draft">
+      %else:
       <div class="meta">
+      %endif
           <div style="float:left">
                ${h.gravatar(co.author.email, size=20)}
           </div>
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to