Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on profile page, repeat button for all posts at the top of the list #1237

Merged
merged 6 commits into from
Dec 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/views/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
<% if @posts.size == 0 %>
<p><span dir="ltr"><%= rtl_safe_username(@user) %></span> hasn't posted anything yet.</p>
<% else %>
<%= link_to user_posts_path(@user), class: "button is-muted", 'aria-label': "View all posts by #{rtl_safe_username(@user)}" do %>
See all &raquo;
<% end %>
<div class="item-list user-profile-post-list">
<% @posts.each do |a| %>
<%= render 'posts/type_agnostic', post: a, show_type_tag: true, show_category_tag: true %>
Expand Down
Loading