2022-10-18 20:54:29 +08:00
|
|
|
<div class="content-header sticky-header">
|
|
|
|
<div class="title-row">
|
2023-05-18 19:43:26 +08:00
|
|
|
<i class="sn-icon sn-icon-navigator sci--layout--navigator-open cursor-pointer p-1.5 border rounded border-sn-light-grey mr-4"></i>
|
2022-12-23 17:35:17 +08:00
|
|
|
<h1 class="experimnet-name" data-toggle="tooltip" data-placement="bottom" title="<%= @experiment.name %>">
|
2022-10-18 20:54:29 +08:00
|
|
|
<% if @experiment.archived? %>
|
2023-06-02 08:03:41 +08:00
|
|
|
<span><%= t('labels.archived')%></span>
|
2022-10-18 20:54:29 +08:00
|
|
|
<% end %>
|
|
|
|
<% if @inline_editable_title_config.present? %>
|
|
|
|
<%= render partial: "shared/inline_editing",
|
|
|
|
locals: {
|
|
|
|
initial_value: @experiment.name,
|
|
|
|
config: @inline_editable_title_config
|
|
|
|
} %>
|
|
|
|
<% else %>
|
|
|
|
<div class="name-readonly-placeholder">
|
|
|
|
<%= @experiment.name %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|