doesn't look good for now, take it out, add it later
This commit is contained in:
parent
77d69dd2a3
commit
72b2e8f8f2
1 changed files with 1 additions and 4 deletions
|
@ -3,10 +3,7 @@ class Webhooks::Slack::TopicAddedToMap < Webhooks::Slack::Base
|
||||||
def text
|
def text
|
||||||
"New #{eventable.mappable.metacode.name} topic *#{eventable.mappable.name}* was added to the map *#{view_map_on_metamaps()}*"
|
"New #{eventable.mappable.metacode.name} topic *#{eventable.mappable.name}* was added to the map *#{view_map_on_metamaps()}*"
|
||||||
end
|
end
|
||||||
|
# todo: it would be sweet if it sends it with the metacode as the icon_url
|
||||||
def icon_url
|
|
||||||
eventable.mappable.metacode.icon
|
|
||||||
end
|
|
||||||
|
|
||||||
def attachment_fallback
|
def attachment_fallback
|
||||||
"" #{}"*#{eventable.name}*\n#{eventable.description}\n"
|
"" #{}"*#{eventable.name}*\n#{eventable.description}\n"
|
||||||
|
|
Loading…
Reference in a new issue