Commit 2d6a3880 authored by Ray Schamp's avatar Ray Schamp

Add "My Class" to student nav

parent 29fa914b
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment