scinote-web/app/views/my_modules/_header.html.erb
Soufiane 1a9ef4a1d5
Update the Tasks screens for the Shareable-links feature [SCI-8649] (#5679)
Co-authored-by: Sboursen <dev.sboursen@gmail.com>
2023-06-29 11:17:41 +02:00

22 lines
987 B
Text

<div class="content-header sticky-header my-module-header">
<div class="my-module-title-row 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="my_module-name" data-toggle="tooltip" data-placement="bottom" title="<%= @my_module.name %>">
<% if @my_module.archived_branch? %>
<span><%= t('labels.archived')%></span>&nbsp;
<% end %>
<% if @inline_editable_title_config.present? %>
<%= render partial: "shared/inline_editing",
locals: {
initial_value: @my_module.name,
config: @inline_editable_title_config
} %>
<% else %>
<div class="name-readonly-placeholder">
<%= @my_module.name %>
</div>
<% end %>
</h1>
</div>
</div>
<%= stylesheet_link_tag 'my_modules/shared/layout_overrides' %>