mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-17 22:47:59 +01:00
fix: requested changes
This commit is contained in:
parent
9ec25a05ec
commit
9956ce2cb6
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue