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">
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
|
||||
|
||||
|
||||
<script src=
|
||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||
</script>
|
||||
<script src=
|
||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css"/>
|
||||
<!-- Add the slick-theme.css if you want default styling -->
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css"/>
|
||||
@ -38,4 +38,4 @@
|
||||
removeBadgeShadow();
|
||||
});
|
||||
|
||||
</script>
|
||||
</script>
|
||||
@ -229,7 +229,6 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
{%- comment -%}
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
var searchIcon = document.getElementById("search-icon");
|
||||
@ -252,4 +251,4 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{%- endcomment -%}
|
||||
|
||||
|
||||
@ -33,13 +33,15 @@
|
||||
<a class="np-form-link np-button-color" href="{% route forgot_password_new %}">
|
||||
{% t .forgot_password %}
|
||||
</a>
|
||||
{% comment %}
|
||||
|
||||
{% comment %}
|
||||
{% if features.account_creation? %}
|
||||
<a class="np-form-link np-button-color" href="{% route sign_up %}">
|
||||
{% t shared.sign_up %}
|
||||
</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,13 +6,13 @@
|
||||
<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>
|
||||
</div>
|
||||
{% if results.items.any? %}
|
||||
{% render "search_result" for results.items as result %}
|
||||
{% render "search_result" for results.items as result %}
|
||||
{% else %}
|
||||
{% include "search_zero_state" %}
|
||||
{% endif %}
|
||||
|
||||
@ -1 +1 @@
|
||||
69.121.5.106
|
||||
98.218.160.230
|
||||
|
||||
Reference in New Issue
Block a user