Fix link.
This commit is contained in:
parent
97884844bf
commit
9d3f15a695
|
@ -350,7 +350,8 @@ class Admin::PersonalPluginFieldsController < OrbitMemberController
|
|||
"if field == \"#{slug_title}\"\n" +
|
||||
"#{@blank_text}link = OrbitHelper.url_to_plugin_show(#{plugin_template}.to_param,'#{@personal_plugin_field.module_name}')\n" +
|
||||
"#{@blank_text}tmp_title = #{tmp_title}\n"+
|
||||
"#{@blank_text}value = link == '#' ? tmp_title : \"<a href='\#{link}' target='_blank' title='\#{tmp_title}'>\#{tmp_title}</a>\"\n" +
|
||||
"#{@blank_text}url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)\n" +
|
||||
"#{@blank_text}value = url_to_plugin_show_blank ? tmp_title : \"<a href='\#{link}' target='_blank' title='\#{tmp_title}'>\#{tmp_title}</a>\"\n" +
|
||||
"end\n" +
|
||||
"value"
|
||||
value_case_codes += "\nvalue"
|
||||
|
|
Loading…
Reference in New Issue