Rearrange source to src dir.
[redakcja.git] / src / catalogue / templates / catalogue / image_short.html
diff --git a/src/catalogue/templates/catalogue/image_short.html b/src/catalogue/templates/catalogue/image_short.html
new file mode 100755 (executable)
index 0000000..c7ff77b
--- /dev/null
@@ -0,0 +1,21 @@
+{% load i18n %}
+{% load username from common_tags %}
+
+<tr>
+    <td><input type="checkbox" name="select_chunk" value="{{image.id}}"/></td>
+    <td><a href="{% url 'catalogue_image' image.slug %}" title='{% trans "Image settings" %}'>[B]</a></td>
+    <td><a target="_blank"
+                href="{% url 'wiki_img_editor' image.slug %}">
+                {{ image.title }}</a></td>
+    <td>{% if image.stage %}
+        {{ image.stage }}
+    {% else %}–
+    {% endif %}</td>
+    <td class='user-column'>{% if image.user %}<a href="{% url 'catalogue_user' image.user.username %}">{{ image.user|username }}</a>{% endif %}</td>
+    <td>
+        {% if image.published %}P{% endif %}
+        {% if image.new_publishable %}p{% endif %}
+        {% if image.changed %}+{% endif %}
+    </td>
+    <td>{{ image.project.name }}</td>
+</tr>