debian-mirror-gitlab/app/views/admin/requests_profiles/index.html.haml
2020-08-09 17:41:57 +05:30

24 lines
575 B
Text

- page_title _('Requests Profiles')
%h3.page-title
= page_title
.bs-callout.clearfix
Pass the header
%code X-Profile-Token: #{@profile_token}
to profile the request
- if @profiles.present?
.gl-mt-3
- @profiles.each do |path, profiles|
.card.card-small
.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