mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-07 20:40:26 +08:00
Add tooltip to protocol name [SCI-10806]
This commit is contained in:
parent
6ac1c6a13b
commit
d5853ef689
1 changed files with 2 additions and 2 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Add table
Reference in a new issue