Add hint in start and end hour in conference#edit

This commit is contained in:
rahul 2017-11-11 00:54:31 +05:30 committed by Stella Rouzi
parent 837d8ec0db
commit 4785293bf1
3 changed files with 9 additions and 2 deletions

View file

@ -163,6 +163,12 @@ module ApplicationHelper
end
end
def rescheduling_hint(affected_event_count)
if affected_event_count > 0
"You have #{affected_event_count} scheduled #{'event'.pluralize(affected_event_count)}. Changing the conference hours will unschedule those scheduled outside the conference hours."
end
end
##
# ====Gets
# a conference object