You will find only what you bring in.
[redakcja.git] / src / catalogue / templates / catalogue / book_list / chunk.html
1 {% load i18n %}
2 {% load username from common_tags %}
3
4 <tr class="table-secondary table-sm">
5     <td><input type="checkbox" name="select_chunk" value="{{chunk.id}}" data-book-id="{{chunk.book.id}}" /></td>
6     <td class='book-settings-column'></td>
7     <td><a class="btn btn-outline-secondary btn-sm" href="{% url 'catalogue_chunk_edit' chunk.book.slug chunk.slug %}" title="{% trans "Chunk settings" %}">&#x1f4dc;</a></td>
8     <td><a class="btn btn-primary" target="_blank" href="{{ chunk.get_absolute_url }}">
9       {{ chunk.number }}.
10       {{ chunk.title }}</a></td>
11     <td>{% if chunk.stage %}
12       {{ chunk.stage }}
13     {% else %}
14       –
15     {% endif %}</td>
16     <td class='user-column'>{% if chunk.user %}
17       <a href="{% url 'catalogue_user' chunk.user.username %}">
18         {{ chunk.user|username }}
19       </a>{% else %}
20
21     {% endif %}</td>
22
23     </td>
24     <td>
25       {% if chunk.changed %}
26         <span class="badge badge-warning title="{% trans "changed" %}">zmiany</span>
27       {% endif %}
28 </td>
29 <td></td>
30 </tr>