Skip to content

Commit

Permalink
Merge pull request #11 from Pearson-Advance/pearson/PADV-647
Browse files Browse the repository at this point in the history
PADV-647 - Remove sidebar and price details from the enrollment page.
  • Loading branch information
Squirrel18 authored Aug 9, 2023
2 parents 8399cef + 807c372 commit da9af88
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 52 deletions.
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Your project description goes here.
"""

__version__ = "3.57.1.post3"
__version__ = "3.57.1.post4"

default_app_config = "enterprise.apps.EnterpriseConfig"
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
{% block contents %}
<div class="enterprise-container">
<div class="row no-gutters">
<div class="col-3">
{% include "enterprise/_enterprise_customer_sidebar.html" %}
</div>
<div class="col-7 border-left">
<div class="col-8">

{# Display success, error, warning or info messages #}
{% alert_messages messages %}
Expand Down Expand Up @@ -77,20 +74,6 @@ <h2>{{ confirmation_text }}</h2>

<label for="radio{{ forloop.counter0 }}">
<strong class="title">{{ course_mode.title }}</strong>
<span class="price">
{{ price_text }}:
{% if course_mode.final_price and course_mode.original_price != course_mode.final_price %}
{% if hide_course_original_price %}
{{ course_mode.final_price }}
{% else %}
<strike>{{ course_mode.original_price }}</strike> {{ course_mode.final_price }}
<div>{{discount_text|safe }}</div>
{% endif %}
{% else %}
{{ course_mode.original_price }}
{% endif %}
</span>
<span class="description">{{ course_mode.description }}</span>
</label>
</div>
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
{% block contents %}
<div class="enterprise-container">
<div class="row">
<div class="col-3">
{% include "enterprise/_enterprise_customer_sidebar.html" %}
</div>

<div class="col-7 border-left">
<div class="col-8">
{# Display success, error, warning or info messages #}
{% alert_messages messages %}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@
{% block contents %}
<div class="enterprise-container">
<div class="row">
<div class="col-3">
{% include "enterprise/_enterprise_customer_sidebar.html" %}
</div>
<div class="col-7 border-left">
<div class="col-8">
{% include "enterprise/_data_sharing_policy.html" %}
</div>
</div>
Expand Down
24 changes: 0 additions & 24 deletions enterprise/templates/enterprise/templatetags/course_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,6 @@ <h1 id="modal-header-text-{{ index }}" class="modal-header-text">{{ course_title
</header>
<div class="details">
<ul class="details-list">
{% if premium_modes|length > 0 %}
{% with course_mode=premium_modes.0 %}
{% if course_mode.original_price %}
<li>
<div class="detail-container">
<div class="detail-title-container">
<span class="icon fa fa-tag" aria-hidden="true"></span>
<span class="title">{{ price_text }}</span>
</div>
<div class="detail-value-container">
<span class="text">
{% if course_mode.final_price and course_mode.original_price != course_mode.final_price %}
<strike>{{ course_mode.original_price }}</strike>
<span class="discount">{{ course_mode.final_price }}</span>
{% else %}
{{ course_mode.original_price }}
{% endif %}
</span>
</div>
</div>
</li>
{% endif %}
{% endwith %}
{% endif %}
{% if course_level_type %}
<li>
<div class="detail-container">
Expand Down

0 comments on commit da9af88

Please sign in to comment.