69 </thead> |
69 </thead> |
70 <tbody> |
70 <tbody> |
71 {% for hr in page.object_list %} |
71 {% for hr in page.object_list %} |
72 {% with hr.renkan as r %} |
72 {% with hr.renkan as r %} |
73 <tr class="border_bottom"> |
73 <tr class="border_bottom"> |
74 <td><a title="View renkan" href="{% url 'renkan_view' %}?rk_id={{ r.rk_id }}">{{ r.title }}</a></td> |
74 <td><div class="renkan-list-title-div"><a title="{% trans 'View renkan' %}" href="{% url 'renkan_view' %}?rk_id={{ r.rk_id }}">{{ r.title }}</a></div></td> |
75 {% if not hide_favorite %} |
75 {% if not hide_favorite %} |
76 <td>{% if hr.favorite %}<span class="publish-renkan"> </span>{% else %} {% endif %}</td> |
76 <td>{% if hr.favorite %}<span class="publish-renkan"> </span>{% else %} {% endif %}</td> |
77 {% endif %} |
77 {% endif %} |
78 <td>{{ r.owner.username }}</td> |
78 <td>{{ r.owner.username }}</td> |
79 <td>{{ r.modification_date|date:"Y-m-d H:i" }}</td> |
79 <td>{{ r.modification_date|date:"Y-m-d H:i" }}</td> |
80 <td>{% thumbnail r.image 100x100 as thumb %}<img src="{{ thumb.url }}" width="{{ thumb.width }}" height="{{ thumb.height }}" /></td> |
80 <td>{% thumbnail r.image 100x100 as thumb %}<img src="{{ thumb.url }}" width="{{ thumb.width }}" height="{{ thumb.height }}" /></td> |
81 <td class="renkan_list_actions"> |
81 <td class="renkan_list_actions"> |
82 <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> |
82 <a title="{% trans 'View renkan' %}" href="{% url 'renkan_view' %}?rk_id={{ r.rk_id }}" class="renkan-basic-action"><span class="ui-icon ui-icon-eye"></span></a> |
83 <form action="{% url 'renkan_copy' rk_id=r.rk_id %}" method="post"> |
83 <form action="{% url 'renkan_copy' rk_id=r.rk_id %}" method="post"> |
84 {% csrf_token %} |
84 {% csrf_token %} |
85 <input type="hidden" name="next" value="{% url 'profile_home' %}" /> |
85 <input type="hidden" name="next" value="{% url 'profile_home' %}" /> |
86 <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> |
86 <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> |
87 </form> |
87 </form> |