[open-ils-commits] [GIT] Evergreen ILS branch master updated. 7b59293cac73023bcc6c8e042ab47fab2a20830d

Evergreen Git git at git.evergreen-ils.org
Tue Dec 18 11:33:16 EST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  7b59293cac73023bcc6c8e042ab47fab2a20830d (commit)
      from  4fca2c7ba62469646fe6aea141304f5d35b54105 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7b59293cac73023bcc6c8e042ab47fab2a20830d
Author: Jane Sandberg <sandbej at linnbenton.edu>
Date:   Thu Sep 27 07:53:35 2018 -0700

    LP1782652: Make template dropdown larger in Volume/Copy Editor
    
    To test:
    1) Open an item in the volume/copy editor.
    2) Go to the Copy Templates tab. Note the spacing of the template bar.
    3) Create a few templates.  Give them names of 30 characters or more.
    4) Go back to the Edit tab and select one of your new templates.  Note
    that after you have selected it, the name of your template does not fit
    in the dropdown box, and is cut off at the end.
    5) Apply this commit.
    6) Go to the Copy Templates tab again.  Note that the spacing of the
    template bar has not changed.
    7) Go to the Edit tab.  Note that the template dropdown has changed
    to be much larger.
    
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    Signed-off-by: Janet Schrader <jschrader at cwmars.org>
    Signed-off-by: Jason Stephenson <jason at sigio.com>

diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
index b133c7a..7e58ebb 100644
--- a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
+++ b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
@@ -11,14 +11,14 @@
         <div class="col-md-1">
             <h5>[% l('Template') %]</h5>
         </div>
-        <div class="col-md-2">
+        <div ng-class="template_controls ? 'col-md-2' : 'col-md-5'">
             <eg-basic-combo-box list="template_name_list" selected="template_name"></eg-basic-combo-box>
         </div>
         <div class="col-md-1">
             <button class="btn btn-default " ng-click="applyTemplate(template_name)" type="button">[% l('Apply') %]</button>
         </div>
-        <div class="col-md-6">
-            <div class="row" ng-show="template_controls">
+        <div class="col-md-6" ng-show="template_controls">
+            <div class="row">
                 <div class="col-md-4">
                     <div class="btn-group">
                         <label class="btn btn-default" ng-click="saveTemplate(template_name)">[% l('Save') %]</label>
@@ -40,7 +40,7 @@
                 </div>
             </div>
         </div>
-        <div class="col-md-2">
+        <div class="col-md-2" ng-class="{'col-md-offset-3' : !template_controls}">
             <button class="btn btn-default pull-right" ng-click="clearWorking()" type="button">[% l('Clear') %]</button>
         </div>
     </div>

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

Summary of changes:
 .../templates/staff/cat/volcopy/t_attr_edit.tt2    |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list