[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-171-g2919773

Shawn Moore sartak at bestpractical.com
Thu Jul 15 21:27:17 EDT 2010


The branch, 3.9-trunk has been updated
       via  29197738ef8c6d6cc5672acc88ff7b60464acde6 (commit)
      from  e3b68b210a1f1a7837eb96e53084e587d0119db0 (commit)

Summary of changes:
 share/html/Admin/Elements/AddCustomFieldValue   |    6 +++---
 share/html/Admin/Elements/EditCustomFieldValues |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit 29197738ef8c6d6cc5672acc88ff7b60464acde6
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Jul 15 21:28:38 2010 -0400

    Add CSS classes to category fields in custom field administration

diff --git a/share/html/Admin/Elements/AddCustomFieldValue b/share/html/Admin/Elements/AddCustomFieldValue
index 9fe464a..c0bd9aa 100755
--- a/share/html/Admin/Elements/AddCustomFieldValue
+++ b/share/html/Admin/Elements/AddCustomFieldValue
@@ -54,7 +54,7 @@
 <th><&|/l&>Name</&></th>
 <th><&|/l&>Description</&></th>
 % if ( $CustomField->Type ne 'Combobox' ) {
-<th><&|/l&>Category</&></th>
+<th class="categoryheader"><&|/l&>Category</&></th>
 % }
 </tr>
 
@@ -68,13 +68,13 @@
 % my $BasedOnObj = $CustomField->BasedOnObj;
 % if ( $BasedOnObj and $BasedOnObj->id ) {
 % my $Categories = $BasedOnObj->Values;
-<select name="<% $paramtag %>-Category" size="1">
+<select class="editcategory" name="<% $paramtag %>-Category" size="1">
 <option value=""><&|/l&>(no value)</&></option>
 % while (my $Value = $Categories->Next) {
 <option value="<% $Value->Name %>"><% $Value->Name %></option>
 % }
 %   } else {
-<input type="text" size="10" name="<% $paramtag %>-Category" value="" />
+<input type="text" size="10" class="editcategory" name="<% $paramtag %>-Category" value="" />
 %   }
 </td>
 % }
diff --git a/share/html/Admin/Elements/EditCustomFieldValues b/share/html/Admin/Elements/EditCustomFieldValues
index 96610b2..91f80ab 100755
--- a/share/html/Admin/Elements/EditCustomFieldValues
+++ b/share/html/Admin/Elements/EditCustomFieldValues
@@ -58,7 +58,7 @@
 <th><&|/l&>Name</&></th>
 <th><&|/l&>Description</&></th>
 % if ($CustomField->Type ne 'Combobox') {
-<th><&|/l&>Category</&></th>
+<th class="categoryheader"><&|/l&>Category</&></th>
 % }
 </tr>
 
@@ -74,13 +74,13 @@
 %   if ( $Categories ) {
 % my $selected = $value->Category;
 % $selected = '' unless defined $selected;
-<select name="<% $paramtag %>-Category" size="1">
+<select class="editcategory" name="<% $paramtag %>-Category" size="1">
 <option value=""<% $selected eq '' ? q[ selected="selected"] : "" |n%>><&|/l&>(no value)</&></option>
 % while (my $Value = $Categories->Next) {
 <option value="<% $Value->Name %>"<% $selected eq $Value->Name ? q[ selected="selected"] : "" |n%>><% $Value->Name %></option>
 % }
 %   } else {
-<input type="text" size="10" name="<% $paramtag %>-Category" value="<% $value->Category || '' %>" />
+<input type="text" size="10" class="editcategory" name="<% $paramtag %>-Category" value="<% $value->Category || '' %>" />
 %   }
 </td>
 % }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list