Skip to content

Commit

Permalink
Add FAQ cert link and prerequisites to product_page.html (#1917)
Browse files Browse the repository at this point in the history
* Add FAQ cert link and prerequisites to product_page.html

* move link up one line

* fmt
  • Loading branch information
JenniWhitman authored Sep 25, 2023
1 parent cac1b1f commit a10a4e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions cms/templates/product_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1>{{ page.title }}</h1>
{% if page.about %}<li class="nav-item"><a href="#about-this-class">About</a></li>{% endif %}
{% if page.is_program_page %}<li class="nav-item"><a href="#program-courses">Courses</a></li>{% endif %}
{% if page.what_you_learn %}<li class="nav-item"><a href="#what-youll-learn">What you'll learn</a></li>{% endif %}
{% if page.prerequisites %}<li class="nav-item"><a href="#prerequisites">Prerequisites</a></li>{% endif %}
{% if instructors %}<li class="nav-item"><a href="#instructors">Instructors</a></li>{% endif %}
{% if page.faq_url %}<li class="nav-item"><a href="{{page.faq_url}}" target="_blank">FAQs</a></li>{% endif %}
</ul>
Expand Down Expand Up @@ -58,6 +59,10 @@ <h2 class="electives-title">{{ page.product.elective_title }}</h2>
<h2>What you&apos;ll learn</h2>
{{ page.what_you_learn |richtext }}
</section>{% endif %}
{% if page.prerequisites %}<section class="prerequisites about-richtext-container" id="prerequisites">
<h2>Prerequisites</h2>
{{ page.prerequisites |richtext }}
</section>{% endif %}

{% if instructors or page.faculty_members %}
<section class="faculty-section" id="instructors">
Expand Down
6 changes: 5 additions & 1 deletion frontend/public/src/components/CourseInfoBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ export default class CourseInfoBox extends React.PureComponent<CourseInfoBoxProp
</>
) : null}
<div>
<a target="_blank" rel="noreferrer" href="#">
<a
target="_blank"
rel="noreferrer"
href="https://mitxonline.zendesk.com/hc/en-us/articles/16928404973979-Does-MITx-Online-offer-free-certificates-"
>
What's the certificate track?
</a>
</div>
Expand Down

0 comments on commit a10a4e3

Please sign in to comment.