Author: matevz
Date: Wed May 15 07:56:21 2013
New Revision: 1482715
URL: http://svn.apache.org/r1482715
Log:
Ref. #522, #523 - remove table striping + fix exception in EnvironmentSetup due
to missing method of ITemplateProviderMethods
Modified:
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
bloodhound/trunk/bloodhound_relations/bhrelations/api.py
bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html
Modified:
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html?rev=1482715&r1=1482714&r2=1482715&view=diff
==============================================================================
---
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
(original)
+++
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
Wed May 15 07:56:21 2013
@@ -24,7 +24,7 @@
<py:choose test="">
<py:when test="relations">
- <table class="table table-striped table-condensed table-bordered">
+ <table class="table table-condensed table-bordered">
<thead>
<tr>
<th>Type</th><th>Product</th><th>Ticket</th><th>Comment</th><th>Author</th><th>Changed</th>
Modified: bloodhound/trunk/bloodhound_relations/bhrelations/api.py
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_relations/bhrelations/api.py?rev=1482715&r1=1482714&r2=1482715&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_relations/bhrelations/api.py (original)
+++ bloodhound/trunk/bloodhound_relations/bhrelations/api.py Wed May 15
07:56:21 2013
@@ -150,6 +150,9 @@ class EnvironmentSetup(Component):
"""provide the plugin templates"""
return [resource_filename(__name__, 'templates')]
+ def get_htdocs_dirs(self):
+ return None
+
class RelationsSystem(Component):
PARENT_RELATION_TYPE = 'parent'
Modified:
bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html?rev=1482715&r1=1482714&r2=1482715&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html
(original)
+++ bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html Wed
May 15 07:56:21 2013
@@ -78,29 +78,27 @@
<div class="span8">
<py:choose>
<form py:when="relations" id="rmrelations" class="form-horizontal"
method="post" action="">
- <table class="table table-striped table-condensed table-bordered">
+ <table class="table table-condensed table-bordered">
<thead>
<tr>
<th class="sel"><i class="icon-check"></i></th>
<th>Type</th><th>Product</th><th>Ticket</th><th>Comment</th><th>Author</th><th>Changed</th>
</tr>
</thead>
- <tbody>
- <py:for each="relgroup,items in relations.iteritems()">
- <tr py:for="item in items">
- <td class="sel"><input type="checkbox" name="sel"
value="${item.relation_id}" /></td>
- <td>${relgroup if items.index(item) == 0 else None}</td>
- <td>
- <a
href="${href.products(item['destticket'].env.product.prefix)}">
- ${item['destticket'].env.product.name}
(${item['destticket'].env.product.prefix})
- </a>
- </td>
- <td><a
href="${item['desthref']}">#${item['destticket'].id}</a> -
${item['destticket'].summary}</td>
- <td>$item.comment</td>
- <td>$item.author</td>
- <td>${pretty_dateinfo(item.when)}</td>
- </tr>
- </py:for>
+ <tbody py:for="relgroup,items in relations.iteritems()">
+ <tr py:for="item in items">
+ <td class="sel"><input type="checkbox" name="sel"
value="${item.relation_id}" /></td>
+ <td>${relgroup if items.index(item) == 0 else None}</td>
+ <td>
+ <a
href="${href.products(item['destticket'].env.product.prefix)}">
+ ${item['destticket'].env.product.name}
(${item['destticket'].env.product.prefix})
+ </a>
+ </td>
+ <td><a
href="${item['desthref']}">#${item['destticket'].id}</a> -
${item['destticket'].summary}</td>
+ <td>$item.comment</td>
+ <td>$item.author</td>
+ <td>${pretty_dateinfo(item.when)}</td>
+ </tr>
</tbody>
</table>