A ton of updates for Cin7's templates for multi-product people. Finished the first half of the mass-delete script for Sandata.

This commit is contained in:
Norm Rasmussen
2024-05-08 17:37:17 -04:00
parent 86ef310892
commit 4785ff6283
26 changed files with 359 additions and 217 deletions

View File

@ -1,15 +1,20 @@
{% assign omni = false %}
{% assign core = false %}
{% assign partners = false %}
{% assign log_out = true %}
{% if current_person.signed_in? %}
{% assign log_out = false %}
{% for group in current_person.groups %}
{% if group.name contains 'Core' %}
{% assign core = true %}
{% elsif group.name contains 'Omni' %}
{% assign omni = true %}
{% endif %}
{% if group.name contains 'Partners' %}
{% assign partners = true %}
{% else %}
{% if group.name contains 'Core' %}
{% assign core = true %}
{% elsif group.name contains 'Omni' %}
{% assign omni = true %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
@ -244,7 +249,7 @@
var searchInput = document.querySelector(".header-search-input");
searchIcon.addEventListener("click", function(event) {
event.stopPropagation();
event.stopPropagation();
if (searchInput.style.display === "block") {
searchInput.style.display = "none";