# HG changeset patch # User neko259 # Date 2017-01-07 18:19:21 # Node ID c7d8d20588d6ff5b790861518cf9233d60149192 # Parent 5b93a0c7dc9a6202ae0a65b14d5217dde058a66d Add IP post feed to the moderation menu diff --git a/boards/templates/boards/post.html b/boards/templates/boards/post.html --- a/boards/templates/boards/post.html +++ b/boards/templates/boards/post.html @@ -8,7 +8,6 @@ #{{ post.id }} {{ post.title }} {% if perms.boards.change_post and post.has_ip %} - * {% else %} @@ -84,6 +83,13 @@ }, visible: {% if is_opening and perms.boards.delete_thread %}true{% else %}false{% endif %} }, + findByIp: { + name: 'IP = {{ post.poster_ip }}', + callback: function(key, opt) { + window.location = '{% url "feed" %}?ip={{ post.poster_ip }}'; + }, + visible: {% if post.has_ip %}true{% else %}false{% endif %} + }, raw: { name: 'RAW', callback: function(key, opt) {