Make use of buttonLink function

This commit is contained in:
stuart nelson 2017-01-04 22:52:13 -05:00
parent 2c423e61d3
commit 278d3c53c2

View File

@ -92,9 +92,7 @@ alertView alert =
div [ class "f6 mb3" ]
[ div [ class "mb1" ]
[ b
, a [ class <| "link br1 ba ph3 pv2 mr2 dib black", href alert.generatorUrl, target "_blank" ]
[ i [ class "fa fa-bar-chart fa-3" ] []
]
, buttonLink "fa-bar-chart" alert.generatorUrl "black"
, p [ class "dib mr2" ] [ text <| Utils.Date.dateFormat alert.startsAt ]
]
, div [ class "mb2" ] (List.map labelButton <| List.filter (\( k, v ) -> k /= "alertname") alert.labels)