super.append ['current_user_logins', @current_user_logins]
end
def attribute_editable? attr, *args
- attr != 'current_user_logins' and super *args
+ attr != 'current_user_logins' and super(attr, *args)
end
def self.attribute_info
merger = ->(k,a,b) { a.merge(b, &merger) }
<div class="container-fluid">
+ <% any = false %>
<% recent_jobs_and_pipelines[0..9].each do |object| %>
<% any = true %>
<div class="row">
</div>
</div>
<% end %>
- <% if not defined? any %>
+ <% if not any %>
<span class="deemphasize">No jobs or pipelines to display.</span>
<% end %>
</div>