mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-26 00:36:01 +08:00
Merge pull request #4593 from aignatov-bio/ai-sci-7428-hide-active-reminders-checkbox
Hide active reminders, if stock management disabled [SCI-7428]
This commit is contained in:
commit
c32bf690ba
1 changed files with 15 additions and 13 deletions
|
@ -48,20 +48,22 @@
|
||||||
|
|
||||||
<!-- RIGHT TOOLBAR BLOCK -->
|
<!-- RIGHT TOOLBAR BLOCK -->
|
||||||
<div class="toolbar-right-block">
|
<div class="toolbar-right-block">
|
||||||
<div class="active-reminders-filter"
|
<% if RepositoryBase.stock_management_enabled? %>
|
||||||
title="<%= t('repositories.index.active_reminders.description') %>"
|
<div class="active-reminders-filter"
|
||||||
data-checked-title="<%= t('repositories.index.active_reminders.checked_description') =%>"
|
title="<%= t('repositories.index.active_reminders.description') %>"
|
||||||
data-unchecked-title="<%= t('repositories.index.active_reminders.description') =%>"
|
data-checked-title="<%= t('repositories.index.active_reminders.checked_description') =%>"
|
||||||
>
|
data-unchecked-title="<%= t('repositories.index.active_reminders.description') =%>"
|
||||||
<div class="sci-checkbox-container">
|
>
|
||||||
<input id="only_reminders" type="checkbox" class="sci-checkbox" value="1">
|
<div class="sci-checkbox-container">
|
||||||
<span class="sci-checkbox-label"></span>
|
<input id="only_reminders" type="checkbox" class="sci-checkbox" value="1">
|
||||||
|
<span class="sci-checkbox-label"></span>
|
||||||
|
</div>
|
||||||
|
<span data-click-target="#only_reminders">
|
||||||
|
<span class="active-reminders-label"><%= t('repositories.index.active_reminders.label') %></span>
|
||||||
|
<span class="active-reminders-short-label"><%= t('repositories.index.active_reminders.short_label') %></span>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<span data-click-target="#only_reminders">
|
<% end %>
|
||||||
<span class="active-reminders-label"><%= t('repositories.index.active_reminders.label') %></span>
|
|
||||||
<span class="active-reminders-short-label"><%= t('repositories.index.active_reminders.short_label') %></span>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="toolbar-filters"></div>
|
<div class="toolbar-filters"></div>
|
||||||
<% if @repository.is_a?(BmtRepository) %>
|
<% if @repository.is_a?(BmtRepository) %>
|
||||||
<div class="toolbar-bmt-filters">
|
<div class="toolbar-bmt-filters">
|
||||||
|
|
Loading…
Reference in a new issue