2 <div class=
"media-body">
3 <div class=
"well {% if build.type == "release
" and build.repo %}well-build-state-{{ build.repo.type }}{% elif build.type == "scratch
" %}well-build-type-scratch{% end %}">
5 <a class=
"{% if build.is_broken() %}line-through{% end %}" href=
"/build/{{ build.uuid }}">{{ build.name }}
</a>
7 {% if build.type ==
"release" and build.repo %}
8 <small class=
"pull-right">
9 <a href=
"/distro/{{ build.repo.distro.identifier }}/repo/{{ build.repo.name }}">
10 {{ build.repo.distro.name }}
‐
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>
20 {% elif build.type ==
"scratch" %}
21 <span class=
"label label-important pull-right">
22 {{ _(
"Scratch build") }}
29 {% if build.type ==
"release" %}
31 {% module CommitMessage(build.commit) %}
36 {{ _(
"Author") }} {% module Maintainer(build.commit.author) %}
37 <span class=
"pull-right">{{ locale.format_date(build.created, shorter=True) }}
</span>
41 {{ _(
"No commit message.") }}
42 <span class=
"pull-right">{{ locale.format_date(build.created, shorter=True) }}
</span>
46 {% elif build.type ==
"scratch" %}
48 {{ _(
"Owner") }} {% module Maintainer(build.owner) %}
50 <span class=
"pull-right">{{ locale.format_date(build.created, shorter=True) }}
</span>