Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
6adb6dd2
Commit
6adb6dd2
authored
Nov 30, 2015
by
Ray Schamp
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #260 from rschamp/bugfix/GH-237
Fix GH-237: Show My Classes in nav to educators
parents
e6448ae4
961d97eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
en.json
en.json
+1
-0
src/components/navigation/navigation.jsx
src/components/navigation/navigation.jsx
+9
-0
No files found.
en.json
View file @
6adb6dd2
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
"general.legal"
:
"Legal"
,
"general.legal"
:
"Legal"
,
"general.learnMore"
:
"Learn More"
,
"general.learnMore"
:
"Learn More"
,
"general.messages"
:
"Messages"
,
"general.messages"
:
"Messages"
,
"general.myClasses"
:
"My Classes"
,
"general.myStuff"
:
"My Stuff"
,
"general.myStuff"
:
"My Stuff"
,
"general.offlineEditor"
:
"Offline Editor"
,
"general.offlineEditor"
:
"Offline Editor"
,
"general.profile"
:
"Profile"
,
"general.profile"
:
"Profile"
,
...
...
src/components/navigation/navigation.jsx
View file @
6adb6dd2
...
@@ -281,6 +281,15 @@ var Navigation = React.createClass({
...
@@ -281,6 +281,15 @@ var Navigation = React.createClass({
<
FormattedMessage
{
...
defaultMessages
.
myStuff
}
/>
<
FormattedMessage
{
...
defaultMessages
.
myStuff
}
/>
</
a
>
</
a
>
</
li
>
</
li
>
{
this
.
state
.
session
.
permissions
.
educator
?
[
<
li
>
<
a
href=
"/educators/classes/"
>
<
FormattedMessage
id=
'general.myClasses'
defaultMessage=
{
'
My Classes
'
}
/>
</
a
>
</
li
>
]
:
[]
}
<
li
>
<
li
>
<
a
href=
"/accounts/settings/"
>
<
a
href=
"/accounts/settings/"
>
<
FormattedMessage
<
FormattedMessage
...
...
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