diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-19 17:43:05 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-19 17:43:05 +0300 |
commit | 3bd2dcd002bc072212355b90fc1ce4a7df7ce4a5 (patch) | |
tree | 530d7e66cd49b23337b8ebd728b2f89c2fd648c3 /servo/templates/admin/settings.html | |
parent | f3e4c5f7f949ea07e876c51cd085b7d734177740 (diff) | |
download | Servo-3bd2dcd002bc072212355b90fc1ce4a7df7ce4a5.tar.gz Servo-3bd2dcd002bc072212355b90fc1ce4a7df7ce4a5.tar.bz2 Servo-3bd2dcd002bc072212355b90fc1ce4a7df7ce4a5.zip |
Show company logo when set
Diffstat (limited to 'servo/templates/admin/settings.html')
-rw-r--r-- | servo/templates/admin/settings.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/servo/templates/admin/settings.html b/servo/templates/admin/settings.html index bec147b..35007d4 100644 --- a/servo/templates/admin/settings.html +++ b/servo/templates/admin/settings.html @@ -1,12 +1,13 @@ {% extends "admin/index.html" %} +{% load static %} {% load i18n %} {% block second_column %} <form method="post" accept-charset="utf-8" action="" enctype="multipart/form-data" class="form-horizontal"> {% csrf_token %} -<!-- + <!-- {{ formset.management_form }} -//--> + //--> <ul class="nav nav-tabs"> <li class="active"><a href="#tab1" data-toggle="tab">{% trans "General" %}</a></li> <li><a href="#tab2" data-toggle="tab">{% trans "Inventory" %}</a></li> @@ -20,6 +21,13 @@ <div class="tab-pane active" id="tab1"> {% include "form_field_snippet.html" with field=form.company_name %} {% include "form_field_snippet.html" with field=form.company_logo %} + {% if config.company_logo %} + <div class="control-group"> + <div class="controls"> + <img src="{% get_media_prefix %}{{ config.company_logo }}" alt="logo" title="logo" class="media-object span2"/> + </div> + </div> + {% endif %} {% include "form_field_snippet.html" with field=form.terms_of_service %} {% include "form_field_snippet.html" with field=form.autocomplete_repairs %} </div> |