The old code would compute the language direction once when the template was loaded. TNL-2269
30 lines
915 B
HTML
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>
|