comparison MoinMoin/templates/tickets.html @ 2717:c868f29f6d90

Fixed #3: Now user can select a filter(open/closed/all) and then choose sort option and only tickets relevant to that filter will be displayed
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Thu, 14 Aug 2014 23:28:15 +0530
parents 43987f1b008e
children 122424b4bc22
comparison
equal deleted inserted replaced
2716:b9ef8aedf9ce 2717:c868f29f6d90
25 {{_("Sort: %(sortedby)s", sortedby=sortedby if sortedby)}} 25 {{_("Sort: %(sortedby)s", sortedby=sortedby if sortedby)}}
26 <span class="caret"></span> 26 <span class="caret"></span>
27 </button> 27 </button>
28 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1"> 28 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
29 <li role="presentation"> 29 <li role="presentation">
30 <a role="menuitem" tabindex="-1" href="{{ url_for('frontend.tickets', selected_tags=list(selected_tags), time_sorting='new') }}"> 30 <form action="{{ url_for('frontend.tickets', selected_tags=list(selected_tags), time_sorting='new') }}" method="post">
31 {{_("Recently updated")}} 31 <input type="hidden" name="status" value="{{ status }}">
32 </a> 32 <input type="hidden" name="q" value="{{ query if query }}" >
33 <button type="submit">
34 {{_("Recently updated")}}
35 </button>
36 </form>
33 </li> 37 </li>
34 <li role="presentation"> 38 <li role="presentation">
35 <a role="menuitem" tabindex="-1" href="{{ url_for('frontend.tickets', selected_tags=list(selected_tags), time_sorting='old') }}"> 39 <form action="{{ url_for('frontend.tickets', selected_tags=list(selected_tags), time_sorting='old') }}" method="post">
36 {{_("Least recently updated")}} 40 <input type="hidden" name="status" value="{{ status }}">
37 </a> 41 <input type="hidden" name="q" value="{{ query if query }}" >
42 <button type="submit">
43 {{_("Least Recently updated")}}
44 </button>
45 </form>
38 </li> 46 </li>
39 </ul> 47 </ul>
40 </div> 48 </div>
41 49
42 <a id="moin-ticket-create-link" href="{{ url_for('frontend.new', itemtype='ticket') }}" > 50 <a id="moin-ticket-create-link" href="{{ url_for('frontend.new', itemtype='ticket') }}" >