Author: rjollos
Date: Mon Sep 30 04:00:27 2013
New Revision: 1527437
URL: http://svn.apache.org/r1527437
Log:
0.8dev: PEP-0008 whitespace changes.
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html?rev=1527437&r1=1527436&r2=1527437&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html Mon
Sep 30 04:00:27 2013
@@ -107,10 +107,10 @@
class="${'odd' if idx % 2 else 'even'}">
<td>$subject</td>
<td>
- <py:for each="cnt, (subject,action) in enumerate(perm_group)"
- py:with="subject_action='%s:%s' %
(unicode_to_base64(subject),
-
unicode_to_base64(action));
- subject_action_id='sa-%d-%d' % (idx, cnt)">
+ <py:for each="cnt, (subject, action) in
enumerate(perm_group)"
+ py:with="subject_action = '%s:%s' %
(unicode_to_base64(subject),
+
unicode_to_base64(action));
+ subject_action_id = 'sa-%d-%d' % (idx,
cnt)">
<!--! base64 make it safe to use ':' as separator when
passing
both subject and action as one query parameter -->
<label for="$subject_action_id" class="checkbox inline">
@@ -126,8 +126,7 @@
</table>
<h3>Group Membership</h3>
- <table class="table table-bordered table-striped table-condensed"
- id="grouplist">
+ <table class="table table-bordered table-striped table-condensed"
id="grouplist">
<thead>
<tr><th>Subject</th><th class="full-x">Action</th></tr>
</thead>
@@ -144,8 +143,7 @@
<!--! base64 makes it safe to use ':' as separator when
passing
both subject and action as one query parameter -->
<label for="$subject_action_id" class="checkbox inline">
- <input py:if="can_revoke" type="checkbox"
- id="$subject_action_id"
+ <input py:if="can_revoke" type="checkbox"
id="$subject_action_id"
name="sel" value="$subject_action" />
$subject
</label>
@@ -158,7 +156,7 @@
<br/>
<div class="control-group" py:if="can_revoke">
<input class="btn" type="submit" name="remove"
- value="${_('Remove selected items')}" />
+ value="${_('Remove selected items')}" />
</div>
</form>
@@ -174,4 +172,3 @@
</body>
</html>
-