2021-01-29 05:47:08 +08:00
|
|
|
<div class="content-header sticky-header">
|
2021-01-25 22:36:23 +08:00
|
|
|
<div class="title-row">
|
2023-04-26 16:24:50 +08:00
|
|
|
<i class="fas fa-bars sci--layout--navigator-open p-2 cursor-pointer"></i>
|
2021-01-25 22:36:23 +08:00
|
|
|
<h1 class="project-name">
|
2022-03-30 16:13:43 +08:00
|
|
|
<% if @project.archived? %>
|
|
|
|
<i class="fas fa-archive" data-view-mode="archived"></i>
|
|
|
|
<% end %>
|
2021-01-25 22:36:23 +08:00
|
|
|
<% if @inline_editable_title_config.present? %>
|
|
|
|
<%= render partial: "shared/inline_editing",
|
|
|
|
locals: {
|
|
|
|
initial_value: @project.name,
|
|
|
|
config: @inline_editable_title_config
|
|
|
|
} %>
|
|
|
|
<% else %>
|
2021-03-09 05:01:26 +08:00
|
|
|
<div class="name-readonly-placeholder">
|
|
|
|
<%= @project.name %>
|
|
|
|
</div>
|
2020-12-17 20:07:30 +08:00
|
|
|
<% end %>
|
2021-01-25 22:36:23 +08:00
|
|
|
</h1>
|
2020-12-17 20:07:30 +08:00
|
|
|
</div>
|
2021-01-29 05:47:08 +08:00
|
|
|
<div id="toolbarWrapper" class="toolbar-row">
|
|
|
|
<%= render partial: 'projects/show/toolbar' %>
|
|
|
|
</div>
|
2020-12-17 20:07:30 +08:00
|
|
|
</div>
|