Commit ffb125f8 by ichuang

course_navigation for masquerade

parent fb0a2323
......@@ -27,14 +27,17 @@ def url_class(is_active):
</li>
% endfor
<%block name="extratabs" />
%if staff_access and masquerade:
% if masquerade is not UNDEFINED:
% if staff_access and masquerade is not None:
<li style="float:right"><a href="#" id="staffstatus">Staff view</a></li>
%endif
% endif
% endif
</ol>
</div>
</nav>
%if staff_access and masquerade:
% if masquerade is not UNDEFINED:
% if staff_access and masquerade is not None:
<script type="text/javascript">
masq = (function(){
var el = $('#staffstatus');
......@@ -61,4 +64,5 @@ masq = (function(){
});
}() );
</script>
%endif
% endif
% endif
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