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="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">×</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 %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue