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:
aignatov-bio 2023-11-15 13:42:35 +01:00 committed by GitHub
commit 33d9d768e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 6 additions and 29 deletions

View file

@ -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 {

View file

@ -125,7 +125,6 @@
}
}
.dp__theme_light {
--dp-background-color: var(--sn-white);
--dp-text-color: var(--sn-black);

View file

@ -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' %>

View file

@ -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 %>"
/>

View file

@ -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] %>

View file

@ -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") %>

View file

@ -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") %>

View file

@ -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") %>