fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Image editor fix: make sure toolbar content breaks properly for long motif and object...
[redakcja.git]
/
apps
/
catalogue
/
templates
/
catalogue
/
wall.html
diff --git
a/apps/catalogue/templates/catalogue/wall.html
b/apps/catalogue/templates/catalogue/wall.html
index
9227ba1
..
a107dfa
100755
(executable)
--- a/
apps/catalogue/templates/catalogue/wall.html
+++ b/
apps/catalogue/templates/catalogue/wall.html
@@
-1,13
+1,15
@@
{% load i18n %}
{% load gravatar %}
{% load email %}
{% load i18n %}
{% load gravatar %}
{% load email %}
+{% load username from common_tags %}
<ul class='wall'>
{% for item in wall %}
<li class="{{ item.tag }}{% if not item.user %} anonymous{% endif %}">
<div class='gravatar'>
{% if item.get_email %}
<ul class='wall'>
{% for item in wall %}
<li class="{{ item.tag }}{% if not item.user %} anonymous{% endif %}">
<div class='gravatar'>
{% if item.get_email %}
- {% gravatar_img_for_email item.get_email 32 %}
+ <img src="{% gravatar_url item.get_email 32 %}"
+ height="32" width="32" alt='Avatar' />
<br/>
{% endif %}
</div>
<br/>
{% endif %}
</div>
@@
-17,8
+19,8
@@
<a target="_blank" href='{{ item.url }}'>{{ item.title }}</a>
<br/><strong>{% trans "user" %}:</strong>
{% if item.user %}
<a target="_blank" href='{{ item.url }}'>{{ item.title }}</a>
<br/><strong>{% trans "user" %}:</strong>
{% if item.user %}
- <a href="{% url
catalogue_user
item.user.username %}">
- {{ item.user
.first_name }} {{ item.user.last_
name }}</a>
+ <a href="{% url
'catalogue_user'
item.user.username %}">
+ {{ item.user
|user
name }}</a>
<{{ item.user.email|email_link }}>
{% else %}
{{ item.user_name }}
<{{ item.user.email|email_link }}>
{% else %}
{{ item.user_name }}