mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
24 lines
856 B
Text
24 lines
856 B
Text
<div class="content-header sticky-header">
|
|
<div class="title-row">
|
|
<i class="fas fa-bars sci--layout--navigator-open p-2 cursor-pointer"></i>
|
|
<h1 class="project-name">
|
|
<% if @project.archived? %>
|
|
<i class="fas fa-archive" data-view-mode="archived"></i>
|
|
<% 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 id="toolbarWrapper" class="toolbar-row">
|
|
<%= render partial: 'projects/show/toolbar' %>
|
|
</div>
|
|
</div>
|