Merge remote-tracking branch 'upstream/pull/5184'
This commit is contained in:
commit
c6e12b541b
6 changed files with 7 additions and 7 deletions
|
@ -25,7 +25,7 @@ class UserBlocksController < ApplicationController
|
|||
@show_user_name = true
|
||||
@show_creator_name = true
|
||||
|
||||
render :partial => "blocks" if turbo_frame_request_id == "pagination"
|
||||
render :partial => "page" if turbo_frame_request_id == "pagination"
|
||||
end
|
||||
|
||||
def show
|
||||
|
@ -127,7 +127,7 @@ class UserBlocksController < ApplicationController
|
|||
@show_user_name = false
|
||||
@show_creator_name = true
|
||||
|
||||
render :partial => "blocks" if turbo_frame_request_id == "pagination"
|
||||
render :partial => "page" if turbo_frame_request_id == "pagination"
|
||||
end
|
||||
|
||||
##
|
||||
|
@ -142,7 +142,7 @@ class UserBlocksController < ApplicationController
|
|||
@show_user_name = true
|
||||
@show_creator_name = false
|
||||
|
||||
render :partial => "blocks" if turbo_frame_request_id == "pagination"
|
||||
render :partial => "page" if turbo_frame_request_id == "pagination"
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<% end %>
|
||||
|
||||
<% unless @user_blocks.empty? %>
|
||||
<%= render :partial => "blocks" %>
|
||||
<%= render :partial => "page" %>
|
||||
<% else %>
|
||||
<p><%= t ".empty", :name => @user.display_name %></p>
|
||||
<% end %>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<% end %>
|
||||
|
||||
<% unless @user_blocks.empty? %>
|
||||
<%= render :partial => "blocks" %>
|
||||
<%= render :partial => "page" %>
|
||||
<% else %>
|
||||
<p><%= t ".empty", :name => @user.display_name %></p>
|
||||
<% end %>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<% end %>
|
||||
|
||||
<% unless @user_blocks.empty? %>
|
||||
<%= render :partial => "blocks" %>
|
||||
<%= render :partial => "page" %>
|
||||
<% else %>
|
||||
<p><%= t ".empty" %></p>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue