Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
radiopanik
panikdb
Commits
5d2deb71
Commit
5d2deb71
authored
Oct 27, 2013
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not display search form to unlogged users
parent
2702906d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
panikdb/templates/base.html
panikdb/templates/base.html
+2
-0
No files found.
panikdb/templates/base.html
View file @
5d2deb71
...
@@ -38,10 +38,12 @@
...
@@ -38,10 +38,12 @@
<h1><a
href=
"{% url 'home' %}"
>
Panik DB
</a></h1>
<h1><a
href=
"{% url 'home' %}"
>
Panik DB
</a></h1>
</div>
</div>
<div
id=
"splash"
>
<div
id=
"splash"
>
{% if user.id %}
<form
action=
"{% url 'haystack_search' %}"
>
<form
action=
"{% url 'haystack_search' %}"
>
<input
type=
"search"
name=
"q"
placeholder=
"Rechercher"
/>
<input
type=
"search"
name=
"q"
placeholder=
"Rechercher"
/>
<button
class=
"icon-search"
></button>
<button
class=
"icon-search"
></button>
</form>
</form>
{% endif %}
</div>
</div>
<div
id=
"user-links"
>
<div
id=
"user-links"
>
{% block user-links %}
{% block user-links %}
...
...
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