Skip to content
Snippets Groups Projects
Commit 4262614d authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

making new search page the main one and deprecating the old events-only search page

parent 736641fb
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
{% block nav-global %}
<ul id="nav">
<li id="nav-home"><a href="{% url "home" %}">Home</a></li>
<li id="nav-search"><a href="{% url "search" %}">Search</a></li>
<li id="nav-search"><a href="{% url "mainsearch" %}">Search</a></li>
<li id="nav-create"><a href="{% url "create" %}">Create</a></li>
<li id="nav-reports"><a href="{% url "reports" %}">Reports</a></li>
<li id="nav-feeds"><a href="{% url "feeds" %}">RSS</a></li>
......
......@@ -108,6 +108,8 @@
{% endblock %}
{% block content %}
<p style="color:red; font-weight: bold;">24 May 2018: This search page is deprecated and will be removed at some point in the future.</p>
<p>{{ message }}</p>
{% if form %}
......
......@@ -24,6 +24,8 @@ onload="document.search_form.query.focus();"
{% block content %}
<p style="color: red; font-weight: bold;">24 May 2018: This search page is deprecated and will be removed at some point in the future.</p>
<form method="POST" name="search_form">
<table>
{{ form.as_table }}
......
<ul id="nav">
<li id="nav-home"><a href="{% url "home" %}">Home</a></li>
<li id="nav-search"><a href="{% url "search" %}">Search</a></li>
<li id="nav-search"><a href="{% url "mainsearch" %}">Search</a></li>
{% if user_is_internal %}
<li id="nav-create"><a href="{% url "create" %}">Create</a></li>
<li id="nav-reports"><a href="{% url "reports" %}">Reports</a></li>
......
......@@ -141,4 +141,6 @@
<h4>By submitter</h4>
Same as for events.
<h4>By label</h4>
Same as for events.
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment