Add "My Class" to student nav

This commit is contained in:
Ray Schamp 2016-03-18 15:01:09 -04:00
parent 29fa914b9a
commit 2d6a38800b
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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",