forked from saurabh/orbit4-5
Frontend for personal_conference, personal_diploma, personal_experience, personal_honor
This commit is contained in:
parent
d2a3f428ae
commit
ca804719b1
|
@ -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)
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<table class="table table-hover table-striped writing-conferences-index">
|
||||
<caption><h3>{{widget-title}}</h3></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-md-1">{{th_year}}</th>
|
||||
<th class="col-md-9">{{th_title}}</th>
|
||||
<th class="col-md-2">{{th_author}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr data-level="0" data-list="writing_conferences">
|
||||
<td>{{year}}</td>
|
||||
<td><a href="{{link_to_show}}">{{paper_title}}</a></td>
|
||||
<td>{{author}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{pagination_goes_here}}
|
|
@ -0,0 +1,55 @@
|
|||
<table class="table table-striped writing-conferences-show">
|
||||
<tbody>
|
||||
<tr><th class="col-md-2">{{td_paper_title}}</th><td>{{paper_title}}</td></tr>
|
||||
<tr><th>{{td_authors}}</th><td>{{authors}}</td></tr>
|
||||
<tr>
|
||||
<th>{{td_paper_type}}</th>
|
||||
<td>
|
||||
<ul data-list="paper_types" data-level="0">
|
||||
<li>{{paper_type}}</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{td_author_type}}</th>
|
||||
<td>
|
||||
<ul data-list="author_types" data-level="0">
|
||||
<li>{{author_type}}</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{{td_paper_level}}</th>
|
||||
<td>
|
||||
<ul data-list="paper_levels" data-level="0">
|
||||
<li>{{paper_level}}</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><th>{{td_year}}</th><td>{{year}}</td></tr>
|
||||
<tr><th>{{td_conference_title}}</th><td>{{conference_title}}</td></tr>
|
||||
<tr><th>{{td_sponsor}}</th><td>{{sponsor}}</td></tr>
|
||||
<tr><th>{{td_location}}</th><td>{{location}}</td></tr>
|
||||
<tr><th>{{td_duration}}</th><td>{{period_start_date}} ~ {{period_end_date}}</td></tr>
|
||||
<tr><th>{{td_publication_date}}</th><td>{{publication_date}}</td></tr>
|
||||
<tr><th>{{td_language}}</th><td>{{language}}</td></tr>
|
||||
<tr><th>{{td_isbn}}</th><td>{{isbn}}</td></tr>
|
||||
<tr><th>{{td_isi_number}}</th><td>{{isi_number}}</td></tr>
|
||||
<tr><th>{{td_url}}</th><td><a href="{{url}}">{{url}}</a></td></tr>
|
||||
<tr><th>{{td_keywords}}</th><td>{{keywords}}</td></tr>
|
||||
<tr><th>{{td_abstract}}</th><td>{{abstract}}</td></tr>
|
||||
<tr><th>{{td_note}}</th><td>{{note}}</td></tr>
|
||||
<tr>
|
||||
<th>{{td_files}}</th>
|
||||
<td>
|
||||
<div data-list="files" data-level="0">
|
||||
<div>
|
||||
<i class="fa fa-fw fa-paperclip"></i>
|
||||
<a href="{{file_url}}">{{file_title}}</a>
|
||||
<span class="label label-primary">{{file_ext}}</span> - {{file_description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
|
@ -0,0 +1,22 @@
|
|||
<table class="table table-hover table-striped writing-conferences-index">
|
||||
<caption><h3>{{widget-title}}</h3></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-md-2">{{th_member}}</th>
|
||||
<th class="col-md-3">{{th_school_name}}</th>
|
||||
<th class="col-md-2">{{th_degree}}</th>
|
||||
<th class="col-md-3">{{th_duration}}</th>
|
||||
<th class="col-md-2"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr data-level="0" data-list="diplomas">
|
||||
<td>{{member}}</td>
|
||||
<td>{{school_name}}</td>
|
||||
<td>{{degree}}</td>
|
||||
<td>{{duration}}</td>
|
||||
<th><a href="{{link_to_show}}">{{th_detail}}</a></th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{pagination_goes_here}}
|
|
@ -0,0 +1,12 @@
|
|||
<table class="table table-striped diplomas-show">
|
||||
<tbody>
|
||||
<tr><th>{{th_duration}}</th><td>{{duration}}</td></tr>
|
||||
<tr><th>{{th_school_name}}</th><td>{{school_name}}</td></tr>
|
||||
<tr><th>{{th_country}}</th><td>{{country}}</td></tr>
|
||||
<tr><th>{{th_department}}</th><td>{{department}}</td></tr>
|
||||
<tr><th>{{th_language}}</th><td>{{language}}</td></tr>
|
||||
<tr><th>{{th_keywords}}</th><td>{{keywords}}</td></tr>
|
||||
<tr><th>{{th_url}}</th><td><a href="{{url}}">{{url}}</a></td></tr>
|
||||
<tr><th>{{th_note}}</th><td>{{note}}</td></tr>
|
||||
</tbody>
|
||||
</table>
|
|
@ -0,0 +1,22 @@
|
|||
<table class="table table-hover table-striped writing-conferences-index">
|
||||
<caption><h3>{{widget-title}}</h3></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-md-2">{{th_member}}</th>
|
||||
<th class="col-md-3">{{th_organizationt_title}}</th>
|
||||
<th class="col-md-2">{{th_department}}</th>
|
||||
<th class="col-md-3">{{th_duration}}</th>
|
||||
<th class="col-md-2"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr data-level="0" data-list="experiences">
|
||||
<td>{{member}}</td>
|
||||
<td>{{organizationt_title}}</td>
|
||||
<td>{{department}}</td>
|
||||
<td>{{duration}}</td>
|
||||
<th><a href="{{link_to_show}}">{{th_detail}}</a></th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{pagination_goes_here}}
|
|
@ -0,0 +1,15 @@
|
|||
<table class="table table-striped experience-show">
|
||||
<tbody>
|
||||
<tr><th>{{th_organizationt_title}}</th><td>{{organizationt_title}}</td></tr>
|
||||
<tr><th>{{th_department}}</th><td>{{department}}</td></tr>
|
||||
<tr><th>{{th_job_title}}</th><td>{{job_title}}</td></tr>
|
||||
<tr><th>{{th_experience_type}}</th><td>{{experience_type}}</td></tr>
|
||||
<tr><th>{{th_language}}</th><td>{{language}}</td></tr>
|
||||
<tr><th>{{th_start_date}}</th><td>{{start_date}}</td></tr>
|
||||
<tr><th>{{th_end_date}}</th><td>{{end_date}}</td></tr>
|
||||
<tr><th>{{th_duration}}</th><td>{{duration}}</td></tr>
|
||||
<tr><th>{{th_keywords}}</th><td>{{keywords}}</td></tr>
|
||||
<tr><th>{{th_url}}</th><td><a href="{{url}}">{{url}}</a></td></tr>
|
||||
<tr><th>{{th_note}}</th><td>{{note}}</td></tr>
|
||||
</tbody>
|
||||
</table>
|
|
@ -0,0 +1,22 @@
|
|||
<table class="table table-hover table-striped writing-conferences-index">
|
||||
<caption><h3>{{widget-title}}</h3></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-md-2">{{th_year}}</th>
|
||||
<th class="col-md-3">{{th_award_name}}</th>
|
||||
<th class="col-md-2">{{th_awarding_unit}}</th>
|
||||
<th class="col-md-3">{{th_award_winner}}</th>
|
||||
<th class="col-md-2"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr data-level="0" data-list="honors">
|
||||
<td>{{year}}</td>
|
||||
<td>{{award_name}}</td>
|
||||
<td>{{awarding_unit}}</td>
|
||||
<td>{{award_winner}}</td>
|
||||
<th><a href="{{link_to_show}}">{{th_detail}}</a></th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{pagination_goes_here}}
|
|
@ -0,0 +1,12 @@
|
|||
<table class="table table-striped experience-show">
|
||||
<tbody>
|
||||
<tr><th>{{th_year}}</th><td>{{year}}</td></tr>,
|
||||
<tr><th>{{th_honor_type}}</th><td>{{honor_type}}</td></tr>
|
||||
<tr><th>{{th_award_name}}</th><td>{{award_name}}</td></tr>
|
||||
<tr><th>{{th_awarding_unit}}</th><td>{{awarding_unit}}</td></tr>
|
||||
<tr><th>{{th_language}}</th><td>{{language}}</td></tr>
|
||||
<tr><th>{{th_keywords}}</th><td>{{keywords}}</td></tr>
|
||||
<tr><th>{{th_url}}</th><td><a href="{{url}}">{{url}}</a></td></tr>
|
||||
<tr><th>{{th_note}}</th><td>{{note}}</td></tr>
|
||||
</tbody>
|
||||
</table>
|
Loading…
Reference in New Issue