diff --git a/app/views/artist_commentary_versions/_listing.html.erb b/app/views/artist_commentary_versions/_listing.html.erb index ed852ad4c..4e72067be 100644 --- a/app/views/artist_commentary_versions/_listing.html.erb +++ b/app/views/artist_commentary_versions/_listing.html.erb @@ -43,12 +43,9 @@ <%= status_diff_html(commentary_version, params[:type]) %> <% end %> <% t.column "Updated", width: "10%" do |commentary_version| %> -
- <%= compact_time commentary_version.updated_at %> -
- by <%= link_to_user commentary_version.updater %> <%= link_to "»", artist_commentary_versions_path(search: params[:search].merge({ updater_id: commentary_version.updater_id })) %> +
<%= compact_time commentary_version.updated_at %>
<% end %> <% if listing_type(:post_id) == :revert %> <% t.column column: "control", width: "7%" do |commentary_version| %> diff --git a/app/views/artist_versions/_listing.html.erb b/app/views/artist_versions/_listing.html.erb index 6e4d97ef5..bc49e6fc0 100644 --- a/app/views/artist_versions/_listing.html.erb +++ b/app/views/artist_versions/_listing.html.erb @@ -19,9 +19,7 @@ <% t.column "Updated" do |artist_version| %> <%= link_to_user artist_version.updater %> <%= link_to "»", artist_versions_path(search: { updater_name: artist_version.updater.name }) %> -

- <%= compact_time(artist_version.updated_at) %> -

+
<%= compact_time(artist_version.updated_at) %>
<% end %> <% if listing_type(:artist_id) == :revert %> <% t.column column: "control" do |artist_version| %> diff --git a/app/views/note_versions/_listing.html.erb b/app/views/note_versions/_listing.html.erb index ae170ab6e..a6df31588 100644 --- a/app/views/note_versions/_listing.html.erb +++ b/app/views/note_versions/_listing.html.erb @@ -26,12 +26,9 @@ <%= status_diff_html(note_version, params[:type]) %> <% end %> <% t.column "Updated", width: "10%" do |note_version| %> -
- <%= compact_time note_version.updated_at %> -
- by <%= link_to_user note_version.updater %> <%= link_to "»", note_versions_path(search: params[:search].merge({ updater_id: note_version.updater_id })) %> +
<%= compact_time note_version.updated_at %>
<% end %> <% if listing_type(:post_id, :note_id) == :revert %> <% t.column column: "control", width: "7%" do |note_version| %> diff --git a/app/views/pool_versions/_listing.html.erb b/app/views/pool_versions/_listing.html.erb index 6dbf9e4ee..593c9bbdd 100644 --- a/app/views/pool_versions/_listing.html.erb +++ b/app/views/pool_versions/_listing.html.erb @@ -19,12 +19,9 @@ <%= status_diff_html(pool_version, params[:type]) %> <% end %> <% t.column "Updated", width: "10%" do |pool_version| %> -
- <%= compact_time pool_version.updated_at %> -
- by <%= link_to_user pool_version.updater %> <%= link_to "»", pool_versions_path(search: params[:search].merge({ updater_id: pool_version.updater_id })) %> +
<%= compact_time pool_version.updated_at %>
<% end %> <% if listing_type(:pool_id) == :revert %> <% t.column column: "control" do |pool_version| %> diff --git a/app/views/post_appeals/index.html.erb b/app/views/post_appeals/index.html.erb index 1ed4b5be9..de0196ccb 100644 --- a/app/views/post_appeals/index.html.erb +++ b/app/views/post_appeals/index.html.erb @@ -20,14 +20,14 @@ <%= link_to post_appeal.status, post_appeals_path(search: { status: post_appeal.status }) %> <% end %> <% t.column "Uploaded", width: "15%" do |post_appeal| %> - <%= compact_time post_appeal.post.created_at %> -
by <%= link_to_user post_appeal.post.uploader %> + <%= link_to_user post_appeal.post.uploader %> <%= link_to "»", post_appeals_path(search: params[:search].merge(post_tags_match: "#{params[:search][:post_tags_match]} user:#{post_appeal.post.uploader.name}".strip)) %> +
<%= compact_time post_appeal.post.created_at %>
<% end %> <% t.column "Appealed", width: "15%" do |post_appeal| %> - <%= compact_time post_appeal.created_at %> -
by <%= link_to_user post_appeal.creator %> + <%= link_to_user post_appeal.creator %> <%= link_to "»", post_appeals_path(search: params[:search].merge(creator_name: post_appeal.creator.name)) %> +
<%= compact_time post_appeal.created_at %>
<% end %> <% t.column "Approver", width: "15%" do |post_appeal| %> <% if post_appeal.post.approver %> diff --git a/app/views/post_disapprovals/index.html.erb b/app/views/post_disapprovals/index.html.erb index 4394656c6..c7b2779c7 100644 --- a/app/views/post_disapprovals/index.html.erb +++ b/app/views/post_disapprovals/index.html.erb @@ -32,9 +32,7 @@ <%= link_to "»", post_disapprovals_path(search: params[:search].merge(user_name: post_disapproval.user&.name)) %> <% end %> -

- <%= compact_time(post_disapproval.updated_at) %> -

+
<%= compact_time(post_disapproval.updated_at) %>
<% end %> <% end %> diff --git a/app/views/post_flags/index.html.erb b/app/views/post_flags/index.html.erb index 9fb05177b..715fc938e 100644 --- a/app/views/post_flags/index.html.erb +++ b/app/views/post_flags/index.html.erb @@ -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 %> -
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)) %> +
<%= compact_time post_flag.post.created_at %>
<% end %> <% t.column "Flagged", width: "15%" do |post_flag| %> - <%= compact_time post_flag.created_at %> <% if policy(post_flag).can_view_flagger? %> -
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 %> +
<%= compact_time post_flag.created_at %>
<% end %> <% t.column "Approver", width: "15%" do |post_flag| %> <% if post_flag.post.approver %> diff --git a/app/views/post_replacements/index.html.erb b/app/views/post_replacements/index.html.erb index b48ea30d9..72ccd272f 100644 --- a/app/views/post_replacements/index.html.erb +++ b/app/views/post_replacements/index.html.erb @@ -57,9 +57,9 @@ <% end %> <% end %> <% t.column "Replacer" do |post_replacement| %> - <%= compact_time post_replacement.created_at %> -
by <%= link_to_user post_replacement.creator %> + <%= link_to_user post_replacement.creator %> <%= link_to "»", post_replacements_path(search: params[:search].merge(creator_name: post_replacement.creator.name)) %> +
<%= compact_time post_replacement.created_at %>
<% end %> <% end %> diff --git a/app/views/post_versions/_listing.html.erb b/app/views/post_versions/_listing.html.erb index 11477b4f6..23193ebb4 100644 --- a/app/views/post_versions/_listing.html.erb +++ b/app/views/post_versions/_listing.html.erb @@ -39,9 +39,7 @@ <% t.column "Updated", width: "5%" do |post_version| %> <%= link_to_user post_version.updater %> <%= link_to "»", post_versions_path(search: params[:search].merge({ updater_name: post_version.updater&.name })) %> -
- <%= compact_time(post_version.updated_at) %> -
+
<%= compact_time(post_version.updated_at) %>
<% end %> <% t.column column: "action", width: "5%" do |post_version| %> <% if policy(post_version).undo? %> diff --git a/app/views/wiki_page_versions/_listing.html.erb b/app/views/wiki_page_versions/_listing.html.erb index e9c9d318b..3fddd1e07 100644 --- a/app/views/wiki_page_versions/_listing.html.erb +++ b/app/views/wiki_page_versions/_listing.html.erb @@ -26,10 +26,9 @@ <%= status_diff_html(wiki_page_version, params[:type]) %> <% end %> <% t.column "Updated", width: "26%" do |wiki_page_version| %> - <%= compact_time(wiki_page_version.updated_at) %> - by <%= link_to_user wiki_page_version.updater %> <%= link_to "»", wiki_page_versions_path(search: { updater_id: wiki_page_version.updater.id }) %> +
<%= compact_time(wiki_page_version.updated_at) %>
<% end %> <% end %>