Commit 1f6a4f22 by George Song Committed by GitHub

Merge pull request #15549 from edx/george/git-import-sysadmin

Disable Git Import view for professor's who are not staff
parents 0e9f5b3d d682802f
......@@ -104,7 +104,7 @@ from openedx.core.djangolib.markup import HTML, Text
</li>
</ul>
%if settings.FEATURES.get('ENABLE_SYSADMIN_DASHBOARD', ''):
%if settings.FEATURES.get('ENABLE_SYSADMIN_DASHBOARD', '') and user.is_staff:
<p>
## Translators: git is a version-control system; see http://git-scm.com/about
${Text(_("View detailed Git import logs for this course {link_start}by clicking here{link_end}.")).format(
......
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