Fix domain search, space between icon and text in msgs

This commit is contained in:
Sebastian Lohff 2017-03-28 13:20:00 +02:00
parent c21cbcbd53
commit 59285db0c0
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@
<div class="row">
<div class="col-sm-12">
{% for message in messages %}
<div role="alert" class="alert {% if message.tags %}alert-{{ message.tags }} {% endif %}alert-dismissible"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>{{ message }}<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button></div>
<div role="alert" class="alert {% if message.tags %}alert-{{ message.tags }} {% endif %}alert-dismissible"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> {{ message }}<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button></div>
{% endfor %}
</div>
</div>

View File

@ -113,7 +113,7 @@ def findInDatabase(rawValue):
if not value.endswith("."):
value += "."
obj = domains.models.Domain.filter(name=value)
obj = domains.models.Domain.objects.filter(name=value)
results.extend(obj)
# contact by name?