2021-01-25 22:36:23 +08:00
|
|
|
<div class="content-header sticky-header">
|
|
|
|
<div class="title-row">
|
2023-04-19 20:16:22 +08:00
|
|
|
<i class="fas fa-bars sci--layout--navigator-open p-2 cursor-pointer"></i>
|
2021-07-22 03:33:13 +08:00
|
|
|
<% if current_folder&.name && @inline_editable_title_config.present? %>
|
|
|
|
<h1 data-view-mode="active" class="projects-title">
|
|
|
|
<%= render partial: "shared/inline_editing",
|
|
|
|
locals: {
|
2023-03-14 01:00:30 +08:00
|
|
|
initial_value: current_folder.name,
|
2021-07-22 03:33:13 +08:00
|
|
|
config: @inline_editable_title_config
|
|
|
|
} %>
|
|
|
|
</h1>
|
|
|
|
<% else %>
|
|
|
|
<h1 data-view-mode="active" class="projects-title name-readonly-placeholder">
|
|
|
|
<%= current_folder&.name || t('projects.index.head_title') %>
|
|
|
|
</h1>
|
|
|
|
<% end %>
|
2021-02-05 18:04:58 +08:00
|
|
|
<h1 data-view-mode="archived">
|
|
|
|
<i class="fas fa-archive"></i>
|
2021-03-09 05:01:26 +08:00
|
|
|
<span class="projects-title name-readonly-placeholder"><%= current_folder&.name || t('projects.index.head_title_archived') %></span>
|
2021-02-05 18:04:58 +08:00
|
|
|
</h1>
|
2020-12-08 15:30:47 +08:00
|
|
|
</div>
|
2021-01-25 22:36:23 +08:00
|
|
|
<div id="toolbarWrapper" class="toolbar-row">
|
|
|
|
</div>
|
2020-12-08 15:30:47 +08:00
|
|
|
</div>
|