From 98c4ae099456e42b43549dd9be5aeb213eb59c49 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 23 2017 10:30:36 +0000 Subject: Add support for commit flags in the commit view Signed-off-by: Pierre-Yves Chibon --- diff --git a/template/commit.html b/template/commit.html index 76119bb..8762a4f 100644 --- a/template/commit.html +++ b/template/commit.html @@ -130,6 +130,34 @@ {% endif %} +
+
+
    + {% for flag in flags %} +
  • +
    + + {{ flag.username }} + +
    + + {{ flag.status }} + {%- if flag.percent %} ({{ flag.percent }}%) {%- endif %} + +
    +
    +
    + {{ flag.comment }} +
    + {{ flag.date_created | humanize }}
    +
    +
    +
  • + {% endfor %} +
+
+
+ {% set filecount = 0 %} {% for patch in diff %} {% set filecount = filecount + 1 %}