Fix domain search, space between icon and text in msgs
This commit is contained in:
parent
c21cbcbd53
commit
59285db0c0
|
@ -83,7 +83,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
{% for message in messages %}
|
{% 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">×</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">×</span></button></div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -113,7 +113,7 @@ def findInDatabase(rawValue):
|
||||||
if not value.endswith("."):
|
if not value.endswith("."):
|
||||||
value += "."
|
value += "."
|
||||||
|
|
||||||
obj = domains.models.Domain.filter(name=value)
|
obj = domains.models.Domain.objects.filter(name=value)
|
||||||
results.extend(obj)
|
results.extend(obj)
|
||||||
|
|
||||||
# contact by name?
|
# contact by name?
|
||||||
|
|
Loading…
Reference in New Issue