]> git.ipfire.org Git - people/jschlag/pbs.git/blame - data/templates/modules/changelog/entry.html
Move builders templates to own directory.
[people/jschlag/pbs.git] / data / templates / modules / changelog / entry.html
CommitLineData
4b1e87c4
MT
1<li class="media">
2 <div class="media-body">
3 <h4>
4 <a href="/build/{{ build.uuid }}">{{ build.name }}</a>
5
6 <small>
7 {{ locale.format_date(build.created) }}
8
9 {% if build.repo %}
10 {% if build.repo.type == "stable" %}
11 <span class="text-success pull-right">{{ _("Stable") }}</span>
12 {% elif build.repo.type == "unstable" %}
13 <span class="text-warning pull-right">{{ _("Unstable") }}</span>
14 {% elif build.repo.type == "testing" %}
15 <span class="text-error pull-right">{{ _("Testing") }}</span>
16 {% end %}
17 {% end %}
18 </small>
19 </h4>
20
21 {% if build.commit %}
14e482d8 22 {% module Text(build.commit.message_full, remove_linebreaks=False) %}
4b1e87c4
MT
23
24 <p class="muted pull-right">
25 {{ _("Author") }} {% module Maintainer(build.commit.author) %}
26 &dash;
27 {{ _("Commit") }} <a href="/distro/{{ build.distro.identifier }}/source/{{ build.pkg.commit.source.identifier }}/{{ build.pkg.commit.revision }}">{{ build.pkg.commit.revision[:7] }}</a>
28 </p>
29 {% else %}
30 <p class="muted">
31 {{ _("No commit message.") }}
32 </p>
33 {% end %}
34 </div>
35</li>