2020-07-28 23:09:34 +05:30
|
|
|
- page_title _('Requests Profiles')
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
%h3.page-title
|
|
|
|
= page_title
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.bs-callout.clearfix
|
|
|
|
Pass the header
|
|
|
|
%code X-Profile-Token: #{@profile_token}
|
|
|
|
to profile the request
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
- if @profiles.present?
|
2020-07-28 23:09:34 +05:30
|
|
|
.gl-mt-3
|
2019-12-04 20:38:33 +05:30
|
|
|
- @profiles.each do |path, profiles|
|
2020-10-24 23:57:45 +05:30
|
|
|
.card
|
2019-12-04 20:38:33 +05:30
|
|
|
.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
|