Librarian in regular requirements.
[redakcja.git] / apps / catalogue / templates / catalogue / book_list / book.html
index 658d009..f6a0fcd 100755 (executable)
@@ -1,4 +1,5 @@
 {% load i18n %}
+{% load username from common_tags %}
 
 {% if book.single %}
     {% with book.0 as chunk %}
             {{ chunk.stage }}
         {% else %}–
         {% endif %}</td>
-        <td class='user-column'>{% if chunk.user %}<a href="{% url 'catalogue_user' chunk.user.username %}">{{ chunk.user.first_name }} {{ chunk.user.last_name }}</a>{% endif %}</td>
+        <td class='user-column'>{% if chunk.user %}<a href="{% url 'catalogue_user' chunk.user.username %}">{{ chunk.user|username }}</a>{% endif %}</td>
         <td>
             {% if chunk.published %}P{% endif %}
             {% if book.new_publishable %}p{% endif %}
             {% if chunk.changed %}+{% endif %}
         </td>
+        <td>{{ book.project.name }}</td>
     </tr>
     {% endwith %}
 {% else %}
@@ -33,5 +35,6 @@
             {% if book.published %}P{% endif %}
             {% if book.new_publishable %}p{% endif %}
         </td>
+        <td>{{ book.project.name }}</td>
     </tr>
 {% endif %}