views: standardize timestamp format across history pages.
Standardize the timestamp format across various history pages to look like this:
DanbooruBot »
2022-01-19 23:28
This commit is contained in:
@@ -23,16 +23,16 @@
|
||||
<%= link_to post_flag.status, post_flags_path(search: { status: post_flag.status }) %>
|
||||
<% end %>
|
||||
<% t.column "Uploaded", width: "15%" do |post_flag| %>
|
||||
<%= compact_time post_flag.post.created_at %>
|
||||
<br> by <%= link_to_user post_flag.post.uploader %>
|
||||
<%= link_to_user post_flag.post.uploader %>
|
||||
<%= link_to "»", post_flags_path(search: params[:search].merge(post_tags_match: "#{params[:search][:post_tags_match]} user:#{post_flag.post.uploader.name}".strip)) %>
|
||||
<div><%= compact_time post_flag.post.created_at %></div>
|
||||
<% end %>
|
||||
<% t.column "Flagged", width: "15%" do |post_flag| %>
|
||||
<%= compact_time post_flag.created_at %>
|
||||
<% if policy(post_flag).can_view_flagger? %>
|
||||
<br> by <%= link_to_user post_flag.creator %>
|
||||
<%= link_to_user post_flag.creator %>
|
||||
<%= link_to "»", post_flags_path(search: params[:search].merge(creator_name: post_flag.creator.name)) %>
|
||||
<% end %>
|
||||
<div><%= compact_time post_flag.created_at %></div>
|
||||
<% end %>
|
||||
<% t.column "Approver", width: "15%" do |post_flag| %>
|
||||
<% if post_flag.post.approver %>
|
||||
|
||||
Reference in New Issue
Block a user