From 9956ce2cb678890cb582272aa7311bb251ba480a Mon Sep 17 00:00:00 2001 From: Floorb <132411956+Neetpone@users.noreply.github.com> Date: Thu, 4 May 2023 23:03:44 -0400 Subject: [PATCH] fix: requested changes --- .../controllers/image/tag_change_controller.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/philomena_web/controllers/image/tag_change_controller.ex b/lib/philomena_web/controllers/image/tag_change_controller.ex index 3e9fadf2..fb0daee8 100644 --- a/lib/philomena_web/controllers/image/tag_change_controller.ex +++ b/lib/philomena_web/controllers/image/tag_change_controller.ex @@ -60,14 +60,14 @@ defmodule PhilomenaWeb.Image.TagChangeController do defp log_details(conn, _action, %{image: image, details: details}) do %{ - body: "Deleted tag change (#{details}) from history", + body: "Deleted tag change #{details} on >>#{image.id} from history", subject_path: Routes.image_path(conn, :show, image) } end defp tag_change_details(%TagChange{added: true, tag: tag}), - do: "added tag \"#{tag.name}\"" + do: "+#{tag.name}" defp tag_change_details(%TagChange{added: false, tag: tag}), - do: "removed tag \"#{tag.name}\"" + do: "-#{tag.name}" end