forked from saurabh/personal-honor
Fix link.
This commit is contained in:
parent
18ec85dfea
commit
756244c6c4
|
@ -80,7 +80,7 @@ class Honor
|
|||
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_honor')
|
||||
url_to_plugin_show_blank = OrbitHelper.instance_variable_get(:@url_to_plugin_show_blank)
|
||||
tmp_title = p.award_name
|
||||
pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "<a title=\"#{tmp_title}\" href=\"#{link}\" target=\"_blank\">#{tmp_title}") }
|
||||
pd_data << { "data_title" => (url_to_plugin_show_blank ? tmp_title : "<a title=\"#{tmp_title}\" href=\"#{link}\" target=\"_blank\">#{tmp_title}</a>") }
|
||||
elsif t == "honor_type"
|
||||
pd_data << {"data_title" => (p.honor_type.title rescue "")}
|
||||
elsif t == "award_date"
|
||||
|
|
Loading…
Reference in New Issue