mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
Merge pull request #6644 from aignatov-bio/ai-sci-9700-fix-turbolinks
Fix turbolinks cache settings [SCI-9700][SCI-9701]
This commit is contained in:
commit
33d9d768e2
8 changed files with 6 additions and 29 deletions
|
@ -467,12 +467,14 @@
|
|||
.clear-date {
|
||||
cursor: pointer;
|
||||
left: calc(100% - 16px);
|
||||
margin-left: auto;
|
||||
opacity: 0;
|
||||
text-align: center;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
&.open {
|
||||
visibility: visible;
|
||||
}
|
||||
&:hover .clear-date {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.date-text {
|
||||
|
|
|
@ -125,7 +125,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
.dp__theme_light {
|
||||
--dp-background-color: var(--sn-white);
|
||||
--dp-text-color: var(--sn-black);
|
||||
|
|
|
@ -4,11 +4,6 @@
|
|||
<%= content_for :sidebar do %>
|
||||
<%= render partial: "/shared/sidebar/templates_sidebar", locals: {active: :label} %>
|
||||
<% end %>
|
||||
|
||||
<% content_for :head do %>
|
||||
<meta name="turbolinks-cache-control" content="no-cache">
|
||||
<% end %>
|
||||
|
||||
<%= stylesheet_link_tag 'datatables' %>
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
<% content_for :head do %>
|
||||
<meta name="turbolinks-cache-control" content="no-cache">
|
||||
<% end %>
|
||||
|
||||
<% provide(:head_title, t("protocols.index.head_title")) %>
|
||||
|
||||
<% if current_team %>
|
||||
|
@ -35,7 +31,7 @@
|
|||
<% end %>
|
||||
|
||||
<div id="protocolFileImportModal">
|
||||
<protocol-file-import-modal
|
||||
<protocol-file-import-modal
|
||||
import-url="<%= import_docx_protocols_path %>"
|
||||
protocol-template-table-url="<%= protocols_path %>"
|
||||
/>
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
<% content_for :head do %>
|
||||
<meta name="turbolinks-cache-control" content="no-cache">
|
||||
<% end %>
|
||||
|
||||
<%= stylesheet_link_tag 'datatables' %>
|
||||
|
||||
<% if params[:preview_report_id] %>
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
<% content_for :head do %>
|
||||
<meta name="turbolinks-cache-control" content="no-cache">
|
||||
<% end %>
|
||||
|
||||
<% provide(:head_title, t("libraries.show.head_title", library: @repository.name)) %>
|
||||
<%= stylesheet_link_tag 'datatables' %>
|
||||
<% provide(:container_class, "no-second-nav-container") %>
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
<% content_for :head do %>
|
||||
<meta name="turbolinks-cache-control" content="no-cache">
|
||||
<% end %>
|
||||
|
||||
<% provide(:head_title, t("users.settings.teams.head_title")) %>
|
||||
<% provide(:container_class, "no-second-nav-container") %>
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
<% content_for :head do %>
|
||||
<meta name="turbolinks-cache-control" content="no-cache">
|
||||
<% end %>
|
||||
|
||||
<% provide(:head_title, t("users.settings.teams.head_title")) %>
|
||||
<% provide(:container_class, "no-second-nav-container") %>
|
||||
|
||||
|
|
Loading…
Reference in a new issue