summaryrefslogtreecommitdiff
path: root/app/views/hunt_groups/show.html.haml
blob: 009af509d4edc7a28de04ac4ba50d7986a60002c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- title t("hunt_groups.show.page_title")

%p
  %strong= t('hunt_groups.show.name') + ":"
  = @hunt_group.name
%p
  %strong= t('hunt_groups.show.strategy') + ":"
  = t("hunt_groups.strategies.#{@hunt_group.strategy}")
- if @hunt_group.seconds_between_jumps
  %p
    %strong= t('hunt_groups.show.seconds_between_jumps') + ":"
    = @hunt_group.seconds_between_jumps

= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @tenant, :child => @hunt_group }

%h2= t('hunt_groups.form.phone_numbers.label')
- if @hunt_group.phone_numbers.count > 0
  = render 'phone_numbers/index_core', :phone_numbers => @hunt_group.phone_numbers
  %br
= render :partial => 'shared/create_link', :locals => {:parent => @hunt_group, :child_class => PhoneNumber}

%h2= t('hunt_groups.form.hunt_group_members.label')
- if @hunt_group.hunt_group_members.count > 0
  = render 'hunt_group_members/index_core', :hunt_group_members => @hunt_group.hunt_group_members
  %br
= render :partial => 'shared/create_link', :locals => {:parent => @hunt_group, :child_class => HuntGroupMember}