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
588026ad
Commit
588026ad
authored
Nov 20, 2017
by
Raphael Remorosa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'add into playlist' in search is only visible to users
parent
787d171a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
37 deletions
+39
-37
search.html
templates/search.html
+39
-37
No files found.
templates/search.html
View file @
588026ad
...
@@ -10,10 +10,6 @@
...
@@ -10,10 +10,6 @@
Source: Local
</p>
Source: Local
</p>
{% endblock %}
{% endblock %}
<!-- ... -->
<!-- Add if statement to show ONLY IF a user is logged in -->
<!-- ... -->
{% block content %}
{% block content %}
{% for i in results %}
{% for i in results %}
...
@@ -30,6 +26,7 @@
...
@@ -30,6 +26,7 @@
</div>
</div>
<!-- ... -->
<!-- ... -->
{% if request.user.is_authenticated %}
<!-- ... -->
<!-- ... -->
<div
class=
"w3-dropdown-hover"
>
<div
class=
"w3-dropdown-hover"
>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
...
@@ -40,6 +37,7 @@
...
@@ -40,6 +37,7 @@
</div>
</div>
</div>
</div>
<!-- ... -->
<!-- ... -->
{% endif %}
<!-- ... -->
<!-- ... -->
...
@@ -61,6 +59,7 @@
...
@@ -61,6 +59,7 @@
</div>
</div>
<!-- ... -->
<!-- ... -->
{% if request.user.is_authenticated %}
<!-- ... -->
<!-- ... -->
<div
class=
"w3-dropdown-hover"
>
<div
class=
"w3-dropdown-hover"
>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
...
@@ -71,6 +70,7 @@
...
@@ -71,6 +70,7 @@
</div>
</div>
</div>
</div>
<!-- ... -->
<!-- ... -->
{% endif %}
<!-- ... -->
<!-- ... -->
...
@@ -89,6 +89,7 @@
...
@@ -89,6 +89,7 @@
</div>
</div>
<!-- ... -->
<!-- ... -->
{% if request.user.is_authenticated %}
<!-- ... -->
<!-- ... -->
<div
class=
"w3-dropdown-hover"
>
<div
class=
"w3-dropdown-hover"
>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
<button
id=
"search_type"
class=
"w3-button"
style=
"width:200px; text-align: left;"
><i
class=
"fa fa-caret-down"
></i>
</button>
...
@@ -99,6 +100,7 @@
...
@@ -99,6 +100,7 @@
</div>
</div>
</div>
</div>
<!-- ... -->
<!-- ... -->
{% endif %}
<!-- ... -->
<!-- ... -->
...
...
Raphael Remorosa
@raphaelremorosa
·
Nov 20, 2017
Developer
sorry, this was supposed to be at patch-1 branch
sorry, this was supposed to be at patch-1 branch
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