2020-06-22 08:08:47 -04:00
|
|
|
- page_title _('Requests Profiles')
|
2016-07-15 11:46:39 -04:00
|
|
|
|
2019-09-03 05:03:35 -04:00
|
|
|
%h3.page-title
|
|
|
|
= page_title
|
2016-07-15 11:46:39 -04:00
|
|
|
|
2019-09-03 05:03:35 -04:00
|
|
|
.bs-callout.clearfix
|
|
|
|
Pass the header
|
|
|
|
%code X-Profile-Token: #{@profile_token}
|
|
|
|
to profile the request
|
2016-07-15 11:46:39 -04:00
|
|
|
|
2019-09-03 05:03:35 -04:00
|
|
|
- if @profiles.present?
|
2020-06-26 02:09:03 -04:00
|
|
|
.gl-mt-3
|
2019-09-03 05:03:35 -04:00
|
|
|
- @profiles.each do |path, profiles|
|
2020-08-18 02:10:30 -04:00
|
|
|
.card
|
2019-09-03 05:03:35 -04:00
|
|
|
.card-header
|
|
|
|
%code= path
|
|
|
|
%ul.content-list
|
|
|
|
- profiles.each do |profile|
|
|
|
|
%li
|
|
|
|
= link_to profile.time.to_s(:long) + ' ' + profile.profile_mode.capitalize,
|
|
|
|
admin_requests_profile_path(profile)
|
|
|
|
- else
|
|
|
|
%p
|
|
|
|
No profiles found
|