Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
d6ae182a
Commit
d6ae182a
authored
Feb 10, 2016
by
Okhin
Browse files
Using a more sensible template
parent
5b23b406
Changes
1
Hide whitespace changes
Inline
Side-by-side
nnmon/templates/search/search.html
View file @
d6ae182a
...
...
@@ -24,13 +24,15 @@
{% if query %}
<h3>
Results
</h3>
<ul>
{% for result in page.object_list %}
<
p
>
<a
href=
"{{ result.object.get_absolute_url }}"
>
{{ result.o
b
ject
.title
}}
</a>
</
p
>
<
li
>
<a
href=
"{{ result.object.get_absolute_url }}"
>
{{ result.oject }}
</a>
</
li
>
{% empty %}
<
p
>
No results found.
</
p
>
<
li
>
No results found.
</
li
>
{% endfor %}
</ul>
{% if page.has_previous or page.has_next %}
<div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment