]> git.ipfire.org Git - people/jschlag/pbs.git/blame - data/templates/modules/changelog/entry.html
Add Romanian as a language option.
[people/jschlag/pbs.git] / data / templates / modules / changelog / entry.html
CommitLineData
4b1e87c4
MT
1<li class="media">
2 <div class="media-body">
b9d096e0
MT
3 <div class="well">
4 <h4>
5 <a class="{% if build.is_broken() %}line-through{% end %}" href="/build/{{ build.uuid }}">{{ build.name }}</a>
4b1e87c4
MT
6
7 {% if build.repo %}
b9d096e0
MT
8 <small class="pull-right">
9 <a href="/distro/{{ build.repo.distro.identifier }}/repo/{{ build.repo.name }}">
10 {{ build.repo.distro.name }} &dash;
11 {% if build.repo.type == "stable" %}
12 <span class="text-success">{{ build.repo.name }}</span>
13 {% elif build.repo.type == "unstable" %}
14 <span class="text-warning">{{ build.repo.name }}</span>
15 {% elif build.repo.type == "testing" %}
16 <span class="text-error">{{ build.repo.name }}</span>
17 {% end %}
18 </a>
19 </small>
4b1e87c4 20 {% end %}
b9d096e0
MT
21 </h4>
22
23 <hr>
24
25 {% if build.commit %}
26 {% module CommitMessage(build.commit) %}
27
28 <hr>
4b1e87c4 29
b9d096e0
MT
30 <p class="muted">
31 {{ _("Author") }} {% module Maintainer(build.commit.author) %}
32 &dash;
33 {{ _("Commit") }} <a href="/distro/{{ build.distro.identifier }}/source/{{ build.pkg.commit.source.identifier }}/{{ build.pkg.commit.revision }}">{{ build.pkg.commit.revision[:7] }}</a>
4b1e87c4 34
b9d096e0
MT
35 <span class="pull-right">{{ locale.format_date(build.created, shorter=True) }}</span>
36 </p>
37 {% else %}
38 <p class="muted">
39 {{ _("No commit message.") }}
40 <span class="pull-right">{{ locale.format_date(build.created, shorter=True) }}</span>
41 </p>
42 {% end %}
43 </div>
4b1e87c4
MT
44 </div>
45</li>