Merge pull request #7688 from aignatov-bio/ai-sci-10806-add-tooltip-to-protocol-name

Add tooltip to protocol name [SCI-10806]
This commit is contained in:
aignatov-bio 2024-07-10 12:45:15 +02:00 committed by GitHub
commit 3d66ec03c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,9 +19,9 @@
<% end %>
<div class="name-readonly-placeholder">
<% if @protocol.in_repository_draft? %>
<%= t('protocols.draft_name', name: @protocol.name ) %>
<span title="<%= t('protocols.draft_name', name: @protocol.name ) %>"><%= t('protocols.draft_name', name: @protocol.name ) %></div>
<% else %>
<%= @protocol.name %>
<span title="<%= @protocol.name %>"><%= @protocol.name %></span>
<% end %>
</div>
<% end %>