1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-25 01:20:10 +00:00

Introduce affiliation section.

This commit is contained in:
hacksalot 2016-01-20 09:12:53 -05:00
parent 9bf5d43f87
commit eb0d731d55
9 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,68 @@
<wx:sub-section>
{{#> header-affiliation }}
{{> header-simple _title="AFFILIATION" _section="affiliation" }}
{{/header-affiliation}}
{{#each r.affiliation.history}}
<wx:sub-section>
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA" wsp:rsidRDefault="00606071" wsp:rsidP="00E578D4">
<w:pPr>
<w:pStyle w:val="Heading2"/>
<w:tabs>
<w:tab w:val="right" w:pos="9360"/>
</w:tabs>
</w:pPr>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>{{ role }}, </w:t>
</w:r>
{{#if url}}<w:hlink w:dest="{{{ url }}}">{{/if}}
<w:r wsp:rsidR="009452CA" wsp:rsidRPr="00606071">
{{#if url}}
<w:rPr>
<w:rStyle w:val="Hyperlink"/>
</w:rPr>
{{/if}}
<w:t>{{ organization }}</w:t>
</w:r>
{{#if url}}</w:hlink>{{/if}}
<w:r wsp:rsidR="00EA0B64">
<w:tab/>
</w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>{{dateRange . 'MMM YYYY'}}</w:t>
</w:r>
</w:p>
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
<w:pPr>
<w:rPr>
<w:sz-cs w:val="20"/>
</w:rPr>
</w:pPr>
{{{wpml summary true}}}
</w:p>
{{#each highlights }}
<w:p wsp:rsidR="00C146CA" wsp:rsidRDefault="009452CA" wsp:rsidP="00C146CA">
<w:pPr>
<w:pStyle w:val="ListParagraph"/>
<w:listPr>
<w:ilvl w:val="0"/>
<w:ilfo w:val="1"/>
<wx:t wx:val="•"/>
<wx:font wx:val="Calibri"/>
</w:listPr>
<w:rPr>
<w:sz-cs w:val="20"/>
</w:rPr>
</w:pPr>
{{{wpml this true}}}
</w:p>
{{/each}}
</wx:sub-section>
{{/each}}
</wx:sub-section>

View File

@ -0,0 +1,26 @@
{{#section "affiliation"}}
<hr>
<section id="affiliation">
{{#> header-affiliation }}
{{> header-icon _title="AFFILIATION" _section="affiliation" _hdricon=(lookup . '_icon') }}
{{/header-affiliation}}
{{#each r.affiliation.history}}
{{#> body-affiliation }}
<div>
<h3><em>{{ role }}</em>,
{{#if url }}
<a href="{{{ url }}}">{{ organization }}</a>
{{else}}
{{ organization }}
{{/if}}
</h3>
<span class="tenure">{{dateRange .}}</span>
{{{ summary }}}
{{> highlights }}
{{#if keywords}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>{{/if}}
</div>
{{/body-affiliation}}
{{/each}}
</section>
{{/section}}

View File

@ -0,0 +1,19 @@
{{#section "affiliation"}}
## {{{sectionTitle "AFFILIATION"}}}
{{#each r.affiliation.history }}
{{#if url}}
### *{{{ role }}}*, [{{{ organization }}}]({{{ url }}}) ({{dateRange .}})
{{else}}
### *{{{ role }}}*, {{{ organization }}} ({{dateRange .}})
{{/if}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ . }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}

View File

@ -0,0 +1,14 @@
{{#section "affiliation"}}
{{{sectionTitle "AFFILIATION"}}} --------------------------------------------------------------------
{{#each r.affiliation.history }}
{{#if role}}{{{ role }}}, {{/if}}{{{ organization }}} ({{dateRange .}})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}

View File

@ -41,6 +41,8 @@
{{> section/education }}
{{> section/affiliation }}
{{> section/service }}
{{> section/samples }}

View File

@ -14,6 +14,8 @@
{{> section/education }}
{{> section/affiliation }}
{{> section/samples }}
{{> section/writing }}

View File

@ -41,6 +41,8 @@
{{> section/education }}
{{> section/affiliation }}
{{> section/service }}
{{> section/samples }}

View File

@ -14,6 +14,8 @@
{{> section/education }}
{{> section/affiliation }}
{{> section/samples }}
{{> section/writing }}

View File

@ -284,6 +284,7 @@ also doesn't render any content.
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
{{#*inline "icon-affiliation"}}<span class="fa fa-lg fa-share-alt"></span>{{/inline}}
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
{{#*inline "icon-reading"}}<span class="fa fa-lg fa-book"></span>{{/inline}}
@ -299,6 +300,7 @@ also doesn't render any content.
{{> section/education _icon="icon-education"}}
{{> section/service _icon="icon-service"}}
{{> section/affiliation _icon="icon-affiliation"}}
{{> section/samples _icon="icon-samples"}}
{{> section/writing _icon="icon-writing"}}
{{> section/reading _icon="icon-reading"}}