Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_gesso
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_gesso
Commits
c52e22b8
Commit
c52e22b8
authored
3 years ago
by
Kevin Paxman
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-4818: undo some divitis
parent
67e166ee
No related branches found
No related tags found
2 merge requests
!63
Tag 3.0.1
,
!58
Feature/istwcms 4818 ibiki ofis module
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/_patterns/03-layouts/ofis/ofis.twig
+93
-117
93 additions, 117 deletions
source/_patterns/03-layouts/ofis/ofis.twig
with
93 additions
and
117 deletions
source/_patterns/03-layouts/ofis/ofis.twig
+
93
−
117
View file @
c52e22b8
<div>
<div>
<div>
<div
property=
"schema:jobTitle"
>
{{
ofis_data.title
}}
</div>
<div
property=
"schema:jobTitle"
>
{{
ofis_data.title
}}
</div>
<div
class=
"ofis-header"
>
{%
if
ofis_data.picture
%}
<div
class=
"ofis-picture"
>
<img
alt=
"
{{
ofis_data.name
}}
"
class=
"image-left"
src=
"
{{
ofis_data.picture
}}
"
>
</div>
</div>
{%
endif
%}
<div>
<div>
<div
property=
"content:encoded"
>
<div
class=
"ofis-header"
>
{%
if
ofis_data.picture
%}
<div
class=
"ofis-picture"
>
<img
alt=
"
{{
ofis_data.name
}}
"
class=
"image-left"
src=
"
{{
ofis_data.picture
}}
"
>
</div>
{%
endif
%}
<div>
<h2>
Contact information
</h2>
{%
if
ofis_data.personal.email
%}
<div>
Email:
<a
href=
"mailto:
{{
ofis_data.personal.email
}}
"
>
{{
ofis_data.personal.email
}}
</a></div>
{%
endif
%}
{%
if
ofis_data.personal.phones
%}
<div>
Phone:
{{
ofis_data.personal.phones
}}
</div>
{%
endif
%}
{%
if
ofis_data.personal.offices
%}
<div>
Location:
{{
ofis_data.personal.offices
}}
</div>
{%
endif
%}
{%
if
ofis_data.personal.fax
%}
<div>
Fax:
{{
ofis_data.personal.fax
}}
</div>
{%
endif
%}
</div>
</div>
{%
if
ofis_data.personal.webpages_formatted
%}
<h2>
Website
</h2>
{%
for
ws
in
ofis_data.personal.webpages_formatted
%}
{{
ws
|
raw
}}
<br/>
{%
endfor
%}
{%
endif
%}
{%
if
ofis_data.biography
%}
<h2>
Biography summary
</h2>
<div><p>
{{
ofis_data.biography
|
raw
}}
</p></div>
{%
endif
%}
{%
if
ofis_data.personal.expertise_keywords
%}
<h2>
Research interests
</h2>
<div>
<ul>
{%
for
keyword
in
ofis_data.personal.expertise_keywords
%}
<li>
{{
keyword
}}
</li>
{%
endfor
%}
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.education
%}
<h2>
Education
</h2>
<div>
<ul>
{%
for
degree
in
ofis_data.education
%}
<li>
{{
degree.degree_yr
}}
,
{{
degree.degree_name
}}
,
{{
degree.name_of_discipline
}}
,
{{
degree.institution
}}
</li>
{%
endfor
%}
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.courses
%}
<h2>
Courses*
</h2>
<div>
<ul>
{%
for
course
in
ofis_data.courses
%}
<li>
{{
course.subject
}}
{{
course.num
}}
-
{{
course.title
|
raw
}}
</li>
{%
endfor
%}
</ul>
<small>
* Only courses taught in the past 5 years are displayed.
</small>
</div>
{%
endif
%}
{%
if
ofis_data.contribution
%}
<h2>
Selected/recent publications
</h2>
<div>
<ul>
{%
for
pub
in
ofis_data.contribution
%}
<li>
{{
pub.value
}}
<br/>
{{
pub.url
|
raw
}}
</li>
{%
endfor
%}
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.news
%}
<h2>
In the news
</h2>
<div>
<ul>
{%
for
entry
in
ofis_data.news
%}
{%
if
entry.article_title
%}
<li><a
href=
"
{{
entry.url
}}
"
>
{{
entry.article_title
}}
</a></li>
{%
else
%}
<li><a
href=
"
{{
entry.url
}}
"
>
{{
entry.url
}}
</a></li>
{%
endif
%}
{%
endfor
%}
</ul>
</div>
{%
endif
%}
<h2>
Graduate studies
</h2>
<div>
<ul>
{%
if
ofis_data.personal.accepting_grad_students
%}
<li>
Currently considering applications from graduate students. A completed online application is
required
for admission;
<a
href=
"https://uwaterloo.ca/graduate-studies-postdoctoral-affairs/future-students/applying-graduate-school/before-you-apply"
>
start the application process now.
</a>
</li>
{%
else
%}
<li>
Not currently accepting applications for graduate students
</li>
{%
endif
%}
{%
if
ofis_data.personal.adds_status
%}
<li>
Has
<a
href=
"https://uwaterloo.ca/engineering/approved-doctoral-dissertation-supervisor-status"
>
Approved
Doctoral Dissertation Supervisor
</a>
(ADDS) status
</li>
{%
endif
%}
</ul>
</div>
</div>
</div>
<h2>
Contact information
</h2>
{%
if
ofis_data.personal.email
%}
<div>
Email:
<a
href=
"mailto:
{{
ofis_data.personal.email
}}
"
>
{{
ofis_data.personal.email
}}
</a></div>
{%
endif
%}
{%
if
ofis_data.personal.phones
%}
<div>
Phone:
{{
ofis_data.personal.phones
}}
</div>
{%
endif
%}
{%
if
ofis_data.personal.offices
%}
<div>
Location:
{{
ofis_data.personal.offices
}}
</div>
{%
endif
%}
{%
if
ofis_data.personal.fax
%}
<div>
Fax:
{{
ofis_data.personal.fax
}}
</div>
{%
endif
%}
</div>
</div>
{%
if
ofis_data.personal.webpages_formatted
%}
<h2>
Website
</h2>
{%
for
ws
in
ofis_data.personal.webpages_formatted
%}
{{
ws
|
raw
}}
<br/>
{%
endfor
%}
{%
endif
%}
{%
if
ofis_data.biography
%}
<h2>
Biography summary
</h2>
<p>
{{
ofis_data.biography
|
raw
}}
</p>
{%
endif
%}
{%
if
ofis_data.personal.expertise_keywords
%}
<h2>
Research interests
</h2>
<ul>
{%
for
keyword
in
ofis_data.personal.expertise_keywords
%}
<li>
{{
keyword
}}
</li>
{%
endfor
%}
</ul>
{%
endif
%}
{%
if
ofis_data.education
%}
<h2>
Education
</h2>
<ul>
{%
for
degree
in
ofis_data.education
%}
<li>
{{
degree.degree_yr
}}
,
{{
degree.degree_name
}}
,
{{
degree.name_of_discipline
}}
,
{{
degree.institution
}}
</li>
{%
endfor
%}
</ul>
{%
endif
%}
{%
if
ofis_data.courses
%}
<h2>
Courses*
</h2>
<ul>
{%
for
course
in
ofis_data.courses
%}
<li>
{{
course.subject
}}
{{
course.num
}}
-
{{
course.title
|
raw
}}
</li>
{%
endfor
%}
</ul>
<small>
* Only courses taught in the past 5 years are displayed.
</small>
{%
endif
%}
{%
if
ofis_data.contribution
%}
<h2>
Selected/recent publications
</h2>
<ul>
{%
for
pub
in
ofis_data.contribution
%}
<li>
{{
pub.value
}}
<br/>
{{
pub.url
|
raw
}}
</li>
{%
endfor
%}
</ul>
{%
endif
%}
{%
if
ofis_data.news
%}
<h2>
In the news
</h2>
<ul>
{%
for
entry
in
ofis_data.news
%}
{%
if
entry.article_title
%}
<li><a
href=
"
{{
entry.url
}}
"
>
{{
entry.article_title
}}
</a></li>
{%
else
%}
<li><a
href=
"
{{
entry.url
}}
"
>
{{
entry.url
}}
</a></li>
{%
endif
%}
{%
endfor
%}
</ul>
{%
endif
%}
<h2>
Graduate studies
</h2>
<ul>
{%
if
ofis_data.personal.accepting_grad_students
%}
<li>
Currently considering applications from graduate students. A completed online application is
required
for admission;
<a
href=
"https://uwaterloo.ca/graduate-studies-postdoctoral-affairs/future-students/applying-graduate-school/before-you-apply"
>
start the application process now.
</a>
</li>
{%
else
%}
<li>
Not currently accepting applications for graduate students
</li>
{%
endif
%}
{%
if
ofis_data.personal.adds_status
%}
<li>
Has
<a
href=
"https://uwaterloo.ca/engineering/approved-doctoral-dissertation-supervisor-status"
>
Approved
Doctoral Dissertation Supervisor
</a>
(ADDS) status
</li>
{%
endif
%}
</ul>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment