mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-22 21:15:35 +08:00
Change tabs to spaces
This commit is contained in:
parent
20134c9f8a
commit
4c3df5a67d
1 changed files with 18 additions and 18 deletions
|
@ -1,25 +1,25 @@
|
|||
<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>
|
||||
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='row'>
|
||||
<div class='row col-md-12 info-line'>
|
||||
<%= l(Time.at(protocol[:created_on]).to_datetime, format: :full_date) %> • <%= protocol[:authors] %>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class='row col-md-12 info-line'>
|
||||
<%= l(Time.at(protocol[:created_on]).to_datetime, format: :full_date) %> • <%= protocol[:authors] %>
|
||||
</div>
|
||||
|
||||
<div class='row'>
|
||||
<div class='col-md-6 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='col-md-6 info-line'>
|
||||
<div class='row'>
|
||||
<div class='col-md-6 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='col-md-6 info-line'>
|
||||
<% if show_import_button %>
|
||||
<button type="button" class='external-import-btn btn btn-primary pull-right'><%= t('protocol_importers.card.import_button_text') %></button>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue