##// END OF EJS Templates
Add IP post feed to the moderation menu
neko259 -
r1807:c7d8d205 default
parent child Browse files
Show More
@@ -8,7 +8,6 b''
8 <a class="post_id" href="{{ post.get_absolute_url }}">#{{ post.id }}</a>
8 <a class="post_id" href="{{ post.get_absolute_url }}">#{{ post.id }}</a>
9 <span class="title">{{ post.title }}</span>
9 <span class="title">{{ post.title }}</span>
10 {% if perms.boards.change_post and post.has_ip %}
10 {% if perms.boards.change_post and post.has_ip %}
11 <a href="{% url 'feed' %}?ip={{ post.poster_ip }}">*</a>
12 <span class="pub_time" style="border-bottom: solid 2px #{{ post.get_ip_color }};" title="{{ post.poster_ip }}">
11 <span class="pub_time" style="border-bottom: solid 2px #{{ post.get_ip_color }};" title="{{ post.poster_ip }}">
13 {% else %}
12 {% else %}
14 <span class="pub_time">
13 <span class="pub_time">
@@ -84,6 +83,13 b''
84 },
83 },
85 visible: {% if is_opening and perms.boards.delete_thread %}true{% else %}false{% endif %}
84 visible: {% if is_opening and perms.boards.delete_thread %}true{% else %}false{% endif %}
86 },
85 },
86 findByIp: {
87 name: 'IP = {{ post.poster_ip }}',
88 callback: function(key, opt) {
89 window.location = '{% url "feed" %}?ip={{ post.poster_ip }}';
90 },
91 visible: {% if post.has_ip %}true{% else %}false{% endif %}
92 },
87 raw: {
93 raw: {
88 name: 'RAW',
94 name: 'RAW',
89 callback: function(key, opt) {
95 callback: function(key, opt) {
General Comments 0
You need to be logged in to leave comments. Login now