[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-192-g2cd4839

Thomas Sibley trs at bestpractical.com
Thu Jul 29 16:15:18 EDT 2010


The branch, 3.9-trunk has been updated
       via  2cd4839558c56ab3d26197673239a7ab5f468b64 (commit)
       via  ba6f7fb22690da5f48e36b3571bcb02548478dd4 (commit)
       via  a22a19d822426324c3d4697664eb2d4e3375f3b2 (commit)
      from  c4aa1537c678754230a9d3f9522fb93b954f323a (commit)

Summary of changes:
 share/html/NoAuth/css/base/misc.css         |    4 ++++
 share/html/NoAuth/css/web2/forms.css        |    2 +-
 share/html/Ticket/Elements/EditCustomFields |    8 ++++----
 3 files changed, 9 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit a22a19d822426324c3d4697664eb2d4e3375f3b2
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Jul 29 15:52:09 2010 -0400

    Tag the CF name and type with a class for each

diff --git a/share/html/NoAuth/css/base/misc.css b/share/html/NoAuth/css/base/misc.css
index eb3c171..f82b659 100644
--- a/share/html/NoAuth/css/base/misc.css
+++ b/share/html/NoAuth/css/base/misc.css
@@ -112,3 +112,6 @@ hr.clear {
     margin: 0.5em;
 }
 
+.cflabel .name { font-weight: bold; }
+.cflabel .type { font-style: italic; }
+
diff --git a/share/html/Ticket/Elements/EditCustomFields b/share/html/Ticket/Elements/EditCustomFields
index e9438d9..1507068 100755
--- a/share/html/Ticket/Elements/EditCustomFields
+++ b/share/html/Ticket/Elements/EditCustomFields
@@ -52,8 +52,8 @@
 
   <div class="edit-custom-field">
     <div class="cflabel">
-      <b><% loc($CustomField->Name) %></b><br />
-      <i><% $CustomField->FriendlyType %></i>
+      <span class="name"><% loc($CustomField->Name) %></span><br />
+      <span class="type"><% $CustomField->FriendlyType %></span>
     </div>
     <div class="entry">
 % my $default = $m->notes('Field-' . $CustomField->Id);

commit ba6f7fb22690da5f48e36b3571bcb02548478dd4
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Jul 29 16:15:57 2010 -0400

    Add the CF type as a class on the CF edit widgets

diff --git a/share/html/Ticket/Elements/EditCustomFields b/share/html/Ticket/Elements/EditCustomFields
index 1507068..e5040a6 100755
--- a/share/html/Ticket/Elements/EditCustomFields
+++ b/share/html/Ticket/Elements/EditCustomFields
@@ -49,8 +49,8 @@
 <div class="edit-custom-fields">
 % while ( my $CustomField = $CustomFields->Next ) {
 % next unless $CustomField->CurrentUserHasRight('ModifyCustomField');
-
-  <div class="edit-custom-field">
+% my $Type = $CustomField->Type || 'Unknown';
+  <div class="edit-custom-field cftype-<% $Type %>">
     <div class="cflabel">
       <span class="name"><% loc($CustomField->Name) %></span><br />
       <span class="type"><% $CustomField->FriendlyType %></span>

commit 2cd4839558c56ab3d26197673239a7ab5f468b64
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Jul 29 16:16:51 2010 -0400

    Style the CF editing widgets just a tad nicer

diff --git a/share/html/NoAuth/css/base/misc.css b/share/html/NoAuth/css/base/misc.css
index f82b659..89e52d0 100644
--- a/share/html/NoAuth/css/base/misc.css
+++ b/share/html/NoAuth/css/base/misc.css
@@ -104,6 +104,7 @@ hr.clear {
 
 .cflabel {
     float: left;
+    padding-right: 0.5em;
 }
 
 .edit-custom-field {
diff --git a/share/html/NoAuth/css/web2/forms.css b/share/html/NoAuth/css/web2/forms.css
index fdc788c..ca56716 100755
--- a/share/html/NoAuth/css/web2/forms.css
+++ b/share/html/NoAuth/css/web2/forms.css
@@ -146,7 +146,7 @@ div.results .titlebox-content {
  text-align: right;
  font-size: 0.8em;
  padding-right: .5em;
- width: 25%;
+ width: 12em;
 }
 
 .labeltop, .label, .value {

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


More information about the Rt-commit mailing list