Skip to content

Commit 3b243bd

Browse files
pdpinchannagav
andauthored
make "MITx Online" mixed case (#5391)
* make "MITx Online" mixed case see mitodl/hq#3936 (comment) * Making hero buttons consistent * test --------- Co-authored-by: Anna <[email protected]>
1 parent 57a5dd1 commit 3b243bd

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

cms/templates/cms/program_page.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ <h1 class="title">
6161
{% if page.program_subscribe_link %}
6262
<a class="mdl-button hero-button"
6363
href="{{ page.program_subscribe_link }}"
64-
target="blank">Learn More</a>
64+
target="blank">LEARN MORE</a>
6565
{% else %}
6666
{% if page.program.id == 2 %}
6767
<a href="https://mitxonline.mit.edu/create-account/" class="mdl-button hero-button mdl-cell--hide-phone">
68-
Enroll on MITx Online
68+
ENROLL ON MITx ONLINE
6969
</a>
7070
{% else %}
7171
{% if not authenticated %}
7272
<a href="{% url 'signin' %}?program={{page.program.id}}" class="mdl-button hero-button mdl-cell--hide-phone">
73-
Create Account {{page.program.id}}
73+
CREATE ACCOUNT
7474
</a>
7575
<div class="log-in mdl-cell--hide-phone">
7676
Already a Member?

static/scss/_button.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
margin: 0 0 20px 0;
5050
font-size: 16px;
5151
font-weight: 300;
52+
text-transform: none;
5253
}
5354

5455
&.hero-button:hover, &.hero-button:focus, &.hero-button:active, &.hero-button:focus:not(:active) {

ui/views_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def test_no_courses(self):
678678
self.assertIn("program", js_settings)
679679
self.assertIn("courses", js_settings["program"])
680680
self.assertEqual(len(js_settings["program"]["courses"]), 0)
681-
self.assertContains(response, "Learn More")
681+
self.assertContains(response, "LEARN MORE")
682682
self.assertContains(response, program_subscribe_link)
683683

684684

0 commit comments

Comments
 (0)