Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _flags.html.erb #10966

Merged
merged 40 commits into from
Apr 14, 2022
Merged
Changes from 39 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b217ab4
Update _flags.html.erb
Dapper50 Apr 6, 2022
12bd759
Merge branch 'main' into patch-1
TildaDares Apr 7, 2022
3714757
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
51aac44
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
271d8aa
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
0fe91fd
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
9a12da9
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
da68e8d
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
78d2026
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
20e7572
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
9507c3e
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
8c2c2fb
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
16c82a7
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
04d41e3
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
d41894a
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
ff3b24e
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
a6edd8a
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
59f038a
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
d0b205e
Update app/views/spam2/_flags.html.erb
TildaDares Apr 13, 2022
8f15b3e
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
e584f2a
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
0ffa49e
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
cd78725
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
eade19c
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
5ae8203
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
f680d88
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
6b7f033
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
f8f1ec1
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
db5d2e4
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
22998dd
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
739c31e
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
d9e4d6a
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
801eb1b
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
0ccfb9a
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
1ae8fac
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
89fbbda
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
a369a74
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
ecc2d0c
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
197f552
Update app/views/spam2/_flags.html.erb
Dapper50 Apr 13, 2022
69a4bb0
indent
TildaDares Apr 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 37 additions & 37 deletions app/views/spam2/_flags.html.erb
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
<script>
$(document).ready(function () {
var table = table_main("#flag_table");
$("#all").click(function () { //select all button
select_all();
var table = table_main("#flag_table");
$("#all").click(function () { //select all button
select_all();
});
var pageselect_val = localStorage.getItem('page-select') || '';
$("#pageselect").val(pageselect_val);
$("#batch-spam").bind('click', function (e) { //batch spam
batch_nav("batch_spam");
});
$("#batch-publish").bind('click', function (e) { //batch publish
batch_nav("batch_publish");
});
$("#batch-ban").bind('click', function (e) { //batch ban
batch_nav("batch_ban");
});
$("#batch-unban").bind('click', function (e) { //batch ban
batch_nav("batch_unban");
});
$("#delete-batch").bind('click', function (e) { // batch delete
batch_nav("batch_delete");
});
$('#pageselect').change(function () {
pagination("#pageselect", "/spam2/flags/filter/");
});
$('#spammed').on('click', function () { //spam filter
search_table("spammed", "/spam2/flags/filter/");
});
$('#unmoderated').on('click', function () { // unmoderated filter
search_table("unmoderated", "/spam2/flags/filter/");
});
$('#page').on('click', function () { // page filter
search_table("page", "/spam2/flags/filter/");
});
$('#note').on('click', function () { // note filter
search_table("note", "/spam2/flags/filter/");
});
$('#reset').on('click', function () { // all filter
search_table("all", "/spam2/flags/filter/");
});
$('#unflag-node').tooltip({ boundary: 'window' });
$("#batch-spam").bind('click', function (e) { //batch spam
batch_nav("batch_spam");
});
$("#batch-publish").bind('click', function (e) { //batch publish
batch_nav("batch_publish");
});
$("#batch-ban").bind('click', function (e) { //batch ban
batch_nav("batch_ban");
});
$("#batch-unban").bind('click', function (e) { //batch ban
batch_nav("batch_unban");
});
$("#delete-batch").bind('click', function (e) { // batch delete
batch_nav("batch_delete");
});
$('#pageselect').change(function () {
pagination("#pageselect", "/spam2/flags/filter/");
});
$('#spammed').on('click', function () { //spam filter
search_table("spammed", "/spam2/flags/filter/");
});
$('#unmoderated').on('click', function () { // unmoderated filter
search_table("unmoderated", "/spam2/flags/filter/");
});
$('#page').on('click', function () { // page filter
search_table("page", "/spam2/flags/filter/");
});
$('#note').on('click', function () { // note filter
search_table("note", "/spam2/flags/filter/");
});
$('#reset').on('click', function () { // all filter
search_table("all", "/spam2/flags/filter/");
});
Dapper50 marked this conversation as resolved.
Show resolved Hide resolved
$('#unflag-node').tooltip({ boundary: 'window' });
});
</script>
<div class="card" id="table-card">
Expand Down