Revision f38ae358
Added by Frédéric Péters over 8 years ago
corbo/templates/corbo/announce_confirm_delete.html | ||
---|---|---|
2 | 2 |
{% load i18n %} |
3 | 3 |
{% block content %} |
4 | 4 |
<form method="post"> |
5 |
<h5>
|
|
5 |
<p>
|
|
6 | 6 |
{% blocktrans with title=object.title %} |
7 | 7 |
Are you sure you want to delete the announce "{{ title }}" ? |
8 | 8 |
{% endblocktrans %} |
9 |
</h5>
|
|
9 |
</p>
|
|
10 | 10 |
{% csrf_token %} |
11 |
<button>{% trans "Delete" %}</button> |
|
11 |
<div class="buttons"> |
|
12 |
<button>{% trans "Delete" %}</button> |
|
13 |
<a class="cancel" href="{{ object.get_absolute_url }}">{% trans 'Cancel' %}</a> |
|
14 |
</div> |
|
12 | 15 |
</form> |
13 | 16 |
{% endblock %} |
corbo/templates/corbo/announce_form.html | ||
---|---|---|
1 | 1 |
{% extends "corbo/manage.html" %} |
2 | 2 |
{% load i18n %} |
3 |
|
|
4 |
{% block appbar %} |
|
5 |
{% if object %} |
|
6 |
<h2>{% trans "Modify Announce" %}</h2> |
|
7 |
{% else %} |
|
8 |
<h2>{% trans "New Announce" %}</h2> |
|
9 |
{% endif %} |
|
10 |
{% endblock %} |
|
11 |
|
|
3 | 12 |
{% block content %} |
4 | 13 |
<form method="post"> |
5 | 14 |
{% csrf_token %} |
6 | 15 |
{{ form.media }} |
7 |
<ul> |
|
8 |
{{ form.as_ul }} |
|
9 |
<li> |
|
16 |
{{ form.as_p }} |
|
17 |
<div class="buttons"> |
|
10 | 18 |
<button>{% trans "Save" %}</button> |
11 |
</li> |
|
12 |
</ul> |
|
19 |
</div> |
|
13 | 20 |
<script type="text/javascript"> |
14 | 21 |
$(function() { |
15 | 22 |
$(".datepicker" ).datepicker(); |
corbo/templates/corbo/category_confirm_delete.html | ||
---|---|---|
3 | 3 |
{% block content %} |
4 | 4 |
<form method="post"> |
5 | 5 |
{% csrf_token %} |
6 |
<h5>
|
|
6 |
<p>
|
|
7 | 7 |
{% blocktrans with name=object.name %} |
8 | 8 |
Are you sure you want to delete category "{{ name }}"? |
9 | 9 |
{% endblocktrans %} |
10 |
</h5> |
|
11 |
<p class="text_preview">{% trans "All its announces of will be also deleted" %}</p> |
|
12 |
<button>{% trans "Delete" %}</button> |
|
10 |
</p> |
|
11 |
<p>{% trans "All its announces of will be also deleted" %}</p> |
|
12 |
<div class="buttons"> |
|
13 |
<button>{% trans "Delete" %}</button> |
|
14 |
<a class="cancel" href="{{ object.get_absolute_url }}">{% trans 'Cancel' %}</a> |
|
15 |
</div> |
|
13 | 16 |
</form> |
14 | 17 |
{% endblock %} |
corbo/templates/corbo/category_form.html | ||
---|---|---|
1 | 1 |
{% extends "corbo/manage.html" %} |
2 | 2 |
{% load i18n %} |
3 |
|
|
4 |
{% block appbar %} |
|
5 |
{% if object %} |
|
6 |
<h2>{% trans "Modify Category" %}</h2> |
|
7 |
{% else %} |
|
8 |
<h2>{% trans "New Category" %}</h2> |
|
9 |
{% endif %} |
|
10 |
{% endblock %} |
|
11 |
|
|
3 | 12 |
{% block content %} |
4 | 13 |
<form method="post"> |
5 | 14 |
{% csrf_token %} |
6 | 15 |
{{ form.as_p }} |
7 |
<button>{% trans "Save" %}</button> |
|
16 |
<div class="buttons"> |
|
17 |
<button>{% trans "Save" %}</button> |
|
18 |
</div> |
|
8 | 19 |
</form> |
9 | 20 |
{% endblock %} |
Also available in: Unified diff
general: update dialogs to match style guide