added category detail page
This commit is contained in:
parent
ea7ddc5339
commit
4f59a27f35
|
@ -65,7 +65,8 @@ class PersonalTechnologyTransfersController < ApplicationController
|
|||
"category",
|
||||
"patent_granted",
|
||||
"patent_number",
|
||||
"authors"
|
||||
"authors",
|
||||
"category"
|
||||
]
|
||||
|
||||
{"plugin_datas"=>plugin.get_plugin_data(fields_to_show)}
|
||||
|
|
|
@ -93,7 +93,7 @@ class TechnologyTransfer
|
|||
|
||||
def get_plugin_field_data(field)
|
||||
case field
|
||||
when "technology_transfer_category"
|
||||
when "technology_transfer_category", "category"
|
||||
value = self.technology_transfer_category.title rescue ""
|
||||
when "patent_granted"
|
||||
value = self.patent_granted ? I18n.t("personal_technology_transfer.y_es") : I18n.t("personal_technology_transfer.n_o")
|
||||
|
|
Loading…
Reference in New Issue