Clarify deletion messages
This commit is contained in:
parent
6135eeaa3e
commit
2022ae69df
app
|
@ -54,7 +54,7 @@ class Event < ActiveRecord::Base
|
||||||
if project
|
if project
|
||||||
project.name
|
project.name
|
||||||
else
|
else
|
||||||
"(deleted)"
|
"(deleted project)"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ module PushEvent
|
||||||
if new_ref?
|
if new_ref?
|
||||||
"pushed new"
|
"pushed new"
|
||||||
elsif rm_ref?
|
elsif rm_ref?
|
||||||
"removed"
|
"deleted"
|
||||||
else
|
else
|
||||||
"pushed to"
|
"pushed to"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue