2872: Rename folders to projects
[arvados.git] / apps / workbench / app / views / application / _content.html.erb
index 0e3fa0b9789ed386643c7cc69b8f854952a35ba0..e6343628f2cc444fe6346a989259b8a478d3246a 100644 (file)
@@ -1,10 +1,10 @@
 <% content_for :content_top do %>
-  <% if @object and not @object.is_a?(Group) and @object.class.goes_in_folders? and @object.owner_uuid == current_user.uuid %>
+  <% if @object and not @object.is_a?(Group) and @object.class.goes_in_projects? and @object.owner_uuid == current_user.uuid %>
     <div class="pull-right" style="width: 40%">
       <div class="alert alert-warning alert-dismissable">
         <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
-        <strong>Hey.</strong> This <%= @object.class_for_display.downcase %> belongs to your account, but it's not in any of your folders. If you want it to be easy to find in the future, you should move it to a folder.<br />
-        <%= button_to(choose_folders_path(
+        <strong>Hey.</strong> This <%= @object.class_for_display.downcase %> belongs to your account, but it's not in any of your projects. If you want it to be easy to find in the future, you should move it to a project.<br />
+        <%= button_to(choose_projects_path(
                    title: 'Move to...',
                    editable: true,
                    action_name: 'Move',
@@ -12,7 +12,7 @@
                    action_method: 'patch',
                    action_data: {selection_param: @object.resource_param_name+'[owner_uuid]', success: 'page-refresh'}.to_json),
                   { class: "btn btn-primary btn-sm", remote: true, method: 'get' }) do %>
-          <i class="fa fa-fw fa-folder"></i> Choose a folder...
+          <i class="fa fa-fw fa-folder"></i> Choose a project...
         <% end %>
       </div>
     </div>