mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-09 23:39:36 +00:00
Make use of buttonLink function
This commit is contained in:
parent
2c423e61d3
commit
278d3c53c2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user