diff --git a/web/templates/alerts.html b/web/templates/alerts.html
index 5f700391..18714f0d 100644
--- a/web/templates/alerts.html
+++ b/web/templates/alerts.html
@@ -46,7 +46,11 @@
{{timeSince .Created}} ago |
{{timeSince .LastRefreshed}} ago |
- {{(truncate .Alert.Payload.GeneratorURL 40)}} |
+
+ {{if .Alert.Payload.GeneratorURL}}
+ {{(truncate .Alert.Payload.GeneratorURL 40)}}
+ {{end}}
+ |
{{.Alert.Payload.AlertingRule}} |
{{$silence := call $silenceForAlert .Alert}}
|