Skip to content

Commit

Permalink
Make explicit when mirrors are being searched. Closes #1072.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Mar 1, 2014
1 parent d23fd0b commit 38445c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion root/mirrors.html
Expand Up @@ -4,7 +4,7 @@
<script src="/static/openlayers/OpenLayers.js"></script>
<ul class="nav nav-list slidepanel">
<li class="visible-phone search">
<form action="<% IF req.uri.path == '/mirrors'; req.uri.path; ELSE; '/search'; END %>">
<form action="/mirrors" method="GET">
<input type="search" placeholder="Search" name="q"><input type="submit" class="hidden">
</form>
</li>
Expand Down
2 changes: 1 addition & 1 deletion root/wrapper.html
Expand Up @@ -137,7 +137,7 @@
<form action="<% IF req.uri.path == '/mirrors'; req.uri.path; ELSE; '/search'; END %>" class="form-inline search-form">
<div class="input-append">
<input type="text" name="q" size="41" id="search-input" class="input-xlarge span5" value="<% req.param('q').join(' ') or req.parameters.lucky %>">
<button class="btn" type="submit">Search</button>
<button class="btn" type="submit">Search<% IF req.uri.path == '/mirrors' %> Mirrors<% END %></button>
</div><br>
<small class="smaller">
<% IF total.defined; IF page > 1 %>Page <% page %> of <% END; IF total == 999; 'more than '; END; total | format_number %>
Expand Down

0 comments on commit 38445c7

Please sign in to comment.