diff options
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 %} |