-
Notifications
You must be signed in to change notification settings - Fork 9
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
Admin: Update admin page titles #2410
Changes from all commits
9b5d3aa
0ff6b05
7269d26
ebcec56
3b70c8a
05f79d9
dcb37ca
e4c68f3
becff48
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,6 @@ | |
{% block dark-mode-vars %} | ||
{% endblock dark-mode-vars %} | ||
|
||
{% block title %} | ||
Log in | Cal-ITP Benefits Administrator | ||
{% endblock title %} | ||
|
||
Comment on lines
-7
to
-10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not necessary here, because the |
||
{% block extrastyle %} | ||
{% comment %} Overriding instead of extending agency-base here to remove jQuery declaration, which admin/login.html includes on its own {% endcomment %} | ||
<link href="{% static "img/favicon.ico" %}" rel="icon" type="image/x-icon" /> | ||
|
@@ -24,6 +20,6 @@ | |
</div> | ||
|
||
<div id="site-name"> | ||
<h1 class="text-center text-white fs-3 py-3 m-0">Administrator</h1> | ||
<h1 class="text-center text-white fs-3 py-3 m-0">{{ site_header }}</h1> | ||
</div> | ||
{% endblock branding %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
{% load static %} | ||
|
||
{% block title %} | ||
Logged out | Cal-ITP Benefits Administrator | ||
Logged out | {{ site_title }} | ||
{% endblock title %} | ||
Comment on lines
4
to
6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (can defer this suggestion) Since we're now setting
The idea is we would make The way you've implemented setting page titles in this PR works, and I know we're trying to finish this out soon, so maybe we defer using this approach for the future, if ever. |
||
|
||
{% block extrastyle %} | ||
|
@@ -20,7 +20,7 @@ | |
</div> | ||
|
||
<div id="site-name"> | ||
<h1 class="text-center text-white fs-3 py-3 m-0">Administrator</h1> | ||
<h1 class="text-center text-white fs-3 py-3 m-0">{{ site_header }}</h1> | ||
</div> | ||
{% endblock branding %} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wanted to note here: @lalver1 and I had thought about setting these back when he was working on #2313; we chose not to because we didn't want to affect the superuser view.
However, now that we have the spec from product for the page titles and can see more places that need this copy, I think it makes sense to go ahead and set/use these attributes.
So the note here is that the superuser view will now use this copy as well, and I think that is perfectly fine. (We'll probably make the superuser UI and transit agency staff UI look more similar at some point anyways.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for documenting this!