refactor catalogue to separate app,
[redakcja.git] / apps / catalogue / templates / catalogue / wall.html
1 {% load i18n %}
2 {% load gravatar %}
3
4 <ul class='wall' style='padding-left: 0; list-style: none;'>
5 {% for item in wall %}
6     <li style='clear: left; border-top: 1px dotted gray;  padding-bottom:1em; margin-bottom: 1em;'>
7         <div style='float: left;margin-right: 1em;'>
8             {% if item.get_email %}
9                 {% gravatar_img_for_email item.get_email 32 %}
10                 <br/>
11             {% endif %}
12
13             <!--img src='{{ STATIC_URL }}img/wall/{{ item.tag}}.png' alt='{% trans item.tag %}' /-->
14         </div>
15
16         {{ item.timestamp }}
17         <br/>
18         {% if item.user %}
19             <a href="{% url catalogue_user item.user.username %}">
20             {{ item.user.first_name }} {{ item.user.last_name }}</a>
21             &lt;{{ item.user.email }}>
22         {% else %}
23             {{ item.user_name }}
24             {% if item.get_email %}
25                 &lt;{{ item.get_email }}>
26             {% endif %}
27         {% endif %}
28         <br/><a target="_blank" href='{{ item.url }}'>{{ item.title }}</a>
29         <br/>{{ item.summary }}
30         </li>
31 {% endfor %}
32 </ul>