Sha256: 2988b0148b2fcadce60a0b807097f71fb95fd5b19b660e357a93e3d9f8a5d745
Contents?: true
Size: 1.3 KB
Versions: 12
Compression:
Stored size: 1.3 KB
Contents
!!! 5 - nav = render_haml('_nav.haml', self) - css = render_haml('_css.haml', self) %html %head %title Flapjack - Contact: #{@contact.name} = css %body %div#wrapper = nav %h1= @contact.name - if @contact.media && !@contact.media.empty? %ul - @contact.media.each_pair do |mk, mv| - if 'pagerduty'.eql?(mk) %li= "PagerDuty: " %ul - @pagerduty_credentials.each_pair do |pk, pv| - if 'password'.eql?(pk) %li= "#{pk}: ..." - else %li= "#{pk}: #{pv}" - else %li= "#{mk.capitalize}: #{mv}" - else %p No media - if @entities_and_checks && !@entities_and_checks.empty? %table %tr %th Entity name %th Checks - @entities_and_checks.each do |ec| - entity = ec[:entity] - checks = ec[:checks] %tr %td %p= entity.name %td - checks.each do |check| - link = "/check?entity=#{CGI.escape(entity.name)}&check=#{CGI.escape(check)}" %p %a(title='check status' href=link) #{check} - else %p No entities
Version data entries
12 entries across 12 versions & 1 rubygems