2020-06-22 12:08:47 +00:00
|
|
|
- page_title _('Requests Profiles')
|
2016-07-15 15:46:39 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
%h3.page-title
|
|
|
|
= page_title
|
2016-07-15 15:46:39 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
.bs-callout.clearfix
|
2021-04-21 15:09:35 +00:00
|
|
|
= html_escape(_('Pass the header %{codeOpen} X-Profile-Token: %{profile_token} %{codeClose} to profile the request')) % { profile_token: @profile_token, codeOpen: '<code>'.html_safe, codeClose: '</code>'.html_safe }
|
2016-07-15 15:46:39 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
- if @profiles.present?
|
2020-06-26 06:09:03 +00:00
|
|
|
.gl-mt-3
|
2019-09-03 09:03:35 +00:00
|
|
|
- @profiles.each do |path, profiles|
|
2020-08-18 06:10:30 +00:00
|
|
|
.card
|
2019-09-03 09:03:35 +00: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
|
2021-04-21 15:09:35 +00:00
|
|
|
= _('No profiles found')
|