Remove unused version from footer
I'm not seeing this value ever initialized in `settings`, or referenced anywhere else in platform, for that matter..
This commit is contained in:
@@ -203,7 +203,6 @@ class Users(SysadminDashboardView):
|
||||
'msg': self.msg,
|
||||
'djangopid': os.getpid(),
|
||||
'modeflag': {'users': 'active-section'},
|
||||
'edx_platform_version': getattr(settings, 'EDX_PLATFORM_VERSION_STRING', ''),
|
||||
}
|
||||
return render_to_response(self.template_name, context)
|
||||
|
||||
@@ -241,7 +240,6 @@ class Users(SysadminDashboardView):
|
||||
'msg': self.msg,
|
||||
'djangopid': os.getpid(),
|
||||
'modeflag': {'users': 'active-section'},
|
||||
'edx_platform_version': getattr(settings, 'EDX_PLATFORM_VERSION_STRING', ''),
|
||||
}
|
||||
return render_to_response(self.template_name, context)
|
||||
|
||||
@@ -370,7 +368,6 @@ class Courses(SysadminDashboardView):
|
||||
'msg': self.msg,
|
||||
'djangopid': os.getpid(),
|
||||
'modeflag': {'courses': 'active-section'},
|
||||
'edx_platform_version': getattr(settings, 'EDX_PLATFORM_VERSION_STRING', ''),
|
||||
}
|
||||
return render_to_response(self.template_name, context)
|
||||
|
||||
@@ -422,7 +419,6 @@ class Courses(SysadminDashboardView):
|
||||
'msg': self.msg,
|
||||
'djangopid': os.getpid(),
|
||||
'modeflag': {'courses': 'active-section'},
|
||||
'edx_platform_version': getattr(settings, 'EDX_PLATFORM_VERSION_STRING', ''),
|
||||
}
|
||||
return render_to_response(self.template_name, context)
|
||||
|
||||
@@ -459,7 +455,6 @@ class Staffing(SysadminDashboardView):
|
||||
'msg': self.msg,
|
||||
'djangopid': os.getpid(),
|
||||
'modeflag': {'staffing': 'active-section'},
|
||||
'edx_platform_version': getattr(settings, 'EDX_PLATFORM_VERSION_STRING', ''),
|
||||
}
|
||||
return render_to_response(self.template_name, context)
|
||||
|
||||
|
||||
@@ -216,7 +216,6 @@ textarea {
|
||||
|
||||
</section>
|
||||
<div style="text-align:right; float: right"><span id="djangopid">'Django PID': ${djangopid}</span>
|
||||
## Translators: A version number appears after this string
|
||||
| <span id="edxver">${_('Platform Version')}: ${edx_platform_version}</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user