Fix link.
This commit is contained in:
1 parent
a75c50c6f4
commit
65aed5130f
1 file changed
+2
-1
@@ -200,7 +200,8 @@ class Technique
|
||||
if field == "title"
|
||||
link = OrbitHelper.url_to_plugin_show(technique.to_param,'personal_technique')
|
||||
tmp_title = (title_is_paper_format ? technique.create_link : value)
|
||||
value = link == '#' ? tmp_title : "<a href='#{link}' target='_blank' title='#{tmp_title}'>#{tmp_title}</a>"
|
||||
url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)
|
||||
value = (url_to_plugin_show_blank ? tmp_title : "<a title=\"#{tmp_title}\" href=\"#{link}\" target=\"_blank\">#{tmp_title}</a>")
|
||||
end
|
||||
value
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user