annotate MoinMoin/templates/tickets.html @ 2688:d1872000dcdc

Removed HTML validation errors from +tickets view
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Fri, 01 Aug 2014 18:13:11 +0530
parents 5ed45d642d47
children 43987f1b008e
rev   line source
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
1 {% extends theme("layout.html") %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
2 {% set search_form=None %}
2688
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
3 {% set title = _("Tickets") %}
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
4
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
5 {% block content %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
6 <h1>{{_("Tickets")}}</h1>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
7
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
8 {% set status_values = ['all', 'open', 'closed'] %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
9 {{_("Filter:")}}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
10 {% for status_value in status_values %}
2636
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
11 <form action="{{ url_for('frontend.tickets', selected_tags=list(selected_tags), time_sorting=time_sorting if time_sorting) }}" method="post" class='moin-ticketsearch-form'>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
12 <input type="hidden" name="q" value="{{ query if query }}" >
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
13 &nbsp;<input type="hidden" name="status" value="{{ status_value }}">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
14 <input type="submit" value="{{ status_value.capitalize() }}" title="{{ _('Show %(status)s tickets', status=status_value) }}" class="{{ 'ticket-query-button active' if status == status_value else 'ticket-query-button'}}">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
15 </form>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
16 {% endfor %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
17
2635
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
18 <div class="tickets-sort-button dropdown">
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
19 <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
20 {% if time_sorting == 'new' %}
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
21 {% set sortedby = 'Recently updated' %}
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
22 {% elif time_sorting == 'old' %}
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
23 {% set sortedby = 'Least recently updated' %}
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
24 {% endif %}
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
25 {{_("Sort: %(sortedby)s", sortedby=sortedby if sortedby)}}
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
26 <span class="caret"></span>
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
27 </button>
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
28 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
29 <li role="presentation">
2636
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
30 <a role="menuitem" tabindex="-1" href="{{ url_for('frontend.tickets', selected_tags=list(selected_tags), time_sorting='new') }}">
2635
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
31 {{_("Recently updated")}}
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
32 </a>
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
33 </li>
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
34 <li role="presentation">
2636
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
35 <a role="menuitem" tabindex="-1" href="{{ url_for('frontend.tickets', selected_tags=list(selected_tags), time_sorting='old') }}">
2635
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
36 {{_("Least recently updated")}}
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
37 </a>
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
38 </li>
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
39 </ul>
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
40 </div>
d98612551045 Added option of sort by recently and least recently updated tickets in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2634
diff changeset
41
2636
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
42 <form action="{{ url_for('frontend.tickets',selected_tags=list(selected_tags), time_sorting=time_sorting if time_sorting) }}" method="post">
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
43 <input type="hidden" name="status" value="{{ status }}">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
44 <input type="text" name="q" value="{{ query if query }}" id="moin-ticketsearch-query" class="form-control" placeholder="{{_('Find tickets')}}">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
45 </form>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
46
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
47 {% if results %}
2688
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
48 <p>{{ _("%(result_len)d Tickets found.", result_len=results|length) }}</p>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
49 <table class="table table-hover" id="ticket-list">
2688
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
50 <thead>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
51 <tr>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
52 <th id="ticket-itemid">{{_("ID")}}</th>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
53 <th id="ticket-summary">{{_("Summary")}}</th>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
54 <th id="ticket-status">{{_("Status")}}</th>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
55 <th id="ticket-effort" title="{{ _('Effort') }}">E</th>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
56 <th id="ticket-difficulty" title="{{ _('Difficulty') }}">D</th>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
57 <th id="ticket-severity" title="{{ _('Severity') }}">S</th>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
58 <th id="ticket-priority" title="{{ _('Priority') }}">P</th>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
59 <th id="ticket-tags">{{_("Tags")}}</th>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
60 </tr>
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
61 </thead>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
62 <tbody>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
63 {% for result in results %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
64 <tr>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
65 <td>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
66 <a href="{{ url_for_item(result['itemid'], field='itemid', namespace=result['namespace'])}}" title="{{ _('ITEMID: %(itemid)s', itemid=result['itemid'])}}">
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
67 {{result['itemid'] | shorten_id}}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
68 </a>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
69 <td>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
70 <a href="{{ url_for_item(result['itemid'], field='itemid', namespace=result['namespace'])}}" title="{{ _('ITEMID: %(itemid)s', itemid=result['itemid'])}}">
2634
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
71 {{ result['summary'] }}
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
72 </a>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
73 </td>
2634
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
74 <td>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
75 {{ _("Closed") if result['closed'] else _("Open") }}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
76 </td>
2634
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
77 <td>
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
78 {{ result.get('effort', '') }}
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
79 </td>
2634
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
80 <td>
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
81 {{ result.get('difficulty', '') }}
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
82 </td>
2634
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
83 <td>
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
84 {{ result.get('severity', '') }}
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
85 </td>
2634
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
86 <td>
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
87 {{ result.get('priority', '') }}
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
88 </td>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
89 <td>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
90 {% for tag in result['tags'] %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
91 {{ tag }}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
92 {% endfor %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
93 </td>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
94 </tr>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
95 {% endfor %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
96 </tbody>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
97 </table>
2634
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
98
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
99 <p id="ticket-table-tip">
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
100 {{_("Tip: Sort multiple columns simultaneously by holding down the Shift key and clicking a second, third or even fourth column header!")}}
4cc1d15c203c Added tags filter option
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2632
diff changeset
101 </p>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
102 {% else %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
103 {{ _("No Ticket found.") }}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
104 {% endif %}
2636
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
105
2688
d1872000dcdc Removed HTML validation errors from +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2636
diff changeset
106 <h3 class="moin-ticket-tags">{{_("Tags")}}</h3>
2636
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
107 {% for tag in tags %}
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
108 {# If user clicks on the tag then it gets selected if it is not already selected #}
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
109 {# If that tag is already selected then it gets deselected #}
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
110 {% set selected_tags_value = list(selected_tags.difference([tag]) if tag in selected_tags else selected_tags.union([tag])) %}
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
111 <form action="{{ url_for('frontend.tickets', selected_tags=selected_tags_value, time_sorting=time_sorting if time_sorting) }}" method="post">
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
112 <input type="hidden" name="q" value="{{ query if query }}" >
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
113 <input type="hidden" name="status" value="{{ status }}">
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
114 <input type="submit" value="{{ tag }}" class="{{ 'ticket-tags-button btn btn-primary active' if tag in selected_tags else 'ticket-tags-button btn btn-default' }}">
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
115 </form>
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
116 {% endfor %}
5ed45d642d47 Added suggestions for in ticket modify and submit template and also shown all tags in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2635
diff changeset
117
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
118 {% endblock %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
119 {% block body_scripts %}
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
120 {{ super() }}
2632
647ee04f863e Added XStatic.JQuery.TableSorter plugin in +tickets view
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents: 2631
diff changeset
121 <script src="{{ url_for('serve.files', name='jquery_tablesorter', filename='jquery.tablesorter.js') }}"></script>
2627
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
122 <script src="{{ url_for('static', filename='js/tickets.js') }}"></script>
8f93193cfd9b Added +tickets view having list of tickets
Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
parents:
diff changeset
123 {% endblock %}