| author | ymh <ymh.work@gmail.com> |
| Thu, 02 Apr 2015 01:28:50 +0200 | |
| changeset 607 | 17f3582ecdb1 |
| parent 586 | 32d9c3ff86eb |
| child 615 | da84d4baba33 |
| permissions | -rw-r--r-- |
| 293 | 1 |
{% extends "base.html" %} |
2 |
{% load i18n %} |
|
3 |
{% load static %} |
|
| 295 | 4 |
{% load thumbnail %} |
|
329
ea6268cf8c83
renkan state management for staff members : publish, unpublish, reject.
cavaliet
parents:
302
diff
changeset
|
5 |
{% load hdalab_tags %} |
| 293 | 6 |
|
|
523
4d641dc5e7e6
rename "profile" in "compte" and add translations
rougeronj
parents:
473
diff
changeset
|
7 |
{% block title %}{{block.super}} > {% trans 'Compte utilisateur' %} : {{ user.username }}{% endblock %} |
| 293 | 8 |
|
9 |
{% block css_import %} |
|
10 |
{{block.super}} |
|
11 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/index.css' %}" /> |
|
12 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/ui-lightness/jquery-ui-1.10.4.min.css' %}" /> |
|
13 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/profile.css' %}" /> |
|
14 |
{% endblock %} |
|
15 |
||
| 301 | 16 |
{% block profile_actif %}actif{% endblock %} |
17 |
||
|
344
1473ba25af1f
advanced search in all renkan lists, language update and debug
cavaliet
parents:
343
diff
changeset
|
18 |
{% block js_import %} |
|
1473ba25af1f
advanced search in all renkan lists, language update and debug
cavaliet
parents:
343
diff
changeset
|
19 |
{{block.super}} |
|
1473ba25af1f
advanced search in all renkan lists, language update and debug
cavaliet
parents:
343
diff
changeset
|
20 |
<script src="{% static 'hdalab/lib/jquery-ui-1.10.4.min.js' %}"></script> |
| 473 | 21 |
<script src="{% static 'hdalab/js/renkan-search.js' %}"></script> |
|
344
1473ba25af1f
advanced search in all renkan lists, language update and debug
cavaliet
parents:
343
diff
changeset
|
22 |
<script type="text/javascript"> |
| 473 | 23 |
var favorite = {{favorite}}; |
24 |
initSearch(favorite); |
|
|
344
1473ba25af1f
advanced search in all renkan lists, language update and debug
cavaliet
parents:
343
diff
changeset
|
25 |
</script> |
|
1473ba25af1f
advanced search in all renkan lists, language update and debug
cavaliet
parents:
343
diff
changeset
|
26 |
{% endblock %} |
|
1473ba25af1f
advanced search in all renkan lists, language update and debug
cavaliet
parents:
343
diff
changeset
|
27 |
|
| 293 | 28 |
{% block main_content %} |
|
396
064f4cdc48c3
Set up css convention for the main titles of the pages and add translation support in main pages
rougeronj
parents:
344
diff
changeset
|
29 |
<div class="all-title"> |
|
523
4d641dc5e7e6
rename "profile" in "compte" and add translations
rougeronj
parents:
473
diff
changeset
|
30 |
<h1>{% trans 'Mon compte' %}</h1> |
|
458
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
31 |
</div> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
32 |
{% if user.is_staff %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
33 |
<div class="sub-content"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
34 |
<h2>/ {% trans 'Adminsitration du Site' %}</h2> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
35 |
<p> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
36 |
<a href="{% url 'manage_renkans' %}" >{% trans 'Administrer les Renkan' %}</a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
37 |
/ <a href="{% url 'edito_home' %}" >{% trans 'Editorialisation' %}</a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
38 |
/ <a href="{% url 'admin:index' %}" >{% trans 'Administration Hdalab' %}</a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
39 |
/ <a href="{% url 'hdabo_home' %}" >{% trans 'Administrer Hdabo' %}</a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
40 |
</p> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
41 |
</div> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
42 |
{% endif %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
43 |
<div class="sub-content"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
44 |
<h2>/ {% trans 'Modifier mon profil' %}</h2> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
45 |
<p> |
| 529 | 46 |
<a href="{% url 'auth_password_change' %}">{% trans 'Modification du mot de passe' %}</a> |
47 |
/ <a href="{% url 'profile_update' %}">{% trans 'Modification des informations du compte' %}</a> |
|
|
458
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
48 |
</p> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
49 |
</div> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
50 |
<div class="sub-content"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
51 |
<h2>/ {% trans 'Gerer mes Renkan' %}</h2> |
| 473 | 52 |
<form action="{% url 'renkan_new' %}" method="post"> |
53 |
{% csrf_token %} |
|
54 |
<button id="new-renkan-button" title="{% trans 'Nouveau Renkan' %}" class="renkan-basic-action"><div id="new-renkan">{% trans 'Nouveau Renkan' %}</div></button> |
|
55 |
</form> |
|
|
458
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
56 |
<p class="inline">{% if page.has_previous %}<a href="?page={{ page.previous_page_number }}&sort={{ sort_param }}&order={{ order_param }}{{ filters }}" >{% trans 'Previous' %}</a>{% endif %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
57 |
{% if page.has_previous and page.has_next %} - {% endif %}{% if page.has_next %}<a href="?page={{ page.next_page_number }}&sort={{ sort_param }}&order={{ order_param }}{{ filters }}">{% trans 'Next' %}</a>{% endif %}</p> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
58 |
<form class="inline"><p>{% if page.has_previous or page.has_next %} - {% endif %}{% trans 'Filter' %} : <input type="text" name="title" value="{{ title }}"/> - <span class="hand_cursor" id="toggle-search">{% trans 'Advanced search' %}</span></p></p></form> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
59 |
<form id="advanced-form" style="display: {% if startdate != '' or enddate != '' or username != '' or state != '' %}block{% else %}none{% endif %};"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
60 |
<p>{% trans 'Title' %} : <input type="text" name="title" value="{{ title }}"/></p> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
61 |
<p>{% trans 'Modification date' %} : {% trans 'begin' %} <input type="text" name="startdate" value="{{ startdate }}" class="date" /> - |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
62 |
{% trans 'end' %} : <input type="text" name="enddate" value="{{ enddate }}" class="date" /></p> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
63 |
<p>{% trans 'State' %} : |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
64 |
<select name="state"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
65 |
<option value=""></option> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
66 |
<option value="1"{% if state == '1' %} selected="selected"{% endif %}>{% trans 'Edition' %}</option> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
67 |
<option value="2"{% if state == '2' %} selected="selected"{% endif %}>{% trans 'Moderated' %}</option> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
68 |
<option value="3"{% if state == '3' %} selected="selected"{% endif %}>{% trans 'Published' %}</option> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
69 |
<option value="4"{% if state == '4' %} selected="selected"{% endif %}>{% trans 'Rejected' %}</option> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
70 |
</select> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
71 |
</p> |
| 473 | 72 |
<p>{% trans 'Favorite' %} : <input type="checkbox" id="filter-favorite-chkbx" {% if favorite >= 1 %} checked="checked" {% endif %} value="{{favorite}}" /><input type="hidden" id="filter-favorite" name="favorite" value="{{favorite}}"/></p> |
|
458
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
73 |
<p><input type="submit" value="{% trans 'Search' %}"/></p> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
74 |
</form> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
75 |
<table id="rk-table"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
76 |
<thead> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
77 |
<tr class="border_bottom"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
78 |
<th><a href="?sort=title&order={% if sort_param == 'title' %}{{ opposite }}{% else %}asc{% endif %}{{ filters }}">{% trans 'Title' %}</a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
79 |
{% if sort_param == 'title' %}<span class="ui-icon {% if opposite == 'asc' %}ui-icon-triangle-1-s{% else %}ui-icon-triangle-1-n{% endif %}"></span>{% endif %}</th> |
| 473 | 80 |
<th><a href="?sort=favorite&order={% if sort_param == 'favorite' %}{{ opposite }}{% else %}desc{% endif %}{{ filters }}">{% trans 'Fav.' %}</a> |
81 |
{% if sort_param == 'favorite' %}<span class="ui-icon {% if opposite == 'asc' %}ui-icon-triangle-1-s{% else %}ui-icon-triangle-1-n{% endif %}"></span>{% endif %}</th> |
|
|
458
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
82 |
<th><a href="?sort=date&order={% if sort_param == 'date' %}{{ opposite }}{% else %}desc{% endif %}{{ filters }}">{% trans 'Modification date' %}</a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
83 |
{% if sort_param == 'date' %}<span class="ui-icon {% if opposite == 'asc' %}ui-icon-triangle-1-s{% else %}ui-icon-triangle-1-n{% endif %}"></span>{% endif %}</th> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
84 |
<th>{% trans 'Preview' %}</th> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
85 |
<th><a href="?sort=state&order={% if sort_param == 'state' %}{{ opposite }}{% else %}asc{% endif %}{{ filters }}">{% trans 'State' %}</a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
86 |
{% if sort_param == 'state' %}<span class="ui-icon {% if opposite == 'asc' %}ui-icon-triangle-1-s{% else %}ui-icon-triangle-1-n{% endif %}"></span>{% endif %}</th> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
87 |
<th>{% trans 'Actions' %}</th> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
88 |
</tr> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
89 |
</thead> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
90 |
<tbody> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
91 |
{% for hr in page.object_list %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
92 |
{% with hr.renkan as r %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
93 |
<tr class="border_bottom"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
94 |
<td><a title="View renkan" href="{% url 'renkan_view' %}?rk_id={{ r.rk_id }}">{{ r.title }}</a></td> |
|
607
17f3582ecdb1
correct display about page, especially on windows
ymh <ymh.work@gmail.com>
parents:
586
diff
changeset
|
95 |
<td>{% if hr.favorite %}<span class="publish-renkan"> </span>{% else %} {% endif %}</td> |
|
458
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
96 |
<td>{{ r.modification_date|date:"Y-m-d H:i" }}</td> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
97 |
<td>{% thumbnail r.image 100x100 as thumb %}<img src="{{ thumb.url }}" width="{{ thumb.width }}" height="{{ thumb.height }}" /></td> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
98 |
<td>{{ hr.state|state_to_str }}</td> |
|
586
32d9c3ff86eb
various small corrections + new version
ymh <ymh.work@gmail.com>
parents:
541
diff
changeset
|
99 |
<td class="renkan_list_actions"> |
|
458
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
100 |
{% if hr.state == 1 %}<a title="Edit renkan" href="{% url 'renkan_edit' %}?rk_id={{ r.rk_id }}" class="renkan-basic-action"><span class="ui-icon ui-icon-pencil"></span></a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
101 |
{% else %}<span class="ui-icon ui-icon-blank renkan-basic-action"></span>{% endif %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
102 |
<a title="View renkan" href="{% url 'renkan_view' %}?rk_id={{ r.rk_id }}" class="renkan-basic-action"><span class="ui-icon ui-icon-eye"></span></a> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
103 |
<form action="{% url 'renkan_copy' rk_id=r.rk_id %}" method="post"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
104 |
{% csrf_token %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
105 |
<input type="hidden" name="next" value="{% url 'profile_home' %}" /> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
106 |
<button title="Copy renkan" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to copy this renkan ?" %}');" ><span class="ui-icon ui-icon-copy"></span></button> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
107 |
</form> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
108 |
<form action="{% url 'renkan_delete' rk_id=r.rk_id %}" method="post"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
109 |
{% csrf_token %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
110 |
<input type="hidden" name="next" value="{% url 'profile_home' %}" /> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
111 |
<button title="{% trans 'remove renkan' %}" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to delete this renkan ? You cannot undo this action." %}');" ><span class="ui-icon ui-icon-trash"></span></button> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
112 |
</form> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
113 |
<form action="{% url 'renkan_moderate' rk_id=r.rk_id %}" method="post"> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
114 |
{% csrf_token %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
115 |
<input type="hidden" name="next" value="{% url 'profile_home' %}" /> |
|
541
05ed94112e9e
add icons (instead of unicode) for publish/unpublish a project
rougeronj
parents:
537
diff
changeset
|
116 |
{% if hr.state == 1 %}<button name="state" value="2" title="{% trans 'publish renkan' %}" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to ask to publish this renkan ?" %}');" ><span class="publish-renkan"></span></button> |
|
05ed94112e9e
add icons (instead of unicode) for publish/unpublish a project
rougeronj
parents:
537
diff
changeset
|
117 |
{% else %}<button name="state" title="{% trans 'unpublish renkan' %}" value="1" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to unpublish this renkan ?" %}');" ><span class="unpublish-renkan"></span></button>{% endif %} |
|
458
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
118 |
</form> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
119 |
</td> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
120 |
</tr> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
121 |
{% endwith %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
122 |
{% endfor %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
123 |
</tbody> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
124 |
</table> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
125 |
<p>{% if page.has_previous %}<a href="?page={{ page.previous_page_number }}&sort={{ sort_param }}&order={{ order_param }}{{ filters }}" >{% trans 'Previous' %}</a>{% endif %} |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
126 |
{% if page.has_previous and page.has_next %} - {% endif %}{% if page.has_next %}<a href="?page={{ page.next_page_number }}&sort={{ sort_param }}&order={{ order_param }}{{ filters }}">{% trans 'Next' %}</a>{% endif %}</p> |
|
604b887e70c3
add state history to renkan, correct get into post, generally prepare ground for mail management
ymh <ymh.work@gmail.com>
parents:
405
diff
changeset
|
127 |
</div> |
| 293 | 128 |
{% endblock %} |