Cin7 templates - missed something in the cataloggit status Anthology bulk knowledgestate fix.
This commit is contained in:
@ -1,21 +1,7 @@
|
||||
{% 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 '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 %}
|
||||
|
||||
<header class="np-header np-header-color">
|
||||
@ -243,6 +229,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
{%- comment -%}
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
var searchIcon = document.getElementById("search-icon");
|
||||
@ -265,3 +252,4 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{%- endcomment -%}
|
||||
|
||||
Reference in New Issue
Block a user