Adds an helper to render other formats download links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2333 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
bf76988ebc
commit
f1aa0df326
20 files changed
+99
-77
No files matched your search
@@ -282,6 +282,12 @@ module ApplicationHelper
|
||||
elements = args.flatten
|
||||
elements.any? ? content_tag('p', args.join(' » ') + ' » ', :class => 'breadcrumb') : nil
|
||||
end
|
||||
|
||||
def other_formats_links(&block)
|
||||
concat('<p class="other-formats">' + l(:label_export_to), block.binding)
|
||||
yield Redmine::Views::OtherFormatsBuilder.new(self)
|
||||
concat('</p>', block.binding)
|
||||
end
|
||||
|
||||
def html_title(*args)
|
||||
if args.empty?
|
||||
|
||||
Reference in new issue
Block a user