]> git.ipfire.org Git - ipfire.org.git/commitdiff
nopaste: Drop avatar when file is uploaded by authenticated users
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Oct 2018 13:22:33 +0000 (14:22 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Oct 2018 13:22:33 +0000 (14:22 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/nopaste/view.html

index 6d6f5e2043b085ed7f17c37d10f6833e13675e70..dc7d1253df4650debae38f7eee0e2f68608bd2d0 100644 (file)
 
                                                {% if entry.account %}
                                                        {{ _("by") }}
-
-                                                       <img src="{{ entry.account.avatar_url(14) }}" alt="{{ entry.account }}">
-
-                                                       <a href="https://people.ipfire.org/users/{{ entry.account.uid }}">
-                                                               {{ entry.account }}
-                                                       </a>,
+                                                       <a href="https://people.ipfire.org/users/{{ entry.account.uid }}">{{ entry.account }}</a>,
                                                {% else %}
                                                        {{ _("from %s") % entry.address }},
                                                {% end %}