[open-ils-commits] [GIT] Evergreen ILS branch master updated. 17009a230b362e4459aabed6109f62317ca9185d

Evergreen Git git at git.evergreen-ils.org
Tue Feb 14 09:32:38 EST 2017


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  17009a230b362e4459aabed6109f62317ca9185d (commit)
      from  e049d106ef48f8e3425eb9db16e251b404ab50c0 (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 17009a230b362e4459aabed6109f62317ca9185d
Author: Billy Horn <bhorn at catalystdevworks.com>
Date:   Tue Nov 29 09:42:40 2016 -0800

    LP#1527770 webstaff: remove code flash
    
    Add ng-cloak to base.tt2
    Add style to enable ng-cloak to base.tt2
    
    Signed-off-by: Billy Horn <bhorn at catalystdevworks.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/base.tt2 b/Open-ILS/src/templates/staff/base.tt2
index 93ada15..445b1ad 100644
--- a/Open-ILS/src/templates/staff/base.tt2
+++ b/Open-ILS/src/templates/staff/base.tt2
@@ -4,6 +4,12 @@
     [%- IF ctx.page_app %] ng-app="[% ctx.page_app %]"[% END -%]
     [%- IF ctx.page_ctrl %] ng-controller="[% ctx.page_ctrl %]"[% END %]>
   <head>
+    <!-- enables ng-cloak to be usable before angular has been able to fully load -->
+    <style type="text/css">
+    [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
+        display: none !important;
+    }       
+    </style>
     <title>[% l('Evergreen Staff [_1]', ctx.page_title) %]</title>
     <base href="/eg/staff/">
     <meta charset="utf-8">
@@ -33,7 +39,7 @@
     <eg-navbar></eg-navbar>
 
     <!-- main page content goes here -->
-    <div id="top-content-container" class="container">[% content %]</div>
+    <div id="top-content-container" class="container" ng-cloak>[% content %]</div>
 
     [% 
       # status bar along bottom of page

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

Summary of changes:
 Open-ILS/src/templates/staff/base.tt2 |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list