Skip to content

Commit

Permalink
authentication check for progress report reverted back
Browse files Browse the repository at this point in the history
  • Loading branch information
Saurabh Bharswakar committed May 25, 2017
1 parent cc49b24 commit 40d88ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/course_about.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ <h3>Taking Screenshots of the work and doing something</h3>
<ul class="tabs" data-tab role="tablist">
<li class="tab-title active" ><a href="#course-notification" role="tab" tabindex="0" aria-selected="true" aria-controls="panel2-1">Notifications</a></li>

{% if request.user.is_authenticated and not gstaff_access and request.user.id in group_obj.author_set %}
{% if request.user.is_authenticated and not gstaff_access %}
{# {% if request.user.is_authenticated and not gstaff_access and request.user.id in group_obj.author_set %} #}
<li class="tab-title" title="Click here to refresh">
<a role="tab" href="#analytics-content" class="fetch-analytics" tabindex="1" aria-selected="false" aria-controls="panel2-2" data-id={{request.user.id}}>
Progress Report
Expand Down

0 comments on commit 40d88ba

Please sign in to comment.