diff --git a/app/helpers/orbit_helper.rb b/app/helpers/orbit_helper.rb index 48d737e..7a207b4 100644 --- a/app/helpers/orbit_helper.rb +++ b/app/helpers/orbit_helper.rb @@ -76,8 +76,8 @@ module OrbitHelper end def self.url_to_plugin_show(slug,module_app) - page = Page.find_by(:module => module_app) - @url_to_plugin_show = "/#{@site_locale}#{page.url}/#{slug}" + page = Page.find_by(:module => module_app) rescue "" + @url_to_plugin_show = "/#{@site_locale}#{page.url}/#{slug}" rescue "#" end def self.set_widget_item_url(widget) diff --git a/app/templates/orbit_bootstrap/modules/personal_conference/index.html.erb b/app/templates/orbit_bootstrap/modules/personal_conference/index.html.erb new file mode 100644 index 0000000..8e925eb --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/personal_conference/index.html.erb @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + +

{{widget-title}}

{{th_year}}{{th_title}}{{th_author}}
{{year}}{{paper_title}}{{author}}
+{{pagination_goes_here}} \ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/personal_conference/show.html.erb b/app/templates/orbit_bootstrap/modules/personal_conference/show.html.erb new file mode 100644 index 0000000..9d0a1c1 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/personal_conference/show.html.erb @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{{td_paper_title}}{{paper_title}}
{{td_authors}}{{authors}}
{{td_paper_type}} +
    +
  • {{paper_type}}
  • +
+
{{td_author_type}} +
    +
  • {{author_type}}
  • +
+
{{td_paper_level}} +
    +
  • {{paper_level}}
  • +
+
{{td_year}}{{year}}
{{td_conference_title}}{{conference_title}}
{{td_sponsor}}{{sponsor}}
{{td_location}}{{location}}
{{td_duration}}{{period_start_date}} ~ {{period_end_date}}
{{td_publication_date}}{{publication_date}}
{{td_language}}{{language}}
{{td_isbn}}{{isbn}}
{{td_isi_number}}{{isi_number}}
{{td_url}}{{url}}
{{td_keywords}}{{keywords}}
{{td_abstract}}{{abstract}}
{{td_note}}{{note}}
{{td_files}} +
+
+ + {{file_title}} + {{file_ext}} - {{file_description}} +
+
+
diff --git a/app/templates/orbit_bootstrap/modules/personal_diploma/index.html.erb b/app/templates/orbit_bootstrap/modules/personal_diploma/index.html.erb new file mode 100644 index 0000000..07222e9 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/personal_diploma/index.html.erb @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + +

{{widget-title}}

{{th_member}}{{th_school_name}}{{th_degree}}{{th_duration}}
{{member}}{{school_name}}{{degree}}{{duration}}{{th_detail}}
+{{pagination_goes_here}} \ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/personal_diploma/show.html.erb b/app/templates/orbit_bootstrap/modules/personal_diploma/show.html.erb new file mode 100644 index 0000000..dc4c12d --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/personal_diploma/show.html.erb @@ -0,0 +1,12 @@ + + + + + + + + + + + +
{{th_duration}}{{duration}}
{{th_school_name}}{{school_name}}
{{th_country}}{{country}}
{{th_department}}{{department}}
{{th_language}}{{language}}
{{th_keywords}}{{keywords}}
{{th_url}}{{url}}
{{th_note}}{{note}}
diff --git a/app/templates/orbit_bootstrap/modules/personal_experience/index.html.erb b/app/templates/orbit_bootstrap/modules/personal_experience/index.html.erb new file mode 100644 index 0000000..55be226 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/personal_experience/index.html.erb @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + +

{{widget-title}}

{{th_member}}{{th_organizationt_title}}{{th_department}}{{th_duration}}
{{member}}{{organizationt_title}}{{department}}{{duration}}{{th_detail}}
+{{pagination_goes_here}} \ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/personal_experience/show.html.erb b/app/templates/orbit_bootstrap/modules/personal_experience/show.html.erb new file mode 100644 index 0000000..a43861f --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/personal_experience/show.html.erb @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +
{{th_organizationt_title}}{{organizationt_title}}
{{th_department}}{{department}}
{{th_job_title}}{{job_title}}
{{th_experience_type}}{{experience_type}}
{{th_language}}{{language}}
{{th_start_date}}{{start_date}}
{{th_end_date}}{{end_date}}
{{th_duration}}{{duration}}
{{th_keywords}}{{keywords}}
{{th_url}}{{url}}
{{th_note}}{{note}}
diff --git a/app/templates/orbit_bootstrap/modules/personal_honor/index.html.erb b/app/templates/orbit_bootstrap/modules/personal_honor/index.html.erb new file mode 100644 index 0000000..1c42b15 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/personal_honor/index.html.erb @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + +

{{widget-title}}

{{th_year}}{{th_award_name}}{{th_awarding_unit}}{{th_award_winner}}
{{year}}{{award_name}}{{awarding_unit}}{{award_winner}}{{th_detail}}
+{{pagination_goes_here}} \ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/personal_honor/show.html.erb b/app/templates/orbit_bootstrap/modules/personal_honor/show.html.erb new file mode 100644 index 0000000..52b4ab3 --- /dev/null +++ b/app/templates/orbit_bootstrap/modules/personal_honor/show.html.erb @@ -0,0 +1,12 @@ + + + , + + + + + + + + +
{{th_year}}{{year}}
{{th_honor_type}}{{honor_type}}
{{th_award_name}}{{award_name}}
{{th_awarding_unit}}{{awarding_unit}}
{{th_language}}{{language}}
{{th_keywords}}{{keywords}}
{{th_url}}{{url}}
{{th_note}}{{note}}