Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mymusiclist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Brian Guadalupe
mymusiclist
Commits
a76150b7
Commit
a76150b7
authored
Nov 20, 2017
by
Raphael Remorosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simple "no results" response if zero search results
parent
cbf76943
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
search.html
templates/search.html
+7
-1
No files found.
templates/search.html
View file @
a76150b7
...
...
@@ -12,6 +12,12 @@
{% block content %}
{% if results.count == 0 %}
<div
class=
"w3-display-middle"
>
<h2>
Sorry, but the thing you are looking for is not in our database.
</h2>
</div>
{% endif %}
{% for i in results %}
<div
class =
" main w3-margin w3-card-4"
>
{% if type == "album" %}
...
...
Write
Preview
Markdown
is supported
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