mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
23 lines
828 B
Text
23 lines
828 B
Text
<div class='protocol-card'
|
|
data-id='<%= protocol[:id] %>'
|
|
data-protocol-source='<%= protocol[:source] %>'
|
|
data-url='<%= team_build_external_protocol_path(current_team.id,) %>'
|
|
data-show-url='<%= team_show_external_protocol_path(current_team.id) %>'
|
|
data-show-protocol-id='<%= protocol[:uri] %>'>
|
|
|
|
<p class='protocol-title'><%= protocol[:title] %></p>
|
|
|
|
<div class='info-line'>
|
|
<% if protocol[:published_on] %>
|
|
<%= l(Time.at(protocol[:published_on]).to_datetime, format: :full_date) %> •
|
|
<% end %>
|
|
<%= protocol[:authors] %>
|
|
</div>
|
|
<div class='card-footer'>
|
|
<div class='info-line'>
|
|
<%= t('protocol_importers.card.views_and_steps', nr_of_views: protocol[:nr_of_views], nr_of_steps: protocol[:nr_of_steps]) %>
|
|
</div>
|
|
<div class='info-line button'>
|
|
</div>
|
|
</div>
|
|
</div>
|