diff --git a/pkg/controller/admin/feedback.go b/pkg/controller/admin/feedback.go
index 39a17a3..d3baf70 100644
--- a/pkg/controller/admin/feedback.go
+++ b/pkg/controller/admin/feedback.go
@@ -137,19 +137,9 @@ func Feedback() http.HandlerFunc {
}
}
case "comments":
- // Get this comment.
- comment, err := models.GetComment(fb.TableID)
- if err != nil {
- session.FlashError(w, r, "Couldn't get comment ID %d: %s", fb.TableID, err)
- } else {
- // What was the comment on?
- switch comment.TableName {
- case "threads":
- // Visit the thread.
- templates.Redirect(w, fmt.Sprintf("/forum/thread/%d", comment.TableID))
- return
- }
- }
+ // Redirect to the comment redirector.
+ templates.Redirect(w, fmt.Sprintf("/go/comment?id=%d", fb.TableID))
+ return
case "forums":
// Get this forum.
forum, err := models.GetForum(fb.TableID)
diff --git a/pkg/controller/index/contact.go b/pkg/controller/index/contact.go
index 1e7d197..cef5f75 100644
--- a/pkg/controller/index/contact.go
+++ b/pkg/controller/index/contact.go
@@ -105,6 +105,16 @@ From: @%s
if comment, err := models.GetComment(uint64(tableID)); err == nil {
tableLabel = fmt.Sprintf(`A comment written by "%s"`, comment.User.Username)
aboutUser = &comment.User
+ footer = fmt.Sprintf(`
+
+---
+
+From: @%s
+
+%s`,
+ comment.User.Username, comment.User.Username,
+ markdown.Quotify(comment.Message),
+ )
} else {
log.Error("/contact: couldn't produce table label for comment %d: %s", tableID, err)
}
diff --git a/web/static/css/theme.css b/web/static/css/theme.css
index b50616f..3883965 100644
--- a/web/static/css/theme.css
+++ b/web/static/css/theme.css
@@ -1,5 +1,11 @@
/* Custom CSS styles */
+html {
+ /* With the fixed top nav bar, this works around anchor-links to make them appear
+ correctly BELOW the nav bar instead of overlapped underneath it. */
+ scroll-padding-top: 52px;
+}
+
abbr {
cursor: help;
}