diff --git a/app/assets/stylesheets/comments.css b/app/assets/stylesheets/comments.css
index 5ac852793..237eb4e4e 100644
--- a/app/assets/stylesheets/comments.css
+++ b/app/assets/stylesheets/comments.css
@@ -126,7 +126,6 @@
max-inline-size: var(--comment-max);
text-align: center;
-
&::before {
/* Make up space for lack of avatar */
content: "";
diff --git a/app/models/card/eventable/system_commenter.rb b/app/models/card/eventable/system_commenter.rb
index f07c702c0..b633b45e7 100644
--- a/app/models/card/eventable/system_commenter.rb
+++ b/app/models/card/eventable/system_commenter.rb
@@ -15,19 +15,19 @@ class Card::Eventable::SystemCommenter
def comment_body
case event.action
when "card_assigned"
- "#{event.creator.name} assigned this to #{event.assignees.pluck(:name).to_sentence}."
+ "#{event.creator.name} assigned this to #{event.assignees.pluck(:name).to_sentence}."
when "card_unassigned"
- "#{event.creator.name} unassigned from #{event.assignees.pluck(:name).to_sentence}."
+ "#{event.creator.name} unassigned from #{event.assignees.pluck(:name).to_sentence}."
when "card_staged"
- "#{event.creator.name} moved this to '#{event.stage_name}'."
+ "#{event.creator.name} moved this to ‘#{event.stage_name}’."
when "card_closed"
- "Closed as “#{ card.closure.reason }” by #{ event.creator.name }"
+ "Closed as ‘#{ card.closure.reason }’ by #{ event.creator.name }"
when "card_reopened"
- "Reopened by #{ event.creator.name }"
+ "Reopened by #{ event.creator.name }"
when "card_title_changed"
- "#{event.creator.name} changed the title from '#{event.particulars.dig('particulars', 'old_title')}' to '#{event.particulars.dig('particulars', 'new_title')}'."
+ "#{event.creator.name} changed the title from ‘#{event.particulars.dig('particulars', 'old_title')}’ to ‘#{event.particulars.dig('particulars', 'new_title')}’."
when "card_collection_changed"
- "#{event.creator.name} moved this from '#{event.particulars.dig('particulars', 'old_collection')}' to '#{event.particulars.dig('particulars', 'new_collection')}'."
+ "#{event.creator.name} moved this from ‘#{event.particulars.dig('particulars', 'old_collection')}’ to ‘#{event.particulars.dig('particulars', 'new_collection')}’."
end
end
end
diff --git a/app/views/cards/comments/_comment.html.erb b/app/views/cards/comments/_comment.html.erb
index 3bb9a177a..1f7f748de 100644
--- a/app/views/cards/comments/_comment.html.erb
+++ b/app/views/cards/comments/_comment.html.erb
@@ -21,7 +21,7 @@
<%= link_to edit_card_comment_path(comment.card, comment),
class: "comment__edit btn btn--circle borderless translucent" do %>
- <%= icon_tag "menu-dots-horizontal" %>
+ <%= icon_tag "menu-dots-horizontal" %>
Edit this comment
<% end %>
diff --git a/test/models/card/eventable/system_commenter_test.rb b/test/models/card/eventable/system_commenter_test.rb
index 67678d32e..417d48b42 100644
--- a/test/models/card/eventable/system_commenter_test.rb
+++ b/test/models/card/eventable/system_commenter_test.rb
@@ -7,7 +7,7 @@ class Card::Eventable::SystemCommenterTest < ActiveSupport::TestCase
end
test "card_assigned" do
- assert_system_comment "David assigned this to Kevin." do
+ assert_system_comment "David assigned this to Kevin" do
@card.toggle_assignment users(:kevin)
end
end
@@ -22,19 +22,19 @@ class Card::Eventable::SystemCommenterTest < ActiveSupport::TestCase
end
test "card_staged" do
- assert_system_comment "David moved this to 'In progress'" do
+ assert_system_comment "David moved this to ‘In progress’" do
@card.change_stage_to workflow_stages(:qa_in_progress)
end
end
test "card_closed" do
- assert_system_comment "Closed as “Done” by David" do
+ assert_system_comment "Closed as ‘Done’ by David" do
@card.close
end
end
test "card_title_changed" do
- assert_system_comment "David changed the title from 'The text is too small' to 'Make text larger'." do
+ assert_system_comment "David changed the title from ‘The text is too small’ to ‘Make text larger’" do
@card.update! title: "Make text larger"
end
end