diff options
author | 2015-07-17 00:41:57 +0200 | |
---|---|---|
committer | 2015-07-17 00:41:57 +0200 | |
commit | b064d9675554a6ea3d518a2891b4c1495f26011c (patch) | |
tree | 5491d7e8b12527c75d530d57907c46bc24c63c58 /python/templates/includes | |
parent | add the new home page for tbc (diff) | |
download | tinderbox-cluster-www-b064d9675554a6ea3d518a2891b4c1495f26011c.tar.gz tinderbox-cluster-www-b064d9675554a6ea3d518a2891b4c1495f26011c.tar.bz2 tinderbox-cluster-www-b064d9675554a6ea3d518a2891b4c1495f26011c.zip |
add more info for new build request and new build logs on home
Diffstat (limited to 'python/templates/includes')
-rw-r--r-- | python/templates/includes/frontpage/new_build_req | 6 | ||||
-rw-r--r-- | python/templates/includes/frontpage/new_logs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/python/templates/includes/frontpage/new_build_req b/python/templates/includes/frontpage/new_build_req index 23b6f2d..53a3fcb 100644 --- a/python/templates/includes/frontpage/new_build_req +++ b/python/templates/includes/frontpage/new_build_req @@ -1,8 +1,8 @@ <table class="table table-striped frontpage-table"> - {% for J in BJ %} + {% for k, v in BJ.items %} <tr> - <td class="frontpage-table-package-atom"><a href="/new_build_req/{{ J.EbuildId.EbuildId }}" title="{{ J.EbuildId.PackageId.CategoryId.Category }}/{{ J.EbuildId.PackageId.Package }}-{{ J.EbuildId.Version }}::{{ J.EbuildId.PackageId.RepoId.Repo }}">{{ J.EbuildId.PackageId.CategoryId.Category }}/{{ J.EbuildId.PackageId.Package }}-{{ J.EbuildId.Version }}::{{ J.EbuildId.PackageId.RepoId.Repo }}</a></td> - <td></td> + <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> </tr> {% endfor %} </table>
\ No newline at end of file diff --git a/python/templates/includes/frontpage/new_logs b/python/templates/includes/frontpage/new_logs index 9480155..6534201 100644 --- a/python/templates/includes/frontpage/new_logs +++ b/python/templates/includes/frontpage/new_logs @@ -3,7 +3,7 @@ <tr> <td class="frontpage-table-package-atom"><a href="/new_logs/{{ B.BuildLogId }}/" title="{{ B.EbuildId.PackageId.CategoryId.Category }}/{{ B.EbuildId.PackageId.Package }}-{{ B.EbuildId.Version }}::{{ B.EbuildId.PackageId.RepoId.Repo }}"> {{ B.EbuildId.PackageId.CategoryId.Category }}/{{ B.EbuildId.PackageId.Package }}-{{ B.EbuildId.Version }}::{{ B.EbuildId.PackageId.RepoId.Repo }}</a></td> - <td><p title="{{ B.SummeryText }}">{{ B.SummeryText|truncatewords:3 }}</p></td> + <td><p title="{{ B.SummeryText }}">{{ B.SummeryText|truncatewords:3 }}</p><td class="text-right">{% if B.Fail %}<span class="label label-danger">Fail</span>{% endif %}</td></td> </tr> {% endfor %} </table>
\ No newline at end of file |