Merge pull request #15549 from edx/george/git-import-sysadmin
Disable Git Import view for professor's who are not staff
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user