mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Add "My Class" to student nav
This commit is contained in:
parent
29fa914b9a
commit
2d6a38800b
2 changed files with 10 additions and 0 deletions
|
@ -298,6 +298,15 @@ var Navigation = React.createClass({
|
|||
</a>
|
||||
</li>
|
||||
] : []}
|
||||
{this.state.session.permissions.student ? [
|
||||
<li>
|
||||
<a href={'/classes/' + this.state.session.user.classroomId + '/'}>
|
||||
<FormattedMessage
|
||||
id='general.myClass'
|
||||
defaultMessage={'My Class'} />
|
||||
</a>
|
||||
</li>
|
||||
] : []}
|
||||
<li>
|
||||
<a href="/accounts/settings/">
|
||||
<FormattedMessage
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"general.legal": "Legal",
|
||||
"general.learnMore": "Learn More",
|
||||
"general.messages": "Messages",
|
||||
"general.myClass": "My Class",
|
||||
"general.myClasses": "My Classes",
|
||||
"general.myStuff": "My Stuff",
|
||||
"general.offlineEditor": "Offline Editor",
|
||||
|
|
Loading…
Reference in a new issue