Parent: [5f05b5] (diff)

Child: [f0e64e] (diff)

Download this file

milestone.html    55 lines (48 with data), 1.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{% extends g.theme.master %}
{% do g.register_app_css('css/tracker.css') %}
{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / {{field.label}} {{milestone.name}}{% endblock %}
{% block header %}{{field.label}} {{milestone.name}}{% endblock %}
{% block actions %}
{% if allow_edit %}
<a href="{{tg.url(c.app.url+'edit/', dict(q=q, limit=limit, sort=url_sort, page=page))}}" title="Bulk Edit"><b data-icon="{{g.icons['pencil'].char}}" class="ico {{g.icons['pencil'].css}}"></b></a>
{% endif %}
{% endblock %}
{% block edit_box %}
<div class="editbox">
<div class="grid-6">
<label>Status:</label> {{milestone.closed and 'Closed' or 'Open'}}
</div>
<div class="grid-6">
<label>Due Date:</label> {{milestone.due_date or 'N/A'}}
</div>
<div class="grid-6">
<label>Progress:</label> {{closed}} / {{total}}
</div>
</div>
{% endblock %}
{% block content %}
{%if h.has_access(c.app, 'delete') and c.app.globals.has_deleted_tickets()%}
<p>
{%if deleted%}
<a href="{{tg.url('', dict(q=q, limit=limit, sort=sort, deleted=False))}}">Hide deleted tickets</a>
{%else%}
<a href="{{tg.url('', dict(q=q, limit=limit, sort=sort, deleted=True))}}">Show deleted tickets</a>
{%endif%}
</p>
{%endif%}
{% if help_msg %}
<div id="search-ticket-help-msg" class="grid-19 info">{{g.markdown.convert(help_msg)}}</div>
{% endif %}
{% if milestone.description %}
<p>{{milestone.description}}</p>
{% endif %}
{{c.ticket_search_results.display(solr_error=solr_error,
count=count,
limit=limit,
query=q,
tickets=tickets,
sortable_custom_fields=sortable_custom_fields,
columns=columns,
page=page,
sort=sort)}}
{% endblock %}