[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.0alpha1-378-g488ff593d8

? sunnavy sunnavy at bestpractical.com
Thu May 7 09:40:56 EDT 2020


The branch, 5.0-trunk has been updated
       via  488ff593d8e255a8d669cff0e748b03607495633 (commit)
       via  05e110ee16f646a28c361d14beff22c0150e8e03 (commit)
      from  505bba52c9785f773a73a178dfcec3f5f08ea06b (commit)

Summary of changes:
 share/html/Search/Elements/EditSearches | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit 05e110ee16f646a28c361d14beff22c0150e8e03
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed May 6 17:49:32 2020 -0400

    Move saved search buttons to a new row
    
    When loading a saved search, the previous display
    with three buttons next to the Description box
    limited the size of the box. Moving the buttons to a
    new row gives the description box the full line.

diff --git a/share/html/Search/Elements/EditSearches b/share/html/Search/Elements/EditSearches
index 9108ef1133..1354cee12b 100644
--- a/share/html/Search/Elements/EditSearches
+++ b/share/html/Search/Elements/EditSearches
@@ -58,22 +58,26 @@
 </div>
   <div class="form-row">
     <div class="label col-4"><&|/l&>Description</&>:</div>
-    <div class="col-8 input-group">
+    <div class="col-8">
       <input type="text" size="25" name="SavedSearchDescription" value="<% $Description || '' %>" class="form-control" />
+    </div>
+  </div>
+  <div class="form-row justify-content-end">
+    <div class="col-auto">
 % if ($Id ne 'new') {
 % if ( $Dirty ) {
-<input type="submit" class="button btn btn-primary" name="SavedSearchRevert" value="<%loc('Revert')%>" />
+<input type="submit" class="button btn btn-primary mr-1" name="SavedSearchRevert" value="<%loc('Revert')%>" />
 % }
-<input type="submit" class="button btn btn-primary" name="SavedSearchDelete" value="<%loc('Delete')%>" />
+<input type="submit" class="button btn btn-primary mr-1" name="SavedSearchDelete" value="<%loc('Delete')%>" />
 % if ( $AllowCopy ) {
-<input type="submit" class="button btn btn-primary" name="SavedSearchCopy"   value="<%loc('Save as New')%>" />
+<input type="submit" class="button btn btn-primary mr-1" name="SavedSearchCopy"   value="<%loc('Save as New')%>" />
 % }
 % }
 
 % if ( $Object && $Object->Id && $Object->CurrentUserHasRight('update') ) {
-<input type="submit" class="button btn btn-primary" id="SavedSearchSave" name="SavedSearchSave"   value="<%loc('Update')%>" />
+<input type="submit" class="button btn btn-primary mr-1" id="SavedSearchSave" name="SavedSearchSave"   value="<%loc('Update')%>" />
 % } elsif ( !$Object ) {
-<input type="submit" class="button btn btn-primary" id="SavedSearchSave" name="SavedSearchSave"   value="<%loc('Save')%>" />
+<input type="submit" class="button btn btn-primary mr-1" id="SavedSearchSave" name="SavedSearchSave"   value="<%loc('Save')%>" />
 %}
 % }
     </div>

commit 488ff593d8e255a8d669cff0e748b03607495633
Merge: 505bba52c9 05e110ee16
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu May 7 21:33:25 2020 +0800

    Merge branch '5.0/saved-search-button-wrap' into 5.0-trunk


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


More information about the rt-commit mailing list