Revision a75dbd7b snf-astakos-app/astakos/im/templates/im/projects/project_detail.html
b/snf-astakos-app/astakos/im/templates/im/projects/project_detail.html | ||
---|---|---|
51 | 51 |
<a style="font-size:0.7em" |
52 | 52 |
href="{% url astakos.im.views.project_modify object.pk %}">MODIFY</a> |
53 | 53 |
|
54 |
{% with object.last_pending_incl_me as last_pending %} |
|
55 |
{% if last_pending %} |
|
56 |
- |
|
57 |
<a style="font-size:0.7em" |
|
58 |
href="{% url astakos.im.views.project_app_cancel last_pending.pk %}"> |
|
59 |
CANCEL {% if object.is_modification %} MODIFICATION {% else %} |
|
60 |
PROJECT {% endif %} REQUEST |
|
61 |
</a> |
|
62 |
{% endif %} |
|
63 |
{% endwith %} |
|
64 |
|
|
54 | 65 |
<!-- only one is possible, perhaps add cancel button too --> |
55 | 66 |
{% if can_join_request or can_leav_request %} |
56 |
-
|
|
67 |
<br />
|
|
57 | 68 |
{% endif %} |
58 | 69 |
{% endif %} |
59 | 70 |
|
Also available in: Unified diff