mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Hide the intial preview line when using Show All in the UI (#3286)
This commit is contained in:
parent
24004c5ef2
commit
901e8586c2
1 changed files with 3 additions and 3 deletions
|
@ -24,9 +24,9 @@
|
|||
<td>
|
||||
<% a = msg.display_args.inspect %>
|
||||
<% if a.size > 100 %>
|
||||
<%= h(msg.display_args.inspect[0..100]) + "... " %>
|
||||
<button data-toggle="collapse" data-target="#worker_<%= index %>" class="btn btn-default btn-xs"><%= t('ShowAll') %></button>
|
||||
<div class="toggle" id="worker_<%= index %>"><%= h(msg.display_args) %></div>
|
||||
<span class="worker_<%= index %>"><%= h(msg.display_args.inspect[0..100]) + "... " %></span>
|
||||
<button data-toggle="collapse" data-target=".worker_<%= index %>" class="btn btn-default btn-xs"><%= t('ShowAll') %></button>
|
||||
<div class="toggle worker_<%= index %>"><%= h(msg.display_args) %></div>
|
||||
<% else %>
|
||||
<%= h(msg.display_args) %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue