2012-07-04 05:24:18 +02:00
|
|
|
<div class="box wide">
|
|
|
|
<div class="legend">
|
2016-11-08 17:46:43 +01:00
|
|
|
<%= t('.filteredtags') %>
|
2013-12-24 00:15:58 +01:00
|
|
|
</div>
|
2012-07-04 05:24:18 +02:00
|
|
|
|
|
|
|
<p>
|
2016-11-08 17:46:43 +01:00
|
|
|
<%=raw(t('.filteredtagsdesc')) %>
|
2012-07-04 05:24:18 +02:00
|
|
|
</p>
|
|
|
|
|
2013-08-05 09:16:33 +02:00
|
|
|
<% if !@user %>
|
|
|
|
<p>
|
2016-11-08 17:46:43 +01:00
|
|
|
<%=raw(t('.filteredtagsnotloggedindesc')) %>
|
2013-08-05 09:16:33 +02:00
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
|
2012-07-04 05:24:18 +02:00
|
|
|
<%= form_tag "/filters", :method => :post do %>
|
|
|
|
<table class="data zebra" cellspacing=0 width="75%">
|
|
|
|
<tr>
|
2016-11-08 17:46:43 +01:00
|
|
|
<th width="7%"><%=t('.filteredhide') %></th>
|
|
|
|
<th width="13%"><%=t('.filteredtag') %></th>
|
|
|
|
<th width="65%"><%=t('.filtereddesc') %></th>
|
|
|
|
<th width="5%" style="text-align: right; padding-right: 1em;"><%=t('.filteredstories') %></th>
|
2012-07-04 05:24:18 +02:00
|
|
|
</tr>
|
2014-01-09 07:44:03 +01:00
|
|
|
<% @tags.each do |tag| %>
|
2012-07-04 05:24:18 +02:00
|
|
|
<tr>
|
2014-01-24 20:53:10 +01:00
|
|
|
<td><%= check_box_tag "tags[]", tag.tag,
|
|
|
|
@filtered_tags.include?(tag) %></td>
|
|
|
|
<td><%= link_to tag.tag, tag_path(tag), :class => tag.css_class %></td>
|
2015-01-05 19:18:42 +01:00
|
|
|
<td><%= tag.description %>
|
|
|
|
<% if tag.hotness_mod != 0 %>
|
|
|
|
|
|
|
|
<em>(hotness mod <%= tag.hotness_mod > 0 ? "+" : ""%><%=
|
|
|
|
tag.hotness_mod %>)</em>
|
|
|
|
<% end %></td>
|
2014-01-24 20:53:10 +01:00
|
|
|
<td style="text-align: right; padding-right: 1em;"><%=
|
|
|
|
tag.stories_count %></td>
|
2012-07-04 05:24:18 +02:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
<p>
|
2016-11-08 17:46:43 +01:00
|
|
|
<%= submit_tag t('.filteredsave') %>
|
2012-07-04 05:24:18 +02:00
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|