scinote-web/app/views/projects/show/_header.html.erb

25 lines
956 B
Text
Raw Normal View History

<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>
<h1 class="project-name">
<% if @project.archived? %>
<span class="whitespace-nowrap"><%= t('labels.archived')%></span>&nbsp;
<% end %>
<% 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>
<% end %>
</h1>
</div>
2023-06-01 18:20:56 +08:00
<div id="toolbarWrapper" class="toolbar-row" data-width-breakpoint="600">
<%= render partial: 'projects/show/toolbar' %>
</div>
</div>