2659: (1) Update link_to_if_arvados_object method to display an object name as link...
[arvados.git] / apps / workbench / app / views / application / index.html.erb
index 3e2a608ed719cef61c52f17a07865bfdd6ca9dbd..bb2733858eeaa87ff51a434e2a0735e871b66e00 100644 (file)
@@ -4,7 +4,7 @@
 
 <% content_for :tab_line_buttons do %>
 
-  <% if controller.model_class.creatable? %>
+  <% if controller.model_class.creatable? and current_user.is_active %>
 
     <% if controller.model_class.name == 'User' %>
       <%= link_to setup_user_popup_path,