43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
{% if current_person.properties.first_login == true %}
|
|
<script>
|
|
window.location.replace('/app');
|
|
</script>
|
|
{% endif %}
|
|
|
|
{% assign in_progress_courses = 0 %}
|
|
{% for course in courses.enrolled %}
|
|
{% if course.progress > 0 and course.progress < 100 %}
|
|
{% assign in_progress_courses = in_progress_courses | plus: 1 %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
|
|
{% include "headerstart" %}
|
|
{% include "course_version_outdated_alert", courses: courses.featured %}
|
|
<main class="np-main np-catalog np-subpage-container np-max-width">
|
|
{% include 'welcome_section_opencall' %}
|
|
<div class="lps-wrapper grid">
|
|
{% assign opencall_enrolled_lps = learning_paths.enrolled | sort: "name" %}
|
|
{% for learning_path in opencall_enrolled_lps %}
|
|
{% for category in learning_path.categories %}
|
|
{% if category.name == "Open Call" %}
|
|
{% include "cards_learning_paths_squares" %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</div>
|
|
</main>
|
|
{% include "footer" %}
|
|
|
|
<style>
|
|
.grid {
|
|
Display: Flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.grid {
|
|
flex-direction: column;
|
|
}
|
|
</style>
|