Report the RELEASE_LINE in a meta tag
This commit is contained in:
@@ -15,6 +15,7 @@ from openedx.core.djangolib.js_utils import (
|
||||
dump_js_escaped_json, js_escaped_string
|
||||
)
|
||||
from openedx.core.djangolib.markup import HTML
|
||||
from openedx.core.release import RELEASE_LINE
|
||||
%>
|
||||
|
||||
<%page expression_filter="h"/>
|
||||
@@ -24,6 +25,7 @@ from openedx.core.djangolib.markup import HTML
|
||||
<head dir="${static.dir_rtl()}">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="openedx-release-line" content="${RELEASE_LINE}" />
|
||||
<title>
|
||||
<%block name="title"></%block> |
|
||||
% if context_course:
|
||||
|
||||
@@ -19,6 +19,7 @@ from django.utils.http import urlquote_plus
|
||||
from django.utils.translation import ugettext as _
|
||||
from django.utils.translation import get_language_bidi
|
||||
from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_string
|
||||
from openedx.core.release import RELEASE_LINE
|
||||
from pipeline_mako import render_require_js_path_overrides
|
||||
|
||||
%>
|
||||
@@ -122,6 +123,7 @@ from pipeline_mako import render_require_js_path_overrides
|
||||
|
||||
<meta name="path_prefix" content="${EDX_ROOT_URL}">
|
||||
<meta name="google-site-verification" content="_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY" />
|
||||
<meta name="openedx-release-line" content="${RELEASE_LINE}" />
|
||||
|
||||
<% ga_acct = static.get_value("GOOGLE_ANALYTICS_ACCOUNT", settings.GOOGLE_ANALYTICS_ACCOUNT) %>
|
||||
% if ga_acct:
|
||||
|
||||
Reference in New Issue
Block a user