diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/devel/siteindex.html | 4 | ||||
-rw-r--r-- | templates/packages/search.html | 16 |
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> <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> </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}}"> <<< 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 >>> </a> {% else %} |