Luminate templates mostly. Cin7 too.
This commit is contained in:
@ -8,7 +8,10 @@
|
|||||||
class="learning-path-card-image"
|
class="learning-path-card-image"
|
||||||
/>
|
/>
|
||||||
{% if course.ribbon %}
|
{% if course.ribbon %}
|
||||||
<div class="np-card-ribbon" {% if course.ribbon == "Omni" %} style="background: #0026b2;"{% endif %}>
|
<div class="np-card-ribbon" {% if course.ribbon == "Omni" %} style="background: #0026b2;"
|
||||||
|
{% elsif course.ribbon == "Core"%} style="background: #05CBBF"
|
||||||
|
{% else %} style="background: #213343"
|
||||||
|
{% endif %}>
|
||||||
{{ course.ribbon }}
|
{{ course.ribbon }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -9,5 +9,5 @@
|
|||||||
<option class="second-login-role-option" value="EVV Agency Admin/Manager">Agency Admin/Manager</option>
|
<option class="second-login-role-option" value="EVV Agency Admin/Manager">Agency Admin/Manager</option>
|
||||||
<option class="second-login-role-option" value="EVV Agency Staff">Agency Staff</option>
|
<option class="second-login-role-option" value="EVV Agency Staff">Agency Staff</option>
|
||||||
<option class="second-login-role-option" value="Alt-EVV User (Aggregator)">Alt-EVV User (Aggregator)</option>
|
<option class="second-login-role-option" value="Alt-EVV User (Aggregator)">Alt-EVV User (Aggregator)</option>
|
||||||
<option class="second-login-role-option" value="Caregiver">Caregiver</option>
|
{% comment %} <option class="second-login-role-option" value="Caregiver">Caregiver</option> {% endcomment %}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@ -34,13 +34,23 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="np-card-content-footer">
|
<div class="np-card-content-footer">
|
||||||
<div class="np-card-content-progress np-button-color">
|
<div class="np-card-content-progress np-button-color">
|
||||||
{% if course.progress > 0 and course.progress < 100 %}
|
{% if current_person.properties.language == "en" %}
|
||||||
{{course.progress }}% Completo
|
{% if course.progress > 0 and course.progress < 100 %}
|
||||||
{% elsif course.progress == 100 %}
|
{{course.progress }}% Complete
|
||||||
{{course.progress }}% Completo
|
{% elsif course.progress == 100 %}
|
||||||
{% else %}
|
{{course.progress }}% Complete
|
||||||
No empezado
|
{% else %}
|
||||||
{% endif %}
|
Not Started
|
||||||
|
{% endif %}
|
||||||
|
{% elsif current_person.properties.language == "es" %}
|
||||||
|
{% if course.progress > 0 and course.progress < 100 %}
|
||||||
|
{{course.progress }}% Completo
|
||||||
|
{% elsif course.progress == 100 %}
|
||||||
|
{{course.progress }}% Completo
|
||||||
|
{% else %}
|
||||||
|
No empezado
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% capture course_path %}{% route course, id: course.id %}{% endcapture %}
|
{% capture course_path %}{% route course, id: course.id %}{% endcapture %}
|
||||||
@ -48,13 +58,24 @@
|
|||||||
{% include "course_version_outdated_popup", path: course_path %}
|
{% include "course_version_outdated_popup", path: course_path %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a class="np-button np-button-wide" href="{{ course_path }}">
|
<a class="np-button np-button-wide" href="{{ course_path }}">
|
||||||
{% if course.progress > 0 and course.progress < 100 %}
|
{% if current_person.properties.language == "en" %}
|
||||||
Continue
|
{% if course.progress > 0 and course.progress < 100 %}
|
||||||
{% elsif course.progress == 100 %}
|
Continue
|
||||||
Retake
|
{% elsif course.progress == 100 %}
|
||||||
{% else %}
|
Retake
|
||||||
View
|
{% else %}
|
||||||
{% endif %}
|
View
|
||||||
|
{% endif %}
|
||||||
|
{% elsif current_person.properties.language == "es" %}
|
||||||
|
{% if course.progress > 0 and course.progress < 100 %}
|
||||||
|
Continuar
|
||||||
|
{% elsif course.progress == 100 %}
|
||||||
|
Repetir
|
||||||
|
{% else %}
|
||||||
|
Vista
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -24,13 +24,23 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="np-card-content-footer">
|
<div class="np-card-content-footer">
|
||||||
<div class="np-card-content-progress np-button-color">
|
<div class="np-card-content-progress np-button-color">
|
||||||
{% if course.progress > 0 and course.progress < 100 %}
|
{% if current_person.properties.language == "es" %}
|
||||||
{{course.progress }}% Completo
|
{% if course.progress > 0 and course.progress < 100 %}
|
||||||
{% elsif course.progress == 100 %}
|
{{course.progress }}% Completo
|
||||||
{{course.progress }}% Completo
|
{% elsif course.progress == 100 %}
|
||||||
{% else %}
|
{{course.progress }}% Completo
|
||||||
No empezado
|
{% else %}
|
||||||
{% endif %}
|
No empezado
|
||||||
|
{% endif %}
|
||||||
|
{% elsif current_person.properties.language == "en" %}
|
||||||
|
{% if course.progress > 0 and course.progress < 100 %}
|
||||||
|
{{course.progress }}% Complete
|
||||||
|
{% elsif course.progress == 100 %}
|
||||||
|
{{course.progress }}% Complete
|
||||||
|
{% else %}
|
||||||
|
Not Started
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="np-card-progress-bar-container">
|
<div class="np-card-progress-bar-container">
|
||||||
<div style="width: {{ course.progress }}%" class="np-button-background-color np-card-progress-bar">
|
<div style="width: {{ course.progress }}%" class="np-button-background-color np-card-progress-bar">
|
||||||
|
|||||||
@ -4,12 +4,14 @@
|
|||||||
<main class="np-main np-dashboard np-subpage-container np-max-width">
|
<main class="np-main np-dashboard np-subpage-container np-max-width">
|
||||||
<div class="row np-flex-center">
|
<div class="row np-flex-center">
|
||||||
<div class="col-xs-12 col-sm-8">
|
<div class="col-xs-12 col-sm-8">
|
||||||
|
{% comment %}
|
||||||
{% if features.learning_paths? %}
|
{% if features.learning_paths? %}
|
||||||
<div class="Learning Paths np-dashboard-resources-title">
|
<div class="Learning Paths np-dashboard-resources-title">
|
||||||
{% t shared.learning_paths %}
|
{% t shared.learning_paths %}
|
||||||
</div>
|
</div>
|
||||||
{% include "learning_paths_index", items: learning_paths.enrolled %}
|
{% include "learning_paths_index", items: learning_paths.enrolled %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endcomment %}
|
||||||
<div class="Courses np-dashboard-resources-title">
|
<div class="Courses np-dashboard-resources-title">
|
||||||
{% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %}
|
{% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -113,6 +113,7 @@
|
|||||||
|
|
||||||
{% include "homepage_featured", items: catalog_courses %}
|
{% include "homepage_featured", items: catalog_courses %}
|
||||||
|
|
||||||
|
{% comment %}
|
||||||
<div class="np-max-width np-homepage-row-wrapper">
|
<div class="np-max-width np-homepage-row-wrapper">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-sm-12 col-md-12" style="display:flex; flex-direction:column;">
|
<div class="col-xs-12 col-sm-12 col-md-12" style="display:flex; flex-direction:column;">
|
||||||
@ -151,7 +152,7 @@
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endcomment %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% comment %} {% if features.training_events? %}
|
{% comment %} {% if features.training_events? %}
|
||||||
@ -178,7 +179,7 @@
|
|||||||
|
|
||||||
{% include "homepage_ongoing_training", items: catalog_courses %}
|
{% include "homepage_ongoing_training", items: catalog_courses %}
|
||||||
|
|
||||||
{% include "homepage_topics" %}
|
{% comment %} {% include "homepage_topics" %} {% endcomment %}
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="popup-trigger"
|
class="popup-trigger"
|
||||||
|
|||||||
5
Todos.md
5
Todos.md
@ -327,3 +327,8 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
|
|||||||
|
|
||||||
- [ ] Anthology - Intro Jessica (CAM) for Spanish Academy
|
- [ ] Anthology - Intro Jessica (CAM) for Spanish Academy
|
||||||
- [X] DoorDash - Intro Barb for PS CSQL.
|
- [X] DoorDash - Intro Barb for PS CSQL.
|
||||||
|
|
||||||
|
## 06-03-2024
|
||||||
|
|
||||||
|
- [ ] Cin7 - Catalog Filters showing both Core and Omni despite learner only in one group
|
||||||
|
- [ ] Cin7 - Badges still duplicating
|
||||||
|
|||||||
Reference in New Issue
Block a user