Show More
1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -596,3 +596,6 b' msgstr "\xd0\x97\xd0\xb0\xd0\xb1\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x82\xd1\x8c \xd0\xb8 \xd1\x83\xd0\xb4\xd0\xb0\xd0\xbb\xd0\xb8\xd1\x82\xd1\x8c"' | |||||
596 | msgid "Are you sure?" |
|
596 | msgid "Are you sure?" | |
597 | msgstr "Вы уверены?" |
|
597 | msgstr "Вы уверены?" | |
598 |
|
598 | |||
|
599 | msgid "Ban" | |||
|
600 | msgstr "Забанить" | |||
|
601 |
@@ -99,6 +99,15 b'' | |||||
99 | }, |
|
99 | }, | |
100 | visible: {% if post.global_id_id %}true{% else %}false{% endif %} |
|
100 | visible: {% if post.global_id_id %}true{% else %}false{% endif %} | |
101 | }, |
|
101 | }, | |
|
102 | ban: { | |||
|
103 | name: '{% trans "Ban" %}', | |||
|
104 | callback: function(key, opt) { | |||
|
105 | if (confirm('{% trans "Are you sure?" %}')) { | |||
|
106 | window.location = '{% url 'utils' %}?method=ban&post_id={{ post.id }}'; | |||
|
107 | } | |||
|
108 | }, | |||
|
109 | visible: {% if post.has_ip %}true{% else %}false{% endif %} | |||
|
110 | }, | |||
102 | banAndDelete: { |
|
111 | banAndDelete: { | |
103 | name: '{% trans "Ban and delete" %}', |
|
112 | name: '{% trans "Ban and delete" %}', | |
104 | callback: function(key, opt) { |
|
113 | callback: function(key, opt) { |
General Comments 0
You need to be logged in to leave comments.
Login now