Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marianmazarovici committed Feb 2, 2022
1 parent 44bb1da commit 9b3c333
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions jet/templates/admin/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
{% jet_get_current_theme as THEME %}
{% jet_get_current_version as JET_VERSION %}
{% block html %}<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
{% block html %}
{{ block.super }}
<script type="text/javascript" src="{% url 'jet:jsi18n' %}"></script>
{% endblock %}
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<title>{% block title %}{% endblock %}</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
Expand All @@ -26,7 +30,8 @@
var TIME_FORMAT = "{{ time_format }}";
var DATETIME_FORMAT = "{{ datetime_format }}";
</script>
<script type="text/javascript" src="{% url 'jet:jsi18n' %}"></script>


<script src="{% static "jet/js/build/bundle.min.js" as url %}{{ url|jet_append_version }}"></script>

{% jet_static_translation_urls as translation_urls %}
Expand All @@ -35,7 +40,9 @@
{% endfor %}

{% block extrahead %}{% endblock %}
{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
{% block blockbots %}
{{ block.super }}
<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
</head>
{% load i18n %}

Expand Down

0 comments on commit 9b3c333

Please sign in to comment.