From b80bd744ad873f6fc43018bc4bfb90677de167bd Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 17 Dec 2012 12:01:45 +0100 Subject: Start of GS5. --- app/views/hunt_groups/show.html.haml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 app/views/hunt_groups/show.html.haml (limited to 'app/views/hunt_groups/show.html.haml') diff --git a/app/views/hunt_groups/show.html.haml b/app/views/hunt_groups/show.html.haml new file mode 100644 index 0000000..009af50 --- /dev/null +++ b/app/views/hunt_groups/show.html.haml @@ -0,0 +1,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} \ No newline at end of file -- cgit v1.2.3