From: Jonatan Schlag Date: Fri, 12 Jan 2018 14:02:47 +0000 (+0100) Subject: bootstrap4: rework changelog X-Git-Url: http://git.ipfire.org/?p=pbs.git;a=commitdiff_plain;h=a30ebbecf8a6c5fe6fe803246efcad7ff8c1a441 bootstrap4: rework changelog Signed-off-by: Jonatan Schlag --- diff --git a/src/templates/modules/changelog/entry.html b/src/templates/modules/changelog/entry.html index 511a0a9..08e4a49 100644 --- a/src/templates/modules/changelog/entry.html +++ b/src/templates/modules/changelog/entry.html @@ -1,36 +1,43 @@
-
{% if build.type == "release" and build.repo %} {% if build.repo.type == "stable" %} - text-success"> - - {{ build.repo.distro.name }} ‐ {{ build.repo.name }} - + {% elif build.repo.type == "unstable" %} - text-warning"> - - {{ build.repo.distro.name }} ‐ {{ build.repo.name }} - + {% elif build.repo.type == "testing" %} - text-danger"> - - {{ build.repo.distro.name }} ‐ {{ build.repo.name }} - + {% end %} {% elif build.type == "scratch" %} - text-secondary"> - {{ _("Scratch build") }} +
+ {{ _("Scratch build") }} +
{% end %} -
+