scinote-web/app/views/projects/show/_header.html.erb
sboursen-scinote c27c7245bc Fix various CSS issues [SCI-8940]
- Maintain the position of the top navigation controls when user is without team.
- Add "missing" avatar to avatar change modal
- Disable wrapping of (A) in archived P/E/T
- Fix padding/margin issues in Archived tasks and Protocol templates
2023-08-04 09:11:53 +02:00

24 lines
956 B
Text

<div class="content-header sticky-header">
<div class="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="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 %>
<div class="name-readonly-placeholder">
<%= @project.name %>
</div>
<% end %>
</h1>
</div>
<div id="toolbarWrapper" class="toolbar-row" data-width-breakpoint="600">
<%= render partial: 'projects/show/toolbar' %>
</div>
</div>