view/html: Mention alternative way of commenting.
authorRicardo Wurmus <rekado@elephly.net>
Sun, 10 May 2020 06:45:58 +0000 (08:45 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Sun, 10 May 2020 06:45:58 +0000 (08:45 +0200)
mumi/web/view/html.scm

index 8de7264c59e563dcfba186ad8cde9e0aecf34063..3c7fd0e70c743079b3b9cffeb1484d86ab785044 100644 (file)
@@ -453,7 +453,15 @@ failed to process associated messages.")
                   (@ (class "card-footer"))
                   (button (@ (class "btn btn-primary")
                              (type "submit"))
-                          "Send"))))
+                          "Send")
+                  (span (@ (class "ml-3"))
+                   "Your may also "
+                   (a (@ (href ,(string-append "mailto:"
+                                               (number->string id) "@" (%config 'debbugs-domain)
+                                               "?subject=" (bug-subject* bug))))
+                      ,(string-append "send email to "
+                                      (number->string id) "@" (%config 'debbugs-domain)))
+                   " to comment."))))
               `((div
                  (@ (class "card-header"))
                  (div (@ (class "from"))