进入附件列表
This commit is contained in:
parent
f8f5ed3f9a
commit
4d2fd01cf9
|
@ -79,7 +79,7 @@ module WelcomeHelper
|
|||
when 'reply' ,'Reply', 'Memo'
|
||||
str << content_tag("span", "发表了") << content_tag("span", find_all_event_type(event)) << ': '.html_safe << link_to(truncate(strip_tags(event.event_description), length: 30, omission:'...'), event.event_url)
|
||||
when 'attachment'
|
||||
str << content_tag('span', '上传了') << content_tag('span', find_all_event_type(event)) << ': '.html_safe << link_to(truncate(event.event_title, length: 30, omission:'...'), project_files_path(event.container)) #<< link_to((' '.html_safe+l(:button_download)), event.event_url)
|
||||
str << content_tag('span', '上传了') << content_tag('span', find_all_event_type(event)) << ': '.html_safe << link_to(truncate(event.event_title, length: 30, omission:'...'), event.event_url) << link_to((' ['.html_safe+l(:label_downloads_list).to_s << ']'), project_files_path(event.container))
|
||||
else
|
||||
str << content_tag("span", "更新了") << content_tag("span", find_all_event_type(event)) << ': '.html_safe << link_to(truncate(event.event_title, length: 30, omission:'...'), event.event_url)
|
||||
end
|
||||
|
|
|
@ -1581,6 +1581,6 @@ en:
|
|||
label_tags_forum_description: Forum description
|
||||
label_tags_forum: Call forum
|
||||
label_memo_locked: 'Topic is locked'
|
||||
|
||||
label_downloads_list: enter file list.
|
||||
|
||||
|
||||
|
|
|
@ -1747,3 +1747,4 @@ zh:
|
|||
label_tags_forum: 贴吧名称
|
||||
label_project_module_forums: 公共贴吧
|
||||
label_memo_locked: 帖子已被锁定
|
||||
label_downloads_list: 进入附件列表
|
||||
|
|
Loading…
Reference in New Issue