Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
6fc2c4a4
Commit
6fc2c4a4
authored
Jun 02, 2016
by
Peter Fogg
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12617 from edx/peter-fogg/catalog-page-titles
Add page titles to API admin pages.
parents
c681c567
f1753ed1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lms/templates/api_admin/status.html
+5
-1
lms/templates/api_admin/terms_of_service.html
+3
-1
No files found.
lms/templates/api_admin/status.html
View file @
6fc2c4a4
## mako
<
%
page
expression_filter=
"h"
/>
<
%
inherit
file=
"../main.html"
/>
<
%
<
%
!
from
django
.
utils
.
translation
import
ugettext
as
_
from
openedx
.
core
.
djangoapps
.
api_admin
.
models
import
ApiAccessRequest
from
openedx
.
core
.
djangolib
.
markup
import
HTML
,
Text
%
>
<
%
block
name=
"pagetitle"
>
${_("API Access Request Status")}
</
%
block>
<div
id=
"api-access-wrapper"
>
<h1
id=
"api-header"
>
${_("{platform_name} API Access Request").format(platform_name=settings.PLATFORM_NAME)}
</h1>
<div
class=
"request-status request-${status}"
>
...
...
lms/templates/api_admin/terms_of_service.html
View file @
6fc2c4a4
## mako
<
%
page
expression_filter=
"h"
/>
<
%
inherit
file=
"../main.html"
/>
<
%
<
%
!
from
django
.
core
.
urlresolvers
import
reverse
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%
block
name=
"pagetitle"
>
${_("API Terms of Service")}
</
%
block>
<div
id=
"api-access-wrapper"
>
<h1
id=
"api-header"
>
${_("Terms of Service for {platform_name} APIs").format(platform_name=settings.PLATFORM_NAME)}
</h1>
<h2
class=
"api-subheading"
>
${_("Effective Date: April 12th, 2016")}
</h2>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment