7bdf3aa9f82d27c4c199994d4a88f29e43e00ec3
[redakcja.git] / apps / catalogue / templates / catalogue / book_list / chunk.html
1 {% load i18n %}
2
3 <tr>
4     <td><input type="checkbox" name="select_chunk" value="{{chunk.id}}" data-book-id="{{chunk.book.id}}" /></td>
5     <td class='book-settings-column'></td>
6     <td><a href="{% url 'catalogue_chunk_edit' chunk.book.slug chunk.slug %}" title='{% trans "Chunk settings" %}'>[c]</a></td>
7     <td><a target="_blank" href="{{ chunk.get_absolute_url }}">
8             <span class='chunkno'>{{ chunk.number }}.</span>
9             {{ chunk.title }}</a></td>
10     <td>{% if chunk.stage %}
11             {{ chunk.stage }}
12         {% else %}
13             –
14         {% endif %}</td>
15         <td class='user-column'>{% if chunk.user %}
16             <a href="{% url 'catalogue_user' chunk.user.username %}">
17                 {{ chunk.user.first_name }} {{ chunk.user.last_name }}
18             </a>{% else %}
19             
20             {% endif %}</td>
21 </td>
22 <td>
23     {% if chunk.new_publishable %}p{% endif %}
24     {% if chunk.changed %}+{% endif %}
25 </td>
26 </tr>