Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 491
- Log:
Jan 2024 bug tracker updates
- Author:
- rool
- Date:
- Sun Jan 28 09:33:07 +0000 2024
- Size:
- 1696 Bytes
1 | <% @page_title = 'Search' %> |
2 | |
3 | <div id="content"> |
4 | <%= form_tag({:action => 'index'}, :method => 'get') -%> |
5 | <table border="0" cellspacing="0" cellpadding="1"> |
6 | <tr valign="middle" align="left"> |
7 | <th>Search in tickets:</th> |
8 | <td> </td> |
9 | <td><input name="q" type="text" value="<%= params[:q] -%>" /></td> |
10 | </tr> |
11 | <% if current_user.view_changesets? %> |
12 | <tr valign="middle" align="left"> |
13 | <th>Search in Changesets too?</th> |
14 | <td> </td> |
15 | <td><%= check_box_tag 'changesets', 1, params[:changesets], {:class => 'checkbox'} -%></td> |
16 | </tr> |
17 | <% end %> |
18 | <tr align="left"> |
19 | <td colspan="3"><br /><input type="submit" value="Go!" /></td> |
20 | </tr> |
21 | </table> |
22 | <%= end_form_tag -%> |
23 | |
24 | <% if (@found_items.size > 0) -%> |
25 | <% records = 0 -%> |
26 | <% @found_items.each do |items| -%> |
27 | <p /> |
28 | <% items.each do |item| -%> |
29 | <div class="search-result"> |
30 | <h1> |
31 | <% if ['fixed', 'wontfix', 'invalid'].include?(item[:status].downcase) %> |
32 | <s><%= link_to item[:title], item[:link] -%></s> |
33 | <% else %> |
34 | <%= link_to item[:title], item[:link] -%> |
35 | <% end %> |
36 | <small style="font-weight: normal; font-size: 15pt;">[<%= item[:status] %>]</small> |
37 | </h1> |
38 | <p> |
39 | <%= hilight_search_terms(simple_format(item[:content]), @params["q"]) %> |
40 | </p> |
41 | </div> |
42 | <% records += 1 -%> |
43 | <% end -%> |
44 | <% end -%> |
45 | <% if (records == 0) -%> |
46 | <p /> |
47 | <div class="search-result"> |
48 | <h1>Sorry, your search returned no results.</h1> |
49 | </div> |
50 | <% end -%> |
51 | <% end -%> |
52 | </div> |