diff options
author | Magnus Granberg <zorry@gentoo.org> | 2017-01-06 18:38:55 +0100 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2017-01-06 18:38:55 +0100 |
commit | 8075fca3b427cdedb19c50bf8c8ede5476aaf7ad (patch) | |
tree | 6065bda87ed2ee727cb79f614e57714b0a0f2aa2 /python/templates/includes/frontpage/new_build_req | |
parent | Update for django 1.10 and fix links for css and js (diff) | |
download | tinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.tar.gz tinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.tar.bz2 tinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.zip |
Redone the layout
Diffstat (limited to 'python/templates/includes/frontpage/new_build_req')
-rw-r--r-- | python/templates/includes/frontpage/new_build_req | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/python/templates/includes/frontpage/new_build_req b/python/templates/includes/frontpage/new_build_req index 3a47530..52a41fe 100644 --- a/python/templates/includes/frontpage/new_build_req +++ b/python/templates/includes/frontpage/new_build_req @@ -1,15 +1,16 @@ -<table class="table table-striped frontpage-table"> - {% for k, v in BJ.items %} - <tr> - <td class="frontpage-table-package-atom"><a href="/new_build_req/{{ k }}" title="{{ v.C }}/{{ v.P }}-{{ v.V }}::{{ v.R }}">{{ v.C }}/{{ v.P }}-{{ v.V }}::{{ v.R }}</a></td> - <td><p title="{{ v.title }}">{{ v.title|truncatewords:2}}</p> - <td class="text-right"> - {% if v.Status == 'Building' %} +{% for k, v in BJ.items %} +<tr> + <td> + <a href="/new_build_req/{{ k }}"> + <span class="text-muted">{{ v.C }}/</span>/<strong>{{ v.P }}-{{ v.V }}::{{ v.R }}</strong> + </a> + </td> + <td> + {% if v.Status == 'Building' %} <span class="label label-primary">{{ v.Status }}</span> {% else %} <span class="label label-default">{{ v.Status }}</span> {% endif %} - </td></td> - </tr> - {% endfor %} -</table>
\ No newline at end of file + </td> +</tr> +{% endfor %} |