mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
21 lines
No EOL
817 B
Text
21 lines
No EOL
817 B
Text
<div class="content-header sticky-header">
|
|
<div class="title-row">
|
|
<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>
|
|
<h1 class="project-name">
|
|
<% if @project.archived? %>
|
|
<span class="whitespace-nowrap"><%= t('labels.archived')%></span>
|
|
<% end %>
|
|
<% if @inline_editable_title_config.present? %>
|
|
<%= render partial: "shared/inline_editing",
|
|
locals: {
|
|
initial_value: @project.name,
|
|
config: @inline_editable_title_config
|
|
} %>
|
|
<% else %>
|
|
<div class="name-readonly-placeholder">
|
|
<%= @project.name %>
|
|
</div>
|
|
<% end %>
|
|
</h1>
|
|
</div>
|
|
</div> |