Files
edx-platform/lms/templates/certificates/certificate-base.html
Ned Batchelder eb3b8c5ce4 TNL-2269 Compute language direction every time.
The old code would compute the language direction once when the template
was loaded.

TNL-2269
2015-05-28 16:13:59 -04:00

30 lines
915 B
HTML

<%namespace name='static' file='/static_content.html'/>
<%! from django.utils.translation import ugettext as _ %>
<%! import mako.runtime %>
<% mako.runtime.UNDEFINED = '' %>
<%
document_body_class = document_body_class_append if document_body_class_append else ''
%>
<!DOCTYPE html>
<html class="no-js" lang="en">
<head dir=-"${static.dir_rtl()}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>${document_title}</title>
<%include file="_assets-primary.html" />
</head>
<body class="view-certificate view-valid-certificate ${static.dir_rtl()} ${document_body_class}" data-view="valid-certificate">
<div class="wrapper-view">
${self.body()}
</div>
<%include file="_assets-secondary.html" />
</body>
</html>