X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/caf3ebfb538efbfc0b2e3b360186d68bdb78b744..e01762a0adcdee209f305cfc2ae902ab4eb94899:/apps/workbench/app/views/projects/show.html.erb
diff --git a/apps/workbench/app/views/projects/show.html.erb b/apps/workbench/app/views/projects/show.html.erb
index 070a2a1cd7..2a85da8321 100644
--- a/apps/workbench/app/views/projects/show.html.erb
+++ b/apps/workbench/app/views/projects/show.html.erb
@@ -1,7 +1,11 @@
-<% if @object.uuid != current_user.uuid # Not the "Home" project %>
<% content_for :content_top do %>
- <%= render partial: 'name_and_description' %>
-<% end %>
+
+ <% if @object.uuid == current_user.andand.uuid %>
+ Home
+ <% else %>
+ <%= render_editable_attribute @object, 'name', nil, { 'data-emptytext' => "New project" } %>
+ <% end %>
+
<% end %>
<% content_for :tab_line_buttons do %>
@@ -18,14 +22,13 @@
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 %>
- Copy data from a different project
+ { remote: true, data: {'event-after-select' => 'page-refresh', 'toggle' => 'dropdown'} }) do %>
+ Copy data from another project
<% end %>
<%= 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 %>
Upload files from my computer
<% end %>