Commit e51d453e by Giulio Gratta

re-add the peer grading tab for students

parent 5291ee0e
...@@ -17,19 +17,17 @@ def url_class(is_active): ...@@ -17,19 +17,17 @@ def url_class(is_active):
<div class="inner-wrapper"> <div class="inner-wrapper">
<ol class="course-tabs"> <ol class="course-tabs">
% for tab in get_course_tabs(user, course, active_page): % for tab in get_course_tabs(user, course, active_page):
% if tab.name != "Grading Panel" or staff_access: <li>
<li> <a href="${tab.link | h}" class="${url_class(tab.is_active)}">
<a href="${tab.link | h}" class="${url_class(tab.is_active)}"> ${tab.name | h}
${tab.name | h} % if tab.is_active == True:
% if tab.is_active == True: <span class="sr">, current location</span>
<span class="sr">, current location</span> %endif
%endif % if tab.has_img == True:
% if tab.has_img == True: <img src="${tab.img}"/>
<img src="${tab.img}"/> %endif
%endif </a>
</a> </li>
</li>
% endif
% endfor % endfor
<%block name="extratabs" /> <%block name="extratabs" />
% if masquerade is not UNDEFINED: % 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