Browse Source

Keep IP's secret for people with permission. #212

Rafał Pitoń 11 years ago
parent
commit
c3f6ee152b

+ 1 - 1
templates/cranefly/threads/karmas.html

@@ -103,7 +103,7 @@
         'title': '<strong>{{ vote.date|reldate }}</strong>',
         'title': '<strong>{{ vote.date|reldate }}</strong>',
         'content': '{% trans ip=vote.ip %}From {{ ip }}{% endtrans %}'
         'content': '{% trans ip=vote.ip %}From {{ ip }}{% endtrans %}'
         {% else %}
         {% else %}
-        'content': '<strong>{{ vote.ip }}</strong>'
+        'content': '<strong>{{ vote.data|reldate }}</strong>'
         {% endif %}
         {% endif %}
       });
       });
       {% endfor %}
       {% endfor %}

+ 1 - 1
templates/cranefly/threads/poll_votes.html

@@ -88,7 +88,7 @@
           'title': '<strong>{{ vote.date|reldate }}</strong>',
           'title': '<strong>{{ vote.date|reldate }}</strong>',
           'content': '{% trans ip=vote.ip %}From {{ ip }}{% endtrans %}'
           'content': '{% trans ip=vote.ip %}From {{ ip }}{% endtrans %}'
           {% else %}
           {% else %}
-          'content': '<strong>{{ vote.ip }}</strong>'
+          'content': '<strong>{{ vote.date|reldate }}</strong>'
           {% endif %}
           {% endif %}
         });
         });
         {% endfor %}
         {% endfor %}