Cin7 templates. Some wonkiness happening with their catalog filters.
This commit is contained in:
BIN
Custom_Templates/customer_templates/Cin7 External/.DS_Store
vendored
Normal file
BIN
Custom_Templates/customer_templates/Cin7 External/.DS_Store
vendored
Normal file
Binary file not shown.
@ -1,28 +1,7 @@
|
||||
{% assign log_out = true %}
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
{% assign log_out = false %}
|
||||
{% endif %}
|
||||
|
||||
{%comment%}
|
||||
{% unless partners or both_gorups %}
|
||||
{% if core and course.name contains 'Omni' %}
|
||||
{% assign redirect = true %}
|
||||
{% elsif omni and course.name contains 'Core' %}
|
||||
{% assign redirect = true %}
|
||||
{% endif %}
|
||||
{% endunless %}
|
||||
{% endcomment %}
|
||||
|
||||
{% if log_out %}
|
||||
<script>window.location.replace('/app/learners/sign_in')</script>
|
||||
{% endif %}
|
||||
|
||||
<div class="np-card-container">
|
||||
<div class="lp-header-container">
|
||||
<div class="lp-heading lora course-name"> {{ course.name }}</div>
|
||||
<div class="np-resource-header np-course-header np-card-padding-large">
|
||||
{% include "course_header" %}
|
||||
</div>
|
||||
|
||||
<div class="np-divider"></div>
|
||||
<div class="row np-course-content np-card-padding-dynamic">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
|
||||
@ -229,7 +229,6 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
{%- comment -%}
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
var searchIcon = document.getElementById("search-icon");
|
||||
@ -252,4 +251,4 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{%- endcomment -%}
|
||||
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
<a class="np-form-link np-button-color" href="{% route forgot_password_new %}">
|
||||
{% t .forgot_password %}
|
||||
</a>
|
||||
|
||||
{% comment %}
|
||||
{% if features.account_creation? %}
|
||||
<a class="np-form-link np-button-color" href="{% route sign_up %}">
|
||||
@ -40,6 +41,7 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endcomment %}
|
||||
|
||||
{% if features.request_access? %}
|
||||
<a
|
||||
class="np-form-link np-button-color"
|
||||
@ -60,3 +62,11 @@
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
const hash = window.location.hash;
|
||||
if (hash === "#invite=true") {
|
||||
window.location.href = "{% route sign_up %}";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -1,9 +1,3 @@
|
||||
{% assign log_out = true %}
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
{% assign log_out = false %}
|
||||
{% endif %}
|
||||
|
||||
{% include "header" %}
|
||||
<main class="np-main np-search np-subpage-container np-max-width">
|
||||
<div class="np-resource-title">
|
||||
@ -12,7 +6,7 @@
|
||||
<div class="np-search-header">
|
||||
<div class="np-resource-subtitle">
|
||||
{% t .showing %}
|
||||
{% comment %} <span class="np-resource-subtitle-number">{{ results.count }}</span> {% endcomment %}
|
||||
<span class="np-resource-subtitle-number">{{ results.count }}</span>
|
||||
{% t .results_for %}
|
||||
<span class="np-button-color">"{{ results.term }}"</span>
|
||||
</div>
|
||||
|
||||
@ -1 +1 @@
|
||||
69.121.5.106
|
||||
98.218.160.230
|
||||
|
||||
Reference in New Issue
Block a user