app/helpers/decidim/meetings/meetings_helper.rb in decidim-meetings-0.25.2 vs app/helpers/decidim/meetings/meetings_helper.rb in decidim-meetings-0.26.0.rc1
- old
+ new
@@ -3,10 +3,11 @@
module Decidim
module Meetings
# Custom helpers used in meetings views
module MeetingsHelper
include Decidim::ApplicationHelper
+ include Decidim::Meetings::ApplicationHelper
include Decidim::TranslationsHelper
include Decidim::ResourceHelper
# Public: truncates the meeting description
#
@@ -31,9 +32,11 @@
case type
when "private"
"alert"
when "transparent"
"secondary"
+ when "withdraw"
+ "alert"
end
end
# Public: This method is used to calculate the start and end time
# of each agenda item passed