Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
condenser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
condenser
Commits
f540df46
Commit
f540df46
authored
8 years ago
by
Ed
Browse files
Options
Downloads
Patches
Plain Diff
Fix various page titles
parent
6a8d5760
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/components/modules/Header.jsx
+12
-0
12 additions, 0 deletions
app/components/modules/Header.jsx
with
12 additions
and
0 deletions
app/components/modules/Header.jsx
+
12
−
0
View file @
f540df46
...
...
@@ -99,6 +99,18 @@ class Header extends React.Component {
}
else
if
(
route
.
page
===
'
Post
'
)
{
sort_order
=
''
;
topic
=
route
.
params
[
0
];
}
else
if
(
route
.
page
==
'
SubmitPost
'
)
{
page_title
=
`Create a Post`
;
}
else
if
(
route
.
page
==
'
Privacy
'
)
{
page_title
=
`Privacy Policy`
;
}
else
if
(
route
.
page
==
'
Tos
'
)
{
page_title
=
`Terms of Service`
;
}
else
if
(
route
.
page
==
'
ChangePassword
'
)
{
page_title
=
`Change Account Password`
;
}
else
if
(
route
.
page
==
'
CreateAccount
'
)
{
page_title
=
`Sign Up`
;
}
else
if
(
route
.
page
==
'
RecoverAccountStep1
'
||
route
.
page
==
'
RecoverAccountStep2
'
)
{
page_title
=
`Stolen Account Recovery`
;
}
else
if
(
route
.
page
===
'
UserProfile
'
)
{
user_name
=
route
.
params
[
0
].
slice
(
1
);
page_title
=
user_name
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment