course_navigation for masquerade

This commit is contained in:
ichuang
2013-04-13 19:42:58 -04:00
parent fb0a23238a
commit ffb125f8a9

View File

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