[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-119-g3c080e0

Alex Vandiver alexmv at bestpractical.com
Mon Oct 4 18:07:55 EDT 2010


The branch, 3.9-trunk has been updated
       via  3c080e0755a3933c1ccfef727dba9da6734da5ab (commit)
       via  8dbba11ff93cdda7c8c2b05b4b7883c974426cd0 (commit)
       via  95415785aaf6f25c4227b275fb1d4f4a3002705e (commit)
       via  349b5d0a5a463265179d4220cc54e3fef2f578fb (commit)
      from  30cc0b7c8525826754bec858dc7be2dea07bf872 (commit)

Summary of changes:
 share/html/Elements/ShowCustomFields  |    1 +
 share/html/NoAuth/css/web2/ticket.css |    9 +++++++++
 share/html/Ticket/Create.html         |    3 ++-
 share/html/Ticket/Modify.html         |    1 +
 share/html/Ticket/ModifyAll.html      |    1 +
 5 files changed, 14 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 349b5d0a5a463265179d4220cc54e3fef2f578fb
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Oct 4 16:23:37 2010 -0400

    For parity with Update.html, and legibility, make the table full-width

diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index 197b444..7efba2d 100755
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -70,7 +70,7 @@
 <div id="ticket-create-metadata">
   <&| /Widgets/TitleBox, title => loc("Ticket") &>
     <input type="hidden" class="hidden" name="Queue" value="<% $QueueObj->Id %>" />
-    <table border="0">
+    <table width="100%" border="0">
     <& /Ticket/Elements/EditBasics,
         InTable => 1,
         fields  => [

commit 95415785aaf6f25c4227b275fb1d4f4a3002705e
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Oct 4 18:07:07 2010 -0400

    Give the MassageCustomFields callback access to the rest of the args to ShowCustomFields

diff --git a/share/html/Elements/ShowCustomFields b/share/html/Elements/ShowCustomFields
index b608fcc..6e3ea83 100644
--- a/share/html/Elements/ShowCustomFields
+++ b/share/html/Elements/ShowCustomFields
@@ -77,6 +77,7 @@
 % $m->callback( CallbackName => 'AfterCustomFields', Object => $Object );
 <%INIT>
 $m->callback(
+    %ARGS,
     CallbackName => 'MassageCustomFields',
     Object => $Object,
     CustomFields => $CustomFields,

commit 8dbba11ff93cdda7c8c2b05b4b7883c974426cd0
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Oct 4 18:07:25 2010 -0400

    Add some callbacks after basic information boxes

diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index 7efba2d..fda7a1a 100755
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -108,6 +108,7 @@
       <& /Ticket/Elements/EditTransactionCustomFields, %ARGS, QueueObj => $QueueObj &>
     </table>
   </&>
+% $m->callback( CallbackName => 'AfterBasics', QueueObj => $QueueObj );
 </div>
 
 <div id="ticket-create-message">
diff --git a/share/html/Ticket/Modify.html b/share/html/Ticket/Modify.html
index ec74fe3..75872ab 100755
--- a/share/html/Ticket/Modify.html
+++ b/share/html/Ticket/Modify.html
@@ -61,6 +61,7 @@
 <& Elements/EditBasics, TicketObj => $TicketObj &>
 <& Elements/EditCustomFields, TicketObj => $TicketObj, DefaultsFromTopArguments => 0 &>
 </&>
+% $m->callback( CallbackName => 'AfterBasics', Ticket => $TicketObj );
 
 <& /Elements/Submit, Name => 'SubmitTicket', Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), color => "#993333" &>
 </form>
diff --git a/share/html/Ticket/ModifyAll.html b/share/html/Ticket/ModifyAll.html
index 47aeac8..63061fb 100755
--- a/share/html/Ticket/ModifyAll.html
+++ b/share/html/Ticket/ModifyAll.html
@@ -63,6 +63,7 @@
 <& Elements/EditCustomFields, TicketObj => $Ticket &>
 </&>
 
+% $m->callback(CallbackName => 'AfterBasics', Ticket => $Ticket);
 <br />
 
 <&| /Widgets/TitleBox, title => loc('Dates'), class=>'ticket-info-dates'&>

commit 3c080e0755a3933c1ccfef727dba9da6734da5ab
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Oct 4 18:08:16 2010 -0400

    Make text, wikitext, and freefor boxes wider
    
    This is particularly necessary on the Create page, where the CF boxes
    are crammed into a narrow sidebar.

diff --git a/share/html/NoAuth/css/web2/ticket.css b/share/html/NoAuth/css/web2/ticket.css
index 08fba58..f97c541 100644
--- a/share/html/NoAuth/css/web2/ticket.css
+++ b/share/html/NoAuth/css/web2/ticket.css
@@ -275,3 +275,12 @@ div.requestor-ticket-links {
     margin-top: 0;
     margin-bottom: 0;
 }
+
+
+/* textareas get to be bigger */
+.edit-custom-field.cftype-Text textarea,
+.edit-custom-field.cftype-Freeform input,
+.edit-custom-field.cftype-Wikitext textarea
+{
+    width: 100%;
+}

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


More information about the Rt-commit mailing list