[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. fb7e842572373d392df3002bbf79c93d89cbb01b

Evergreen Git git at git.evergreen-ils.org
Tue Dec 18 11:33:30 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, rel_3_1 has been updated
       via  fb7e842572373d392df3002bbf79c93d89cbb01b (commit)
      from  81fbcf9c19c2987cc5464d0cc7cc02e746489123 (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 fb7e842572373d392df3002bbf79c93d89cbb01b
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 9dcfc6d..bcc947a 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