[ARVADOS] updated: 8d1ee366554c12b5746f39b34a46055ed431a7ef

git at public.curoverse.com git at public.curoverse.com
Fri Feb 14 14:49:14 EST 2014


Summary of changes:
 .../app/views/layouts/application.html.erb         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

       via  8d1ee366554c12b5746f39b34a46055ed431a7ef (commit)
      from  701074a294c18ad56b7f17cfc488a2cbc25816d5 (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.


commit 8d1ee366554c12b5746f39b34a46055ed431a7ef
Author: Tom Clegg <tom at curoverse.com>
Date:   Fri Feb 14 11:49:07 2014 -0800

    Hide left nav panel if current_user is not active. refs #2078

diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb
index 7b7716d..afa9037 100644
--- a/apps/workbench/app/views/layouts/application.html.erb
+++ b/apps/workbench/app/views/layouts/application.html.erb
@@ -178,7 +178,7 @@
       </div>
       <div class="col-sm-3 left-nav">
         <div class="arvados-nav-container">
-        <% if current_user %>
+        <% if current_user.andand.is_active %>
         <div class="well">
         <ul class="arvados-nav">
           <li class="<%= 'arvados-nav-active' if params[:action] == 'home' %>">

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list