2019-06-28 06:43:05 +08:00
|
|
|
<div class='protocol-card'
|
2019-07-04 15:43:05 +08:00
|
|
|
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] %>'>
|
2019-06-28 06:43:05 +08:00
|
|
|
|
2019-07-10 19:00:32 +08:00
|
|
|
<p class='protocol-title'><%= protocol[:title] %></p>
|
2019-06-28 06:43:05 +08:00
|
|
|
|
2019-07-10 19:00:32 +08:00
|
|
|
<div class='info-line'>
|
2019-07-09 19:28:43 +08:00
|
|
|
<% if protocol[:published_on] %>
|
|
|
|
<%= l(Time.at(protocol[:published_on]).to_datetime, format: :full_date) %> •
|
|
|
|
<% end %>
|
|
|
|
<%= protocol[:authors] %>
|
2019-07-10 19:00:32 +08:00
|
|
|
</div>
|
|
|
|
<div class='card-footer'>
|
|
|
|
<div class='info-line'>
|
2019-07-04 15:43:05 +08:00
|
|
|
<%= t('protocol_importers.card.views_and_steps', nr_of_views: protocol[:nr_of_views], nr_of_steps: protocol[:nr_of_steps]) %>
|
2019-07-10 19:00:32 +08:00
|
|
|
</div>
|
|
|
|
<div class='info-line button'>
|
2019-07-04 15:43:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-13 14:49:03 +08:00
|
|
|
</div>
|