Hide left nav panel if current_user is not active. refs #2078
authorTom Clegg <tom@curoverse.com>
Fri, 14 Feb 2014 19:49:07 +0000 (11:49 -0800)
committerTom Clegg <tom@curoverse.com>
Fri, 14 Feb 2014 19:49:07 +0000 (11:49 -0800)
apps/workbench/app/views/layouts/application.html.erb

index 7b7716ddd455217cf583349d7f1543307d5a011e..afa90370acc6d340fd4f699b254736fa99821358 100644 (file)
       </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' %>">