diff --git a/routes/topic.go b/routes/topic.go index caea7084..599c893b 100644 --- a/routes/topic.go +++ b/routes/topic.go @@ -161,19 +161,19 @@ func ViewTopic(w http.ResponseWriter, r *http.Request, user common.User, urlBit if replyItem.ActionType != "" { switch replyItem.ActionType { case "lock": - replyItem.ActionType = "This topic has been locked by " + replyItem.CreatedByName + "" + replyItem.ActionType = "This topic was locked by " + replyItem.CreatedByName + "" replyItem.ActionIcon = "🔒︎" case "unlock": - replyItem.ActionType = "This topic has been reopened by " + replyItem.CreatedByName + "" + replyItem.ActionType = "This topic was reopened by " + replyItem.CreatedByName + "" replyItem.ActionIcon = "🔓︎" case "stick": - replyItem.ActionType = "This topic has been pinned by " + replyItem.CreatedByName + "" + replyItem.ActionType = "This topic was pinned by " + replyItem.CreatedByName + "" replyItem.ActionIcon = "📌︎" case "unstick": - replyItem.ActionType = "This topic has been unpinned by " + replyItem.CreatedByName + "" + replyItem.ActionType = "This topic was unpinned by " + replyItem.CreatedByName + "" replyItem.ActionIcon = "📌︎" case "move": - replyItem.ActionType = "This topic has been moved by " + replyItem.CreatedByName + "" + replyItem.ActionType = "This topic was moved by " + replyItem.CreatedByName + "" default: replyItem.ActionType = replyItem.ActionType + " has happened" replyItem.ActionIcon = ""