Luminate almost done. Fixed Zenjob's issue with the german test not being hidden

This commit is contained in:
Norm Rasmussen
2024-04-03 17:11:47 -04:00
parent d27d791236
commit 84f3cdd8a1
8 changed files with 173 additions and 15 deletions

View File

@ -12,8 +12,10 @@
{% endif %}
if (groupedUser == false) {
{% unless current_person.email contains "+preview" %}
window.location.href = '/app/sign-up-follow-up'
}
{% endunless %}
// let jsDate = new Date();
// let jsFormattedDate = jsDate.getFullYear() + ("0" + (jsDate.getMonth() + 1)).slice(-2) + ("0" + jsDate.getDate()).slice(-2);
// let liquidFormattedDate = '{{ "now" | date: "%Y-%m-%d" }}';

View File

@ -40,7 +40,7 @@
alt="Yikes! You don't have any ongoing training at this moment."
/>
<div class="zero-state-cta" style="margin-top:32px;">
<a href="/app/catalog" class="np-button">Explore Catalog</a>
<a href="/app/catalog" class="Catalog np-button">Explore Catalog</a>
</div>
</div>
{% endif %}

View File

@ -28,6 +28,8 @@
.np-top-cta-progress-title.np-text-title.lp,
.np-top-vocabulary.np-text-title,
.np-homepage-headline,
.Home.np-homepage-headline,
.Home.np-homepage-subheadline,
.Featured.np-homepage-headline,
.Home.np-sub-navigation-content-item-link,
.Catalog.np-sub-navigation-content-item-link,
@ -275,7 +277,7 @@
text-indent: 0;
line-height: 0;
display: block;
content: "Explorar catálogo",
content: "Explorar catálogo";
}
.Ongoing.np-homepage-headline::after {
@ -283,7 +285,7 @@
text-indent: 0;
line-height: 0;
display: block;
content: "Entrenamiento en curso",
content: "Entrenamiento en curso";
}
.Progress.np-section-header::after {
@ -318,13 +320,22 @@
content: "Cursos destacados";
}
.np-homepage-headline::after {
.Home.np-homepage-headline::after {
/* Headline */
text-indent: 0;
line-height: 0;
display: block;
content: "Benvenida a Luminate Mexico";
}
.Home.np-homepage-subheadline::after {
/* Headline */
text-indent: 0;
line-height: 0;
display: block;
content: "¿Cómo podemos ayudarle hoy?";
}
.np-dashboard-resources-title.lp::after {
/* Learning Paths */
text-indent: 0;

View File

@ -72,11 +72,11 @@
<div class="np-homepage-hero">
<div class="np-homepage-hero-container">
<div class="np-homepage-hero-content">
<div class="np-homepage-headline">
<div class="Home np-homepage-headline">
{{ homepage.headline }}
</div>
<div class="hero-search-wrapper">
<div class="np-homepage-subheadline">
<div class="Home np-homepage-subheadline">
{{ homepage.subheadline }}
</div>
<form

View File

@ -1,7 +1,7 @@
{% if courses.in_catalog.any? %}
<div class="np-catalog-courses row row-with-thumbnails">
{% for course in courses.in_catalog %}
{% unless course.properties.is_article_course %}
{% unless course.properties.is_article_course %}
{% if course.id == "6cc26c57-34db-4b8e-a38b-ad321ce18add" or course.id == "ac4fbf2e-ed8f-404d-b995-f0ef73481466" %}
{% if current_person.properties.hide_api_certification_exam_course == false %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
@ -20,7 +20,7 @@
{% include "cards_course" with course %}
</div>
{% endif %}
{% endif %}
{% endif %}
{% endunless %}
{% endfor %}
</div>
@ -31,4 +31,4 @@
%}
{% endcapture %}
{% include "courses_zero_state", message: message %}
{% endif %}
{% endif %}

View File

@ -22,12 +22,18 @@
{% assign progress_status_de = "abgeschlossen" %}
{% assign progress_status_en = "completed" %}
{% endif %}
english test = e47f738f-7a4c-4ff9-9bfc-c51be90e3d81
{% if course.id == "5df1bb20-3412-4e59-806d-7e7b38b9f5fc" %}
{% if current_person.properties.german_test_delay == false %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content course-column {{progress_status_de}} {{progress_status_en}}" data-lang="{{course.properties.course_language}}" order="{{course.properties.course_order}}">
{% include "cards_course" with course %}
</div>
{% if course.id == "5df1bb20-3412-4e59-806d-7e7b38b9f5fc" or course.id == "e47f738f-7a4c-4ff9-9bfc-c51be90e3d81"%}
{% if current_person.properties.german_test_delay == false %}
{% include "cards_course" with course %}
{% endif %}
{% else %}
{% include "cards_course" with course %}
{% endif %}
</div>
{% comment %} {% else %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content course-column {{progress_status_de}} {{progress_status_en}}" data-lang="{{course.properties.course_language}}" order="{{course.properties.course_order}}">
{% include "cards_course" with course %}
@ -36,7 +42,7 @@ english test = e47f738f-7a4c-4ff9-9bfc-c51be90e3d81
{% endif %}
{% endcomment %}
{% endunless %}
{% endunless %}
{% endfor %}
</div>
{% else %}