summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-10 17:28:05 -0400
committerDusty Phillips <buchuki@gmail.com>2008-10-10 17:28:05 -0400
commitd97d3a447c328e98df6d3b51d61a979d12cdad46 (patch)
tree60e992f14b5341425f6f79455c4fe9e9ec6887b6 /templates
parentedc9dfb7a49c91f7db3c4a3a568e218dffae70cf (diff)
downloadarchweb-d97d3a447c328e98df6d3b51d61a979d12cdad46.tar.gz
archweb-d97d3a447c328e98df6d3b51d61a979d12cdad46.zip
drop search/ url and just go to packages
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/siteindex.html4
-rw-r--r--templates/packages/search.html16
2 files changed, 10 insertions, 10 deletions
diff --git a/templates/devel/siteindex.html b/templates/devel/siteindex.html
index efce282c..94ef405d 100644
--- a/templates/devel/siteindex.html
+++ b/templates/devel/siteindex.html
@@ -25,7 +25,7 @@
</tr>
{% endfor %}
<tr>
- <td colspan="2" style="text-align:left;font-size:x-small"><br /><a href="/packages/search?sort=-last_update">More Updates...</a></td>
+ <td colspan="2" style="text-align:left;font-size:x-small"><br /><a href="/packages/?sort=-last_update">More Updates...</a></td>
</tr>
</table>
</div>
@@ -34,7 +34,7 @@
{% block content_right %}
<div id="search">
- <form method="get" action="/packages/search/">
+ <form method="get" action="/packages/">
<p><b>Package Search:</b>&nbsp;&nbsp;<input type="text" name="q" size="20" maxlength="200" /></p>
</form>
</div>
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 75bc906b..af3fd9a0 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -10,7 +10,7 @@
{% block content %}
<div class="greybox">
<h4 style="text-align: right">Search Criteria</h4>
- <form method="get" action="/packages/search/">
+ <form method="get" action="/packages/">
<table width="100%">
<tr>
<td><span class="smalltext">Arch</span></td>
@@ -42,13 +42,13 @@
<tr>
<form method="post" action="/packages/update/">
<th>&nbsp;</th>
- <th><a href="/packages/search/{% buildsortqs "arch" %}">Arch</a></th>
- <th><a href="/packages/search/{% buildsortqs "repo" %}">Repo</a></th>
- <th><a href="/packages/search/{% buildsortqs "pkgname" %}">Name</a></th>
+ <th><a href="/packages/{% buildsortqs "arch" %}">Arch</a></th>
+ <th><a href="/packages/{% buildsortqs "repo" %}">Repo</a></th>
+ <th><a href="/packages/{% buildsortqs "pkgname" %}">Name</a></th>
<th>Version</th>
<th>Description</th>
- <th><a href="/packages/search/{% buildsortqs "maintainer" %}">Maintainer</a></th>
- <th><a href="/packages/search/{% buildsortqs "-last_update" %}">Last Updated</a></th>
+ <th><a href="/packages/{% buildsortqs "maintainer" %}">Maintainer</a></th>
+ <th><a href="/packages/{% buildsortqs "-last_update" %}">Last Updated</a></th>
</tr>
{% for pkg in package_list %}
@@ -75,7 +75,7 @@
</td>
<td>
{% if page_obj.has_previous %}
- <a href="/packages/search/{{page_obj.previous_page_number}}/{{current_query}}">
+ <a href="/packages/{{page_obj.previous_page_number}}/{{current_query}}">
&lt;&lt;&lt; Previous
</a>
{% else %}
@@ -84,7 +84,7 @@
</td>
<td>
{% if page_obj.has_next %}
- <a href="/packages/search/{{page_obj.next_page_number}}/{{current_query}}">
+ <a href="/packages/{{page_obj.next_page_number}}/{{current_query}}">
Next &gt;&gt;&gt;
</a>
{% else %}