Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 473
- Log:
Add simple topic title blacklist.
- Author:
- rool
- Date:
- Thu Jan 31 09:48:46 +0000 2019
- Size:
- 684 Bytes
1 | <div class="crumbs"> |
2 | <%= link_to "Forums", home_path %> <span class="arrow">→</span> |
3 | </div> |
4 | <h1 style="margin-top:0.5em"> |
5 | Blacklist |
6 | </h1> |
7 | |
8 | <h2>Post bodies</h2> |
9 | |
10 | <table> |
11 | <% @blacklist.list.split( "\n" ).each_with_index do | item, index | -%> |
12 | <tr> |
13 | <th align="right"><%= index + 1 %></th><td align="left"><%= h( item.downcase ) %></td> |
14 | </tr> |
15 | <% end -%> |
16 | </table> |
17 | |
18 | <br /> |
19 | <h2>Topic titles</h2> |
20 | |
21 | <table> |
22 | <% @blacklist.title_list.split( "\n" ).each_with_index do | item, index | -%> |
23 | <tr> |
24 | <th align="right"><%= index + 1 %></th><td align="left"><%= h( item.downcase ) %></td> |
25 | </tr> |
26 | <% end -%> |
27 | </table> |
28 | |
29 | <p> |
30 | <%= link_to "Edit blacklist", edit_blacklist_path() %> |
31 | </p> |