summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2015-08-02 01:15:22 +0200
committerMagnus Granberg <zorry@gentoo.org>2015-08-02 01:15:22 +0200
commit3a0f050105a610e1c4030471356916c96537d775 (patch)
tree6f6a4ea9046e7aa0f4ef34392ae987a8aa607c93
parentadd repoman full support (diff)
downloadtinderbox-cluster-www-3a0f050105a610e1c4030471356916c96537d775.tar.gz
tinderbox-cluster-www-3a0f050105a610e1c4030471356916c96537d775.tar.bz2
tinderbox-cluster-www-3a0f050105a610e1c4030471356916c96537d775.zip
fix new repoman qa to show repoman full
-rw-r--r--python/templates/pages/new/repomanqa/index.html31
1 files changed, 24 insertions, 7 deletions
diff --git a/python/templates/pages/new/repomanqa/index.html b/python/templates/pages/new/repomanqa/index.html
index d634b67..637c917 100644
--- a/python/templates/pages/new/repomanqa/index.html
+++ b/python/templates/pages/new/repomanqa/index.html
@@ -3,19 +3,36 @@
<div class="row">
<h2>New Repoman and QA's</h2>
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
- {% for RM in RM_tmp %}
+ {% for QA in QA_tmp %}
<div class="panel panel-default">
- <div class="panel-heading" role="tab" id="heading{{ RM.Id }}">
+ <div class="panel-heading" role="tab" id="heading{{ QA.Id }}">
<h4 class="panel-title">
- <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{{ RM.Id }}" aria-expanded="false" aria-controls="collapse{{ RM.Id }}">
- {{ RM.BuildLogId.EbuildId.PackageId.CategoryId.Category }}/{{ RM.BuildLogId.EbuildId.PackageId.Package }}-{{ RM.BuildLogId.EbuildId.Version }}::{{ RM.BuildLogId.EbuildId.PackageId.RepoId.Repo }}
- {{ RM.SummeryText|truncatewords:6 }}
+ <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{{ QA.Id }}" aria-expanded="false" aria-controls="collapse{{ Qa.Id }}">
+ {{ QA.BuildLogId.EbuildId.PackageId.CategoryId.Category }}/{{ QA.BuildLogId.EbuildId.PackageId.Package }}-{{ QA.BuildLogId.EbuildId.Version }}::{{ QA.BuildLogId.EbuildId.PackageId.RepoId.Repo }}
+ {{ QA.SummeryText|truncatewords:6 }}
</a>
</h4>
</div>
- <div id="collapse{{ RM.Id }}" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading{{ RM.Id }}">
+ <div id="collapse{{ QA.Id }}" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading{{ QA.Id }}">
<div class="panel-body">
- {{ RM.SummeryText|linebreaksbr }}
+ {{ QA.SummeryText|linebreaksbr }}
+ </div>
+ </div>
+ </div>
+ {% endfor %}
+ {% for PR in PR_tmp %}
+ <div class="panel panel-default">
+ <div class="panel-heading" role="tab" id="heading{{ PR.Id }}">
+ <h4 class="panel-title">
+ <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{{ PR.Id }}" aria-expanded="false" aria-controls="collapse{{ PR.Id }}">
+ {{ PR.PackageId.CategoryId.Category }}/{{ PR.PackageId.Package }}::{{ PR.PackageId.RepoId.Repo }}
+ {{ PR.RepomanText|truncatewords:6 }}
+ </a>
+ </h4>
+ </div>
+ <div id="collapse{{ PR.Id }}" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading{{ PR.Id }}">
+ <div class="panel-body">
+ {{ PR.RepomanText|linebreaksbr }}
</div>
</div>
</div>