@@ -103,17 +103,17 module RepositoriesHelper | |||||
103 | :path => path_param, |
|
103 | :path => path_param, | |
104 | :rev => @changeset.identifier) unless c.action == 'D' |
|
104 | :rev => @changeset.identifier) unless c.action == 'D' | |
105 | text << " - #{h(c.revision)}" unless c.revision.blank? |
|
105 | text << " - #{h(c.revision)}" unless c.revision.blank? | |
106 | text << ' (' + link_to(l(:label_diff), :controller => 'repositories', |
|
106 | text << ' ('.html_safe + link_to(l(:label_diff), :controller => 'repositories', | |
107 | :action => 'diff', |
|
107 | :action => 'diff', | |
108 | :id => @project, |
|
108 | :id => @project, | |
109 | :path => path_param, |
|
109 | :path => path_param, | |
110 | :rev => @changeset.identifier) + ') ' if c.action == 'M' |
|
110 | :rev => @changeset.identifier) + ') '.html_safe if c.action == 'M' | |
111 | text << ' ' + content_tag('span', h(c.from_path), :class => 'copied-from') unless c.from_path.blank? |
|
111 | text << ' '.html_safe + content_tag('span', h(c.from_path), :class => 'copied-from') unless c.from_path.blank? | |
112 | output << "<li class='#{style}'>#{text}</li>" |
|
112 | output << "<li class='#{style}'>#{text}</li>" | |
113 | end |
|
113 | end | |
114 | end |
|
114 | end | |
115 | output << '</ul>' |
|
115 | output << '</ul>' | |
116 | output |
|
116 | output.html_safe | |
117 | end |
|
117 | end | |
118 |
|
118 | |||
119 | def to_utf8(str) |
|
119 | def to_utf8(str) |
General Comments 0
You need to be logged in to leave comments.
Login now