Wrap reporting users in frame
This commit is contained in:
parent
1633671aee
commit
28c581307e
1 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
<%= turbo_frame_tag "#{dom_id(issue)}_reporters", :data => { :turbo => false } do %>
|
||||
<% @unique_reporters[issue.id][:users].each do |reporter| %>
|
||||
<%= link_to reporter.display_name, reporter, :class => "d-block text-truncate", :title => reporter.display_name %>
|
||||
<% end %>
|
||||
|
@ -5,6 +6,8 @@
|
|||
<p class="m-0">
|
||||
<%= link_to t(".more_reporters", :count => @unique_reporters[issue.id][:count] - @unique_reporters_limit),
|
||||
issue_reporters_path(issue),
|
||||
:class => "link-body-emphasis" %>
|
||||
:class => "link-body-emphasis",
|
||||
:data => { :turbo => true } %>
|
||||
</p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue