add link to honoree front page for current honor
This commit is contained in:
parent
f6e74071ce
commit
876c93e591
|
@ -99,7 +99,8 @@ class Honor
|
|||
def get_plugin_field_data(field)
|
||||
case field
|
||||
when "honoree"
|
||||
value = self.member_profile.name
|
||||
path = OrbitHelper.url_to_plugin_show(self.member_profile.to_param, 'member')
|
||||
value = "<a href='#{path}'>" + self.member_profile.name + "</a>"
|
||||
when "language"
|
||||
value = I18n.t(self.language) rescue ""
|
||||
when "honor_type"
|
||||
|
@ -129,4 +130,4 @@ class Honor
|
|||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue