mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
10 lines
438 B
Text
10 lines
438 B
Text
<%= link_to versions_modal_protocol_path(protocol), class: 'protocol-versions-link', remote: true do %>
|
|
<% if protocol.in_repository_published_original? %>
|
|
<%= protocol.nr_of_versions %>
|
|
<% if protocol.nr_of_drafts.positive? %>
|
|
/ <%= t("protocols.index.table.draft") %>
|
|
<% end %>
|
|
<% elsif protocol.in_repository_draft? %>
|
|
<%= t("protocols.index.table.draft") %>
|
|
<% end %>
|
|
<% end %>
|