Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add data-nosnippet to login spans #2349

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions portal/templates/portal/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,19 @@
<li class="dropdown-menu__option">
<a id="teacher_login_button" class="button--regular" aria-labelledby="Teacher" href="{% url 'teacher_login' %}">
<div class="dropdown-menu__option__text">Teacher</div>
<span class="material-icons-outlined">chevron_right</span>
<span data-nosnippet class="material-icons-outlined">chevron_right</span>
</a>
</li>
<li class="dropdown-menu__option">
<a id="student_login_button" class="button--regular" aria-labelledby="Student" href="{% url 'student_login_access_code' %}">
<div class="dropdown-menu__option__text">Student</div>
<span class="material-icons-outlined">chevron_right</span>
<span data-nosnippet class="material-icons-outlined">chevron_right</span>
</a>
</li>
<li class="dropdown-menu__option">
<a id="independent_login_button" class="button--regular" aria-labelledby="Independent" href="{% url 'independent_student_login' %}">
<div class="dropdown-menu__option__text">Independent</div>
<span class="material-icons-outlined">chevron_right</span>
<span data-nosnippet class="material-icons-outlined">chevron_right</span>
</a>
</li>
</ul>
Expand Down Expand Up @@ -243,11 +243,11 @@ <h1>{{ user|make_into_username }}</h1>
data-toggle="collapse" data-target="#login-tabs">Log in</button>
<div id="login-tabs" class="collapse">
<a class="button button--menu__item button--menu__item__sub"
href="{% url 'teacher_login' %}">Teacher<span class="material-icons-outlined md-32">chevron_right</span></a>
href="{% url 'teacher_login' %}">Teacher<span data-nosnippet class="material-icons-outlined md-32">chevron_right</span></a>
<a class="button button--menu__item button--menu__item__sub"
href="{% url 'student_login_access_code' %}">Student<span class="material-icons-outlined md-32">chevron_right</span></a>
href="{% url 'student_login_access_code' %}">Student<span data-nosnippet class="material-icons-outlined md-32">chevron_right</span></a>
<a class="button button--menu__item button--menu__item__sub"
href="{% url 'independent_student_login' %}">Independent<span class="material-icons-outlined md-32">chevron_right</span></a>
href="{% url 'independent_student_login' %}">Independent<span data-nosnippet class="material-icons-outlined md-32">chevron_right</span></a>
</div>
<a class="button button--menu__item" href="{% url 'teach' %}">Teacher
<span class="material-icons-outlined md-32">chevron_right</span></a>
Expand Down
Loading