Bladeren bron

Added name system to authorization page

1Mike21 1 jaar geleden
bovenliggende
commit
2bb9db9bdb
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 1
      SharixAdmin/templates/SharixAdmin/auth.html
  2. 1 0
      core/settings.py

+ 1 - 1
SharixAdmin/templates/SharixAdmin/auth.html

@@ -7,7 +7,7 @@
     <div class="form-signin" style="width: 100%; max-width:330px; margin: auto; display:block;">
         <form class="m-2 p-2" method="post">
             <img class="mb-4" style="height: 100px;" src="{% static 'SharixAdmin/img/logo.png' %}" alt="" >
-            <h1 class="h3 mb-3 fw-normal">{% trans 'Log in' %}</h1>
+            <h1 class="h3 mb-3 fw-normal">{% trans 'Log in' %} в {{ NameSystem }}</h1>
             {% csrf_token %}
             
             {% for item in form %}

+ 1 - 0
core/settings.py

@@ -84,6 +84,7 @@ TEMPLATES = [
                 "django.template.context_processors.media",
                 "django.template.context_processors.static",
                 "django.template.context_processors.tz",
+                "design_template.context_processors.get_name_system",
             ],
             'libraries': {
                 'custom_tags':'tickets.template_tags.custom_tags'