Convert classes to use data attributes
- Remote resolved classes on post flags since they were unused
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
<%= render "search" %>
|
||||
|
||||
<%= table_for @dmails, {class: "striped", width: "100%"}, {class: ["read-%s", "item.is_read?"]} do |t| %>
|
||||
<%= table_for @dmails, {class: "striped", width: "100%"} do |t| %>
|
||||
<% t.column "Date" do |dmail| %>
|
||||
<%= compact_time(dmail.created_at) %>
|
||||
<% end %>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<%= render "search" %>
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<%= table_for @post_flags, {class: "striped", width: "100%"}, {class: ["resolved-%s", "item.is_resolved?"]} do |t| %>
|
||||
<%= table_for @post_flags, {class: "striped", width: "100%"} do |t| %>
|
||||
<% t.column "Post", {width: "1%"} do |post_flag| %>
|
||||
<%= PostPresenter.preview(post_flag.post, :tags => "status:any") %>
|
||||
<% end %>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<%= f.submit "Search" %>
|
||||
<% end %>
|
||||
|
||||
<%= table_for @user_feedbacks, {class: "striped autofit"}, {class: ["feedback-category-%s", "item.category"]} do |t| %>
|
||||
<%= table_for @user_feedbacks, {class: "striped autofit"} do |t| %>
|
||||
<% t.column "User" do |feedback| %>
|
||||
<%= link_to_user feedback.user %>
|
||||
<%= link_to "»", user_feedbacks_path(search: { user_name: feedback.user.name }) %>
|
||||
|
||||
Reference in New Issue
Block a user