Removed quotes since we were not using them

This commit is contained in:
Jorge Manrubia
2025-11-20 21:37:41 +01:00
parent a5b58e47fe
commit c052839bd6
+5 -6
View File
@@ -13,15 +13,14 @@ module NotificationsHelper
when "card_assigned" then "Assigned to #{event.assignees.none? ? "self" : event.assignees.pluck(:name).to_sentence}"
when "card_unassigned" then "Unassigned by #{creator}"
when "card_published" then "Added by #{creator}"
when "card_closed" then %(Moved to "Done" by #{creator})
when "card_closed" then "Moved to Done by #{creator}"
when "card_reopened" then "Reopened by #{creator}"
when "card_postponed" then %(Moved to "Not Now" by #{creator})
when "card_auto_postponed" then %(Closed as "Not Now" due to inactivity)
when "card_postponed" then "Moved to Not Now by #{creator}"
when "card_auto_postponed" then "Closed as Not Now due to inactivity"
when "card_title_changed" then "Renamed by #{creator}"
when "card_board_changed" then "Moved by #{creator}"
when "card_triaged"
%(Moved to "#{event.particulars.dig("particulars", "column")}" by #{creator})
when "card_sent_back_to_triage" then %(Moved back to "Maybe?" by #{creator})
when "card_triaged" then "Moved to #{event.particulars.dig("particulars", "column")} by #{creator}"
when "card_sent_back_to_triage" then "Moved back to Maybe? by #{creator}"
when "comment_created" then comment_notification_body(event)
else creator
end