41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
{% assign redirect = false %}
|
|
{% for group in current_person.groups %}
|
|
{% if group.id == '4919c56f-cda3-4f31-911c-f092536a7e68' %}
|
|
{% assign redirect = true%}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% if redirect %}
|
|
<script>
|
|
window.location.href = '/app'
|
|
</script>
|
|
{% else %}
|
|
{% include "header" %}
|
|
{% include "course_version_outdated_alert", courses: courses.in_catalog %}
|
|
{% include "sub_navigation" %}
|
|
<main class="np-main np-catalog np-subpage-container np-max-width">
|
|
<div class="np-catalog-header-wrapper">
|
|
<div class="np-catalog-header">
|
|
<div class="np-resource-title">{{ catalog.headline }}</div>
|
|
<div class="np-resource-subtitle">{{ catalog.subheadline }}</div>
|
|
</div>
|
|
{% capture label %}{% t shared.filters.by_category %}{% endcapture %}
|
|
|
|
{% if courses.in_catalog.any? %}
|
|
{%
|
|
include "filter_dropdown",
|
|
filters: courses.filters,
|
|
key: "category_uuid",
|
|
label: label
|
|
%}
|
|
{% endif %}
|
|
</div>
|
|
{% include "courses_catalog" %}
|
|
</main>
|
|
{% include "footer" %}
|
|
{% endif %}
|
|
|
|
<style>
|
|
.bqUfwS{
|
|
display:none !important;
|
|
}</style> |