Parent: [591c74] (diff)

Child: [a4546e] (diff)

Download this file

milestone.html    43 lines (36 with data), 1.2 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
{% 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=sort))}}" title="Bulk Edit"><b data-icon="p" class="ico"></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 milestone.description %}
{{milestone.description}}
{% 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 %}