Merge pull request #2959 from aignatov-bio/ai-sci-5225-fix-links-in-report

Add scinote link to PDF reports [SCI-5225]
This commit is contained in:
aignatov-bio 2020-11-19 12:20:32 +01:00 committed by GitHub
commit bc5221d4a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -12,6 +12,7 @@
<div class="row">
<div class="pull-left user-time">
<%=t "projects.reports.elements.experiment.user_time", timestamp: l(timestamp, format: :full) %>
<b><%= link_to t('projects.reports.elements.all.scinote_link'),canvas_experiment_url(experiment), target: :_blank %></b>
</div>
<div class="pull-right controls">
<%= render partial: "reports/elements/element_controls.html.erb", locals: { show_sort: true } %>

View file

@ -7,6 +7,7 @@
<div class="row">
<div class="pull-left user-time">
<%= t("projects.reports.elements.module.user_time", timestamp: l(timestamp, format: :full)) %>
<b><%= link_to t('projects.reports.elements.all.scinote_link'), protocols_my_module_url(my_module), target: :_blank %></b>
</div>
<div class="pull-right controls">
<%= render partial: "reports/elements/element_controls.html.erb", locals: { show_sort: true } %>