Commit e51d453e by Giulio Gratta

re-add the peer grading tab for students

parent 5291ee0e
......@@ -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:
......
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