Fixed some more of the Luminate templates for Spanish templates. Wrote a quick addition to get all course IDs.
This commit is contained in:
@ -14,6 +14,8 @@
|
||||
.np-resource-subtitle.modules,
|
||||
.np-resource-title.lp,
|
||||
.np-resource-subtitle.lp,
|
||||
.np-resource-title.articles,
|
||||
.np-resource-subtitle.articles,
|
||||
.np-card-header-type,
|
||||
.np-resource-title.events,
|
||||
.np-resource-subtitle.events,
|
||||
@ -75,8 +77,8 @@
|
||||
.Catalog.np-resource-subtitle,
|
||||
.Learning.Paths.np-resource-title,
|
||||
.Learning.Paths.np-resource-subtitle,
|
||||
.Articles.np-resource-title,
|
||||
.Articles.np-resource-subtitle,
|
||||
.Article.np-resource-title,
|
||||
.Article.np-resource-subtitle,
|
||||
.Certifications.np-resource-title,
|
||||
.Certifications.np-resource-subtitle,
|
||||
#desktop_upload_avatar,
|
||||
@ -91,6 +93,7 @@ body > main > div.np-catalog-header-wrapper > div.np-catalog-header > div.np-res
|
||||
}
|
||||
|
||||
/* CATALOG */
|
||||
/*
|
||||
body > main > div.np-catalog-header-wrapper > div.np-catalog-header > div.np-resource-title::after {
|
||||
text-indent: 0;
|
||||
line-height: 0;
|
||||
@ -104,7 +107,7 @@ body > main > div.np-catalog-header-wrapper > div.np-catalog-header > div.np-res
|
||||
line-height: 0;
|
||||
display: block;
|
||||
content: "Grandes cursos desde la comodidad de tu casa u oficina";
|
||||
}
|
||||
}*/
|
||||
/* HEADER */
|
||||
|
||||
.np-header-avatar-tooltip-navigation-link::after {
|
||||
@ -544,7 +547,7 @@ body > main > div.np-catalog-header-wrapper > div.np-catalog-header > div.np-res
|
||||
|
||||
/* ARTICLES */
|
||||
|
||||
.Articles.np-resource-title::after {
|
||||
.Article.np-resource-title::after {
|
||||
/* Articles */
|
||||
text-indent: 0;
|
||||
line-height: 1;
|
||||
@ -552,6 +555,14 @@ body > main > div.np-catalog-header-wrapper > div.np-catalog-header > div.np-res
|
||||
content: "Artículos";
|
||||
}
|
||||
|
||||
.Article.np-resource-subtitle::after {
|
||||
/* blank */
|
||||
text-indent: 0;
|
||||
line-height: 1;
|
||||
display: block;
|
||||
content: "";
|
||||
}
|
||||
|
||||
/* CERTIFICATIONS */
|
||||
|
||||
.Certifications.np-resource-title::after {
|
||||
|
||||
@ -3,24 +3,31 @@
|
||||
<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="Articles np-resource-title">{{ custom_page.headline }}</div>
|
||||
<div class="Articles np-resource-subtitle">{{ custom_page.subheadline }}</div>
|
||||
<div class="Article np-resource-title">{{ custom_page.headline }}</div>
|
||||
<div class="Article np-resource-subtitle">{{ custom_page.subheadline }}</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if courses.in_catalog.any? %}
|
||||
<div class="np-catalog-courses row row-with-thumbnails">
|
||||
{% for course in courses.in_catalog %}
|
||||
{% if course.properties.is_article_course %}
|
||||
{% if course.properties.is_article_course %}
|
||||
|
||||
{% comment %}
|
||||
{% if course.id == "b3225a47-448d-4988-962a-18d37d6616d0" or course.id == "fdc8acdc-0b7c-4064-a52b-1955379d411b" %}
|
||||
{% unless course.progress == 100 %}
|
||||
{% unless course.progress == 100 %}
|
||||
{% endunless %}
|
||||
{% endif %};
|
||||
{% endcomment %}
|
||||
{% if course.properties.course_language == current_person.properties.language %}
|
||||
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
|
||||
{% include "cards_article" with course %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
{% comment %}
|
||||
{% else %}
|
||||
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
|
||||
{% include "cards_article" with course %}
|
||||
</div>
|
||||
</div>
|
||||
{% endcomment %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
<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 class="Catalog np-resource-title">{{ catalog.headline }}</div>
|
||||
<div class="Catalog np-resource-subtitle">{{ catalog.subheadline }}</div>
|
||||
</div>
|
||||
{% capture label %}{% t shared.filters.by_category %}{% endcapture %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user