Add 'tools/arvbox/' from commit 'd3d368758db1f4a9fa5b89f77b5ee61d68ef5b72'
[arvados.git] / apps / workbench / app / views / projects / show.html.erb
index 070a2a1cd7531f0d40c4e16bfcf2877a29ebb080..6033a3491051d657bfb470eb351f2df710edb90c 100644 (file)
@@ -1,7 +1,12 @@
-<% if @object.uuid != current_user.uuid # Not the "Home" project %>
 <% content_for :content_top do %>
-  <%= render partial: 'name_and_description' %>
-<% end %>
+  <h2>
+    <% if @object.uuid == current_user.andand.uuid %>
+      Home
+    <% else %>
+      <%= render partial: "show_star" %>
+      <%= render_editable_attribute @object, 'name', nil, { 'data-emptytext' => "New project" } %>
+    <% end %>
+  </h2>
 <% end %>
 
 <% content_for :tab_line_buttons do %>
                   action_href: actions_path(id: @object.uuid),
                   action_method: 'post',
                   action_data: {selection_param: 'selection[]', copy_selections_into_project: @object.uuid, success: 'page-refresh'}.to_json),
-                { remote: true, title: "Copy a collection from another project into this one", data: {'event-after-select' => 'page-refresh', 'toggle' => 'dropdown'} }) do %>
-            <i class="fa fa-fw fa-clipboard"></i> Copy data from a different project
+                { remote: true, data: {'event-after-select' => 'page-refresh', 'toggle' => 'dropdown'} }) do %>
+            <i class="fa fa-fw fa-clipboard"></i> Copy data from another project
           <% end %>
         </li>
         <li>
           <%= link_to(collections_path(options: {ensure_unique_name: true}, collection: {manifest_text: "", name: "New collection", owner_uuid: @object.uuid}, redirect_to_anchor: 'Upload'), {
               method: 'post',
-              title: "Upload files into a new collection",
               data: {toggle: 'dropdown'}}) do %>
             <i class="fa fa-fw fa-upload"></i> Upload files from my computer
           <% end %>