[Rt-commit] rt branch, 4.2/delete-all-cf-values-in-bulk, updated. rt-4.1.19-86-g2be6561
Ruslan Zakirov
ruz at bestpractical.com
Fri Sep 6 16:12:20 EDT 2013
The branch, 4.2/delete-all-cf-values-in-bulk has been updated
via 2be656159334d8ec1bbe1ddc1a985d749fcd1963 (commit)
from bcb8f0f6d6955248a1d33cd63a3a7d1767480a81 (commit)
Summary of changes:
share/html/Elements/BulkCustomFields | 6 +++---
share/static/css/base/misc.css | 7 +++++++
2 files changed, 10 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 2be656159334d8ec1bbe1ddc1a985d749fcd1963
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Sat Sep 7 00:11:09 2013 +0400
zebra stripes for custom fields in bulk updates
diff --git a/share/html/Elements/BulkCustomFields b/share/html/Elements/BulkCustomFields
index d486c7c..b1f54cc 100644
--- a/share/html/Elements/BulkCustomFields
+++ b/share/html/Elements/BulkCustomFields
@@ -45,16 +45,16 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<table>
+<table class="bulk-edit-custom-fields">
<tr>
<th><&|/l&>Name</&></th>
<th><&|/l&>Add values</&></th>
<th><&|/l&>Delete values</&></th>
</tr>
-
+% my $i = 0;
% while (my $cf = $CustomFields->Next) {
-<tr>
+<tr class="<% ++$i%2 ? 'oddline': 'evenline' %>">
<td class="label"><% loc($cf->Name) %><br />
<em>(<% $cf->FriendlyType %>)</em></td>
% my $rows = 5;
diff --git a/share/static/css/base/misc.css b/share/static/css/base/misc.css
index 0691569..f0fd488 100644
--- a/share/static/css/base/misc.css
+++ b/share/static/css/base/misc.css
@@ -55,6 +55,13 @@ fieldset.cfedit {
margin: 0;
}
+table.bulk-edit-custom-fields {
+ border-spacing: 0;
+}
+table.bulk-edit-custom-fields tr td {
+ padding-bottom: 0.5em;
+}
+
.query-stacktrace-toggle {
float: right;
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list