[Rt-commit] rt branch, 4.6/tweak-elevator-themes, updated. rt-4.4.4-417-g1abea8fe9

Jim Brandt jbrandt at bestpractical.com
Fri Oct 18 10:33:54 EDT 2019


The branch, 4.6/tweak-elevator-themes has been updated
       via  1abea8fe981cde452d233286c5ecebfa3c5f72d7 (commit)
       via  afe19fc4760b1436fe7f723e45895f48b0730118 (commit)
       via  d2e42126943d42f3afc28bad780d74c61e45ce9f (commit)
       via  70d1a2f3a8af7f128b50ff368e183d79e0b9cc57 (commit)
      from  57dd010e2c34799fe84d8ef175a3a01528b4e58c (commit)

Summary of changes:
 share/html/Ticket/Elements/ShowAssets             | 12 +++++++-----
 share/html/Ticket/Elements/ShowRequestor          |  3 +--
 share/html/User/Elements/Portlets/CreateTicket    |  4 ++--
 share/static/css/elevator-light/rights-editor.css | 18 ++++++++++++++++++
 4 files changed, 28 insertions(+), 9 deletions(-)

- Log -----------------------------------------------------------------
commit 70d1a2f3a8af7f128b50ff368e183d79e0b9cc57
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Oct 17 17:00:14 2019 -0400

    Properly quote href attribute

diff --git a/share/html/Ticket/Elements/ShowRequestor b/share/html/Ticket/Elements/ShowRequestor
index 2f64ae9ef..1fd52c478 100644
--- a/share/html/Ticket/Elements/ShowRequestor
+++ b/share/html/Ticket/Elements/ShowRequestor
@@ -131,10 +131,9 @@
       <div class="more-about-user-groups">
         <div class="label">
           <&|/l&>Groups this user belongs to</&>
-    
 % if ( $session{CurrentUser}->HasRight( Right => 'AdminUsers', Object => $RT::System ) &&
 %      $session{CurrentUser}->HasRight( Right => 'ShowConfigTab', Object =>$RT::System ) ) {
-          [<a href=<% RT->Config->Get('WebPath') . '/Admin/Users/Memberships.html?id=' . $requestor->id %> ><&|/l&>Edit</&></a>]
+          [<a href="<% RT->Config->Get('WebPath') . '/Admin/Users/Memberships.html?id=' . $requestor->id %>" ><&|/l&>Edit</&></a>]
 % }
         </div>
         <div class="value col-md-9"><& /Elements/ShowMemberships, UserObj => $requestor, Limit => $grouplimit &></div>

commit d2e42126943d42f3afc28bad780d74c61e45ce9f
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Oct 17 17:31:57 2019 -0400

    Add spacing on rights editor layout

diff --git a/share/static/css/elevator-light/rights-editor.css b/share/static/css/elevator-light/rights-editor.css
index d6b4df437..be2569b3a 100644
--- a/share/static/css/elevator-light/rights-editor.css
+++ b/share/static/css/elevator-light/rights-editor.css
@@ -23,6 +23,24 @@
   margin-top: 0.5em;
 }
 
+.rights-editor .category {
+  font-size: medium;
+}
+
 .principal-tabs .nav-tabs .nav-item {
   margin-bottom: 0.25em;
 }
+
+.rights-list {
+  padding-left: 15px;
+  padding-right: 15px;
+}
+
+.tab-content {
+  padding: 10px;
+}
+
+.principal-tabs {
+  padding: 10px;
+
+}

commit afe19fc4760b1436fe7f723e45895f48b0730118
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Oct 18 08:13:26 2019 -0400

    Add button style to Create button on user summary

diff --git a/share/html/User/Elements/Portlets/CreateTicket b/share/html/User/Elements/Portlets/CreateTicket
index addad5b23..c26481aa0 100644
--- a/share/html/User/Elements/Portlets/CreateTicket
+++ b/share/html/User/Elements/Portlets/CreateTicket
@@ -47,10 +47,10 @@
 %# END BPS TAGGED BLOCK }}}
 <&| /Widgets/TitleBox, title => loc('Quick ticket creation'), class => "user create-ticket" &>
 <form action="<%RT->Config->Get('WebPath')%>/Ticket/Create.html">
-<&|/l&>Create a ticket with this user as the Requestor in Queue</&>
+<&|/l&>Create a ticket with this user as the Requestor in Queue: </&>
 <input type="hidden" name="Requestors" value="<%$User->EmailAddress%>">
 <& /Elements/SelectNewTicketQueue &>
-<input type="submit" value="<&|/l&>Create</&>">
+<input type="submit" name="CreateTicket" value="<&|/l&>Create</&>" class="button btn btn-primary form-control">
 </form>
 </&>
 <%ARGS>

commit 1abea8fe981cde452d233286c5ecebfa3c5f72d7
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Oct 18 10:27:33 2019 -0400

    Style asset add button on ticket display

diff --git a/share/html/Ticket/Elements/ShowAssets b/share/html/Ticket/Elements/ShowAssets
index df90c034c..802e7a1cc 100644
--- a/share/html/Ticket/Elements/ShowAssets
+++ b/share/html/Ticket/Elements/ShowAssets
@@ -219,11 +219,13 @@ if ($ShowRelatedTickets) {
 
 % if ($Ticket->CurrentUserHasRight("ModifyTicket")) {
   <div class="add-asset">
-    <label>
-      <&|/l&>Add an asset to this ticket</&>
-    <input class="form-control" size="10" name="<% $Ticket->id %>-RefersTo" placeholder="<&|/l&>Asset #</&>" type="text">
-    </label>
-    <input type="submit" value="+">
+    <label><&|/l&>Add an asset to this ticket:</&></label>
+    <div class="form-row">
+      <div class="form-group mx-sm-3 mb-2">
+        <input class="form-control mb-2" size="10" name="<% $Ticket->id %>-RefersTo" placeholder="<&|/l&>Asset #</&>" type="text">
+      </div>
+      <button type="submit" name="AddAsset" value="Add" class="button btn btn-primary form-control mb-2">Add</button>
+    </div>
   </div>
 % }
 

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


More information about the rt-commit mailing list