|
|
@ -595,19 +595,19 @@ module CoursesHelper
|
|
|
|
def get_acts_list_type type
|
|
|
|
def get_acts_list_type type
|
|
|
|
case type
|
|
|
|
case type
|
|
|
|
when "homework"
|
|
|
|
when "homework"
|
|
|
|
">" + l(:label_homework_acts)
|
|
|
|
"> " + l(:label_homework_acts)
|
|
|
|
when "news"
|
|
|
|
when "news"
|
|
|
|
">" + l(:label_news_acts)
|
|
|
|
"> " + l(:label_news_acts)
|
|
|
|
when "attachment"
|
|
|
|
when "attachment"
|
|
|
|
">" + l(:label_attachment_acts)
|
|
|
|
"> " + l(:label_attachment_acts)
|
|
|
|
when "message"
|
|
|
|
when "message"
|
|
|
|
">" + l(:label_message_acts)
|
|
|
|
"> " + l(:label_message_acts)
|
|
|
|
when "journalsForMessage"
|
|
|
|
when "journalsForMessage"
|
|
|
|
">" + l(:label_journalsForMessage_acts)
|
|
|
|
"> " + l(:label_journalsForMessage_acts)
|
|
|
|
when "poll"
|
|
|
|
when "poll"
|
|
|
|
">" + l(:label_poll_acts)
|
|
|
|
"> " + l(:label_poll_acts)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
">" + l(:label_all_cats)
|
|
|
|
"> " + l(:label_all_cats)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|