From: Jonatan Schlag
{{ _("Author") }} {% module LinkToUser(build.commit.author) %}
- {{ locale.format_date(build.created, shorter=True) }}
{{ _("No commit message.") }}
- {{ locale.format_date(build.created, shorter=True) }}
{{ _("Owner") }} {% module LinkToUser(build.owner) %}
-
- {{ locale.format_date(build.created, shorter=True) }}
{% module Text(pkg.description) %}
-
- {{ build.name }}
-
- {% if build.type == "release" and build.repo %}
-
-
- {{ build.repo.distro.name }} ‐
- {% if build.repo.type == "stable" %}
- {{ build.repo.name }}
- {% elif build.repo.type == "unstable" %}
- {{ build.repo.name }}
- {% elif build.repo.type == "testing" %}
- {{ build.repo.name }}
- {% end %}
-
-
- {% elif build.type == "scratch" %}
-
- {{ _("Scratch build") }}
-
- {% end %}
+
+
+ {% if build.is_broken() %}
+
{{ build.name }}
+ {% else %}
+ {{ build.name }}
+ {% end %}
+
@@ -34,22 +52,21 @@
- {% for b in builds %}
- {% module ChangelogEntry(b) %}
- {% end %}
-
+
+{% for b in builds %}
+ {% module ChangelogEntry(b) %}
+{% end %}
+
diff --git a/src/templates/modules/package-header.html b/src/templates/modules/package-header.html
index 0feaa871..6308bd4d 100644
--- a/src/templates/modules/package-header.html
+++ b/src/templates/modules/package-header.html
@@ -1,27 +1,37 @@
-
{{ _("Home") }} | +{% raw linkify(pkg.url, shorten=True) %} | +
---|---|
{{ _("License") }} | +{{ pkg.license }} | +
{{ _("Group", "Groups", len(pkg.groups)) }} | +{{ locale.list(pkg.groups) }} | +
{{ _("Maintainer") }} | +{% module LinkToUser(pkg.maintainer) %} | +