forked from saurabh/personal-honor
Update honor.rb add title
This commit is contained in:
parent
9eb01a5e8d
commit
bcbfd97106
|
@ -75,7 +75,7 @@ class Honor
|
|||
pd_data = []
|
||||
fields_to_show.collect do |t|
|
||||
if t == "award_name"
|
||||
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_honor')}' target='_blank'>#{p.send(t)}</a>" }
|
||||
pd_data << { "data_title" => "<a href='#{OrbitHelper.url_to_plugin_show(p.to_param,'personal_honor')}' title='#{p.send(t)}' target='_blank'>#{p.send(t)}</a>" }
|
||||
elsif t == "honor_type"
|
||||
pd_data << {"data_title" => (p.honor_type.title rescue "")}
|
||||
elsif t == "award_date"
|
||||
|
|
Loading…
Reference in New Issue