Files
Gainsight/Custom_Templates/customer_templates/WSGC - New Hire/learning_path_summary.html.liquid
2024-08-16 15:56:20 -04:00

21 lines
669 B
Plaintext

{% if learning_path.enrolled? %}
{% for category in learning_path.categories %}
{% assign category_name = category.name | downcase %}
{% if category_name == "new hire training" %}
<script>
window.location.replace(`/app/dashboard`)
</script>
{% endif %}
{% endfor %}
{% endif %}
{% include "header" %}
<main class="np-main np-max-width np-page-container">
<div class="np-hidden-mobile" id="learning-path-desktop">
{% include "learning_path_summary_desktop_view" %}
</div>
<div class="np-hidden-desktop" id="learning-path-mobile">
{% include "learning_path_summary_mobile_view" %}
</div>
</main>
{% include "footer" %}