diff --git a/Custom_Templates/customer_templates/BuilderTrend External/.DS_Store b/Custom_Templates/customer_templates/BuilderTrend External/.DS_Store
new file mode 100644
index 00000000..5008ddfc
Binary files /dev/null and b/Custom_Templates/customer_templates/BuilderTrend External/.DS_Store differ
diff --git a/Custom_Templates/customer_templates/BuilderTrend External/_cards_course.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/_cards_course.html.liquid
index 06021b9f..d9d313d7 100644
--- a/Custom_Templates/customer_templates/BuilderTrend External/_cards_course.html.liquid
+++ b/Custom_Templates/customer_templates/BuilderTrend External/_cards_course.html.liquid
@@ -14,7 +14,32 @@
alt="{{ course.name }}"
src="{{ course.image_url }}"
>
-
{{ activity_count }}
Activities
+ {% assign totduration = course.properties.duration %}
+ {% assign strduration = "" %}
+ {% if totduration >= 60 %}
+ {% assign hour = totduration | divided_by: 60 %}
+ {% assign hourfloat = totduration | times: 1.0 | divided_by: 60 %}
+ {% assign min = hourfloat | minus: hour %}
+ {% assign min = min | times: 60 %}
+ {% assign min = min | floor %}
+ {% if hour == 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hour ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hours ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hours' %}
+ {% elsif hour == 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hour' %}
+ {% endif %}
+ {% elsif totduration > 0 %}
+ {% assign strduration = totduration | append: " mins" %}
+ {% endif %}
+
+
{{ activity_count }}
Activities
+ {% if strduration != "" %}
+
{{ strduration }}
Duration
+ {% endif %}
+
{{ course.name }}
diff --git a/Custom_Templates/customer_templates/BuilderTrend External/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/_cards_learning_path.html.liquid
index 6c084f24..75790084 100644
--- a/Custom_Templates/customer_templates/BuilderTrend External/_cards_learning_path.html.liquid
+++ b/Custom_Templates/customer_templates/BuilderTrend External/_cards_learning_path.html.liquid
@@ -2,11 +2,43 @@
-
-
- {{ learning_path.items.count }} {% t .items %}
+
+ {% assign totduration = 0 %}
+ {% for item in learning_path.items %}
+ {% if item.course? %}
+ {% assign course = courses.in_catalog | where: "id", item.id %}
+ {% unless course == empty %}
+ {% assign duration = course.first.properties.duration %}
+ {% assign totduration = totduration | plus: duration %}
+ {% endunless %}
+ {% endif %}
+ {% endfor %}
+ {% assign strduration = "" %}
+ {% if totduration >= 60 %}
+ {% assign hour = totduration | divided_by: 60 %}
+ {% assign hourfloat = totduration | times: 1.0 | divided_by: 60 %}
+ {% assign min = hourfloat | minus: hour %}
+ {% assign min = min | times: 60 %}
+ {% assign min = min | floor %}
+ {% if hour == 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hour ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hours ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hours' %}
+ {% elsif hour == 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hour' %}
+ {% endif %}
+ {% elsif totduration > 0 %}
+ {% assign strduration = totduration | append: " mins" %}
+ {% endif %}
+
+ {{ learning_path.items.count }} {% t .items %}
+
+
+ {{ strduration }}
+
-
diff --git a/Custom_Templates/customer_templates/BuilderTrend External/_course_header.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/_course_header.html.liquid
index b31dedd4..7752148b 100644
--- a/Custom_Templates/customer_templates/BuilderTrend External/_course_header.html.liquid
+++ b/Custom_Templates/customer_templates/BuilderTrend External/_course_header.html.liquid
@@ -11,7 +11,33 @@
{{ course.name }}
-
{{ activity_count }}
Activities
+ {% assign totduration = course.properties.duration %}
+ {% assign strduration = "" %}
+ {% if totduration >= 60 %}
+ {% assign hour = totduration | divided_by: 60 %}
+ {% assign hourfloat = totduration | times: 1.0 | divided_by: 60 %}
+ {% assign min = hourfloat | minus: hour %}
+ {% assign min = min | times: 60 %}
+ {% assign min = min | floor %}
+ {% if hour == 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hour ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hours ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hours' %}
+ {% elsif hour == 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hour' %}
+ {% endif %}
+ {% elsif totduration > 0 %}
+ {% assign strduration = totduration | append: " mins" %}
+ {% endif %}
+
+
{{ activity_count }}
Activities
+ {% if strduration != "" %}
+
{{ strduration }}
Duration
+ {% endif %}
+
+
- {{ activity_count }}
Activities
+ {% assign totduration = course.properties.duration %}
+ {% assign strduration = "" %}
+ {% if totduration >= 60 %}
+ {% assign hour = totduration | divided_by: 60 %}
+ {% assign hourfloat = totduration | times: 1.0 | divided_by: 60 %}
+ {% assign min = hourfloat | minus: hour %}
+ {% assign min = min | times: 60 %}
+ {% assign min = min | floor %}
+ {% if hour == 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hour ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hours ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hours' %}
+ {% elsif hour == 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hour' %}
+ {% endif %}
+ {% elsif totduration > 0 %}
+ {% assign strduration = totduration | append: " mins" %}
+ {% endif %}
+
+
{{ activity_count }}
Activities
+ {% if strduration != "" %}
+
{{ strduration }}
Duration
+ {% endif %}
+
+
- {{ learning_path.items.size }}
Items
+ {% assign totduration = 0 %}
+ {% for item in learning_path.items %}
+ {% if item.course? %}
+ {% assign course = courses.in_catalog | where: "id", item.id %}
+ {% unless course == empty %}
+ {% assign duration = course.first.properties.duration %}
+ {% assign totduration = totduration | plus: duration %}
+ {% endunless %}
+ {% endif %}
+ {% endfor %}
+ {% assign strduration = "" %}
+ {% if totduration >= 60 %}
+ {% assign hour = totduration | divided_by: 60 %}
+ {% assign hourfloat = totduration | times: 1.0 | divided_by: 60 %}
+ {% assign min = hourfloat | minus: hour %}
+ {% assign min = min | times: 60 %}
+ {% assign min = min | round %}
+ {% if hour == 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hour ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min > 0 %}
+ {% assign strduration = hour | append: ' hours ' | append: min | append: " mins" %}
+ {% elsif hour > 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hours' %}
+ {% elsif hour == 1 and min <= 0 %}
+ {% assign strduration = hour | append: ' hour' %}
+ {% endif %}
+ {% elsif totduration > 0 %}
+ {% assign strduration = totduration | append: " mins" %}
+ {% endif %}
+
+
{{ learning_path.items.size }}
Items
+ {% if strduration != "" %}
+
{{ strduration }}
Duration
+ {% endif %}
+
+ {% endif %}
+ {% endfor %}
+
Learning paths
{% for learning_path in items %}
- {% if learning_path.progress == 0 %}
+ {% if learning_path.progress == 0 %}
- {% include "cards_learning_path" with learning_path %}
-
- {% endif %}
+ {% include "cards_learning_path" with learning_path %}
+
+ {% endif %}
{% endfor %}
-
+
{% assign isLPCompletedHeader = false %}
{% for learning_path in items %}
- {% if learning_path.progress == 100 %}
- {% if isLPCompletedHeader == false %}
-
Completed learning paths
- {% assign isLPCompletedHeader = true %}
+ {% if learning_path.progress == 100 %}
+ {% if isLPCompletedHeader == false %}
+
Completed learning paths
+ {% assign isLPCompletedHeader = true %}
{% endif %}
- {% include "cards_learning_path" with learning_path %}
-
- {% endif %}
+ {% include "cards_learning_path" with learning_path %}
+
+ {% endif %}
{% endfor %}
diff --git a/Custom_Templates/customer_templates/BuilderTrend External/_main_hero_masthead.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/_main_hero_masthead.html.liquid
index 14154bb3..610b59d4 100644
--- a/Custom_Templates/customer_templates/BuilderTrend External/_main_hero_masthead.html.liquid
+++ b/Custom_Templates/customer_templates/BuilderTrend External/_main_hero_masthead.html.liquid
@@ -19,9 +19,9 @@
Buildertrend University: deep dive our software at our headquarters
-
January 8–9, 2025
January 29–30, 2025
-
-
See all sessions
+
March 26-27, 2025
+
+
See all sessions
diff --git a/Custom_Templates/customer_templates/BuilderTrend External/bla-test.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/bla-test.html.liquid
new file mode 100644
index 00000000..bd53bb16
--- /dev/null
+++ b/Custom_Templates/customer_templates/BuilderTrend External/bla-test.html.liquid
@@ -0,0 +1,423 @@
+{% include "header" %}
+{% include "course_version_outdated_alert", courses: courses.featured %}
+{% assign strquizCategories = current_person.properties.qiuz_answers | strip %}
+{% assign quizCategories = current_person.properties.qiuz_answers | split: "_" %}
+{% assign coursesToDisplay = "" %}
+{% assign lpsToDisplay = "" %}
+
+{% for course in courses.in_catalog %}
+ {% for cats in course.categories %}
+ {% if cats.name contains "[Quiz]" %}
+ {% assign catname = cats.name | remove: "[Quiz] " %}
+ {% for qc in quizCategories %}
+ {% if catname == qc %}
+ {% assign coursesToDisplay = coursesToDisplay | append: course.id | append: ";" %}
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ {% endfor %}
+{% endfor %}
+{% assign coursesToDisplayArr = coursesToDisplay | split: ";" %}
+{% assign uniqcoursesToDisplayArr = coursesToDisplayArr | uniq %}
+
+
+
+{% for learningpath in learning_paths.available %}
+ {% for lpcats in learningpath.categories %}
+ {% if lpcats.name contains "[Quiz]" %}
+ {% assign catname = lpcats.name | remove: "[Quiz] " %}
+ {% for qc in quizCategories %}
+ {% if catname == qc %}
+ {% assign lpsToDisplay = lpsToDisplay | append: learningpath.id | append: ";" %}
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ {% endfor %}
+{% endfor %}
+{% assign lpsToDisplayArr = lpsToDisplay | split: ";" %}
+{% assign uniqlpsToDisplayArr = lpsToDisplayArr | uniq %}
+
+
+
+
+ {% include "main_hero_masthead" %}
+ {% include "sub_navigation" %}
+
+
+ {% if strquizCategories == "" %}
+
+
+ {% assign isProgressHeaderOutput = false %}
+ {% assign isCoursesInprogress = false %}
+ {% for course in courses.in_catalog %}
+ {% if course.progress > 0 and course.progress < 100 %}
+ {% if isProgressHeaderOutput == false %}
+
Pick up where you left off
+ {% assign isProgressHeaderOutput = true %}
+ {% endif %}
+
+ {% include "cards_course" with course %}
+
+ {% assign isCoursesInprogress = true %}
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
+ {% assign isLPInprogress = false %}
+ {% for learning_path in learning_paths.enrolled %}
+ {% if learning_path.progress > 0 and learning_path.progress < 100 %}
+ {% assign isLPInprogress = true %}
+
+ {% include "cards_learning_path" with learning_path %}
+
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
+
+ Start with these courses
+
+
+ {% if courses.featured.any? %}
+
+ {% for course in courses.featured %}
+
+ {% include "cards_course" with course %}
+
+ {% endfor %}
+
+ {% else %}
+
+
+ {% t .empty, key: current_school.course_vocabulary %}
+
+
![{% t .empty, key: current_school.course_vocabulary %}]()
+
+ {% endif %}
+
+
+
+
+ Upcoming Virtual Training
+
+
+ {% if training_events.available.any? %}
+
+
+ {% for training_event in training_events.available limit:3 %}
+
+ {% include "cards_training_event" with training_event %}
+
+ {% endfor %}
+
+ {% else %}
+ {% include "training_events_zero_state" %}
+ {% endif %}
+
+
+
+
+ Start with this Learning Path
+
+
+
+
+ {% assign startwithlearning_path = learning_paths.available | where: "id", "04575709-6d99-41bb-9014-6e7def46a320" %}
+ {% for learning_path in startwithlearning_path %}
+
+ {% include "cards_learning_path" with learning_path %}
+
+ {% endfor %}
+
+
+
+ {% else %}
+
+
+ {% assign isProgressHeaderOutput = false %}
+ {% assign isCoursesInprogress = false %}
+ {% for course in courses.in_catalog %}
+ {% if course.progress > 0 and course.progress < 100 %}
+ {% if isProgressHeaderOutput == false %}
+
Pick up where you left off
+ {% assign isProgressHeaderOutput = true %}
+ {% endif %}
+
+ {% include "cards_course" with course %}
+
+ {% assign isCoursesInprogress = true %}
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
+ {% assign isLPInprogress = false %}
+ {% for learning_path in learning_paths.enrolled %}
+ {% if learning_path.progress > 0 and learning_path.progress < 100 %}
+ {% assign isLPInprogress = true %}
+
+ {% include "cards_learning_path" with learning_path %}
+
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
+
+ Upcoming Virtual Training
+
+
+ {% if training_events.available.any? %}
+
+ {% for training_event in training_events.available limit:3 %}
+
+ {% include "cards_training_event" with training_event %}
+
+ {% endfor %}
+
+ {% else %}
+ {% include "training_events_zero_state" %}
+ {% endif %}
+
+
+
+ Recommended Courses for you
+
+
+ {% for courseid in uniqcoursesToDisplayArr limit: 9%}
+ {% assign displayCourses = courses.in_catalog | where: "id", courseid %}
+ {% for course in displayCourses %}
+
+ {% include "cards_course" with course %}
+
+ {% endfor %}
+ {% endfor %}
+
+
+
+
+
+ Recommended Learning Paths for you
+
+
+
+
+
+ {% for lpsid in uniqlpsToDisplayArr %}
+ {% assign displayLps = learning_paths.available | where: "id", lpsid %}
+ {% for learning_path in displayLps %}
+
+ {% include "cards_learning_path" with learning_path %}
+
+ {% endfor %}
+ {% endfor %}
+
+
+
+
+ {% endif %}
+
+
Interested in in-person training?
+
+
+
+
+{% include "footer" %}
+
+
\ No newline at end of file
diff --git a/Custom_Templates/customer_templates/BuilderTrend External/catalog.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/catalog.html.liquid
index 51b06c9c..6c8fe912 100644
--- a/Custom_Templates/customer_templates/BuilderTrend External/catalog.html.liquid
+++ b/Custom_Templates/customer_templates/BuilderTrend External/catalog.html.liquid
@@ -19,7 +19,7 @@
{% assign isCoursesInprogress = false %}
{% assign isProgressHeaderOutput = false %}
- {% for course in courses.featured %}
+ {% for course in courses.in_catalog %}
{% unless course.has_certificate? %}
{% if course.progress > 0 and course.progress < 100 %}
{% if isProgressHeaderOutput == false %}
@@ -60,7 +60,7 @@
{% assign isCoursesCompleted = false %}
{% assign isCourseHeaderOutput = false %}
- {% for course in courses.featured %}
+ {% for course in courses.in_catalog %}
{% unless course.has_certificate? %}
{% if course.progress == 100 %}
{% if isCourseHeaderOutput == false %}
diff --git a/Custom_Templates/customer_templates/BuilderTrend External/styles.css.liquid b/Custom_Templates/customer_templates/BuilderTrend External/styles.css.liquid
index 604dfe2b..bc69fdf4 100644
--- a/Custom_Templates/customer_templates/BuilderTrend External/styles.css.liquid
+++ b/Custom_Templates/customer_templates/BuilderTrend External/styles.css.liquid
@@ -117,14 +117,18 @@ main.np-catalog, main.np-homepage, main.catalog, main.np-training-events, main.n
border-radius: 5px;
box-shadow: 2px 2px 20px 0px rgba(98, 98, 98, 0.25);
}
-.card-activity-count{
+.card-activity-duration {
padding-left: 14px;
+ padding-right: 14px;
+ display: flex;
+ justify-content: space-between;
margin-top: -70px;
padding-bottom: 35px;
font-family: 'GT WALSHEIM';
color: #666D7C;
font-weight: 700;
font-size: 18px;
+
}
.activity-label{
font-size: 16px;
diff --git a/Custom_Templates/customer_templates/BuilderTrend External/testing-page.html.liquid b/Custom_Templates/customer_templates/BuilderTrend External/testing-page.html.liquid
new file mode 100644
index 00000000..13013942
--- /dev/null
+++ b/Custom_Templates/customer_templates/BuilderTrend External/testing-page.html.liquid
@@ -0,0 +1,136 @@
+{% include "header" %}
+
+
+ {{ custom_page.headline }}
+ {{ custom_page.subheadline }}
+
+
+
+ {% if courses.enrolled.any? %}
+
+ {% for course in courses.enrolled %}
+
+ {% include "cards_course" with course %}
+
+ {% endfor %}
+
+ {% else %}
+ {% capture message %}
+ {% t shared.zero_state.courses.index,
+ key: current_school.course_vocabulary
+ %}
+ {% endcapture %}
+ {% include "courses_zero_state", message: message %}
+ {% endif %}
+
Second Piece
+ {% assign isCoursesCompleted = false %}
+ {% assign isCourseHeaderOutput = false %}
+ {% for course in courses.in_catalog %}
+ {% unless course.has_certificate? %}
+ {% if course.progress == 100 %}
+ {% if isCourseHeaderOutput == false %}
+
Completed courses
+ {% assign isCourseHeaderOutput = true %}
+ {% endif %}
+
+ {% include "cards_course" with course %}
+
+ {% assign isCoursesCompleted = true %}
+ {% endif %}
+ {% endunless %}
+ {% endfor %}
+
+
+
+
+
+
+{% include "footer" %}
+
\ No newline at end of file