G2 Templates updates, Ntoes for WilliamSonoma,Glassdoor, AchieveCE. Script updates.
This commit is contained in:
@ -1,35 +1,33 @@
|
||||
<div style="display: none !important;" class="np-max-width badges">
|
||||
<div class="np-max-width badges">
|
||||
<div class="row np-card-container badges-container ">
|
||||
{% assign number_of_badges = 0 %}
|
||||
{% assign max_number_of_badges = 5 %}
|
||||
{% for course in courses.enrolled %}
|
||||
{% if number_of_badges < max_number_of_badges %}
|
||||
{% if course.completed? %}
|
||||
{% unless course.properties.points == "missing property: points" or course.properties.points == null %}
|
||||
<div class="col-lg-5th">
|
||||
<img src="{{course.properties.course_badge}}" alt="">
|
||||
</div>
|
||||
{% assign number_of_badges = number_of_badges | plus: 1 %}
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item">
|
||||
<img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt="">
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item">
|
||||
<img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt="">
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item">
|
||||
<img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt="">
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item">
|
||||
<img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt="">
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item">
|
||||
<img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt="">
|
||||
</div>
|
||||
{% comment %} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item"> {% endcomment %}
|
||||
{% comment %} <img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt=""> {% endcomment %}
|
||||
{% comment %} </div> {% endcomment %}
|
||||
{% comment %} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item"> {% endcomment %}
|
||||
{% comment %} <img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt=""> {% endcomment %}
|
||||
{% comment %} </div> {% endcomment %}
|
||||
{% comment %} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item"> {% endcomment %}
|
||||
{% comment %} <img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt=""> {% endcomment %}
|
||||
{% comment %} </div> {% endcomment %}
|
||||
{% comment %} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item"> {% endcomment %}
|
||||
{% comment %} <img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt=""> {% endcomment %}
|
||||
{% comment %} </div> {% endcomment %}
|
||||
{% comment %} <div class="col-xs-12 col-sm-6 col-md-4 col-lg-5th badges-item"> {% endcomment %}
|
||||
{% comment %} <img src="https://s3.us-east-1.amazonaws.com/static.northpass.com/G2/G2_for_sales_badge.png" alt=""> {% endcomment %}
|
||||
{% comment %} </div> {% endcomment %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user