Fix link.
This commit is contained in:
parent
a75c50c6f4
commit
65aed5130f
|
@ -200,7 +200,8 @@ class Technique
|
||||||
if field == "title"
|
if field == "title"
|
||||||
link = OrbitHelper.url_to_plugin_show(technique.to_param,'personal_technique')
|
link = OrbitHelper.url_to_plugin_show(technique.to_param,'personal_technique')
|
||||||
tmp_title = (title_is_paper_format ? technique.create_link : value)
|
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
|
end
|
||||||
value
|
value
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue