Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e51d453e
Commit
e51d453e
authored
Jul 12, 2013
by
Giulio Gratta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re-add the peer grading tab for students
parent
5291ee0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
lms/templates/courseware/course_navigation.html
+11
-13
No files found.
lms/templates/courseware/course_navigation.html
View file @
e51d453e
...
...
@@ -17,19 +17,17 @@ def url_class(is_active):
<div
class=
"inner-wrapper"
>
<ol
class=
"course-tabs"
>
% for tab in get_course_tabs(user, course, active_page):
% if tab.name != "Grading Panel" or staff_access:
<li>
<a
href=
"${tab.link | h}"
class=
"${url_class(tab.is_active)}"
>
${tab.name | h}
% if tab.is_active == True:
<span
class=
"sr"
>
, current location
</span>
%endif
% if tab.has_img == True:
<img
src=
"${tab.img}"
/>
%endif
</a>
</li>
% endif
<li>
<a
href=
"${tab.link | h}"
class=
"${url_class(tab.is_active)}"
>
${tab.name | h}
% if tab.is_active == True:
<span
class=
"sr"
>
, current location
</span>
%endif
% if tab.has_img == True:
<img
src=
"${tab.img}"
/>
%endif
</a>
</li>
% endfor
<
%
block
name=
"extratabs"
/>
% if masquerade is not UNDEFINED:
...
...
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