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
bb7b9316
Commit
bb7b9316
authored
3 years ago
by
Igor Biki
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-4818: Removing wrapping section tag.
parent
5651765b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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
+110
-112
110 additions, 112 deletions
source/_patterns/03-layouts/ofis/ofis.twig
with
110 additions
and
112 deletions
source/_patterns/03-layouts/ofis/ofis.twig
+
110
−
112
View file @
bb7b9316
<section
class=
"layout layout--uw-1-col"
>
<div
id=
"profile-check"
>
<div
class=
"field field-name-field-profile-title field-type-text field-label-hidden"
>
<div
class=
"field-items"
>
<div
class=
"field-item even"
property=
"schema:jobTitle"
>
{{
ofis_data.title
}}
</div>
</div>
<div
class=
"profile-check"
>
<div
class=
"field field-name-field-profile-title field-type-text field-label-hidden"
>
<div
class=
"field-items"
>
<div
class=
"field-item even"
property=
"schema:jobTitle"
>
{{
ofis_data.title
}}
</div>
</div>
<div
class=
"field field-name-body field-type-text-with-summary field-label-hidden"
>
<div
class=
"field-items"
>
<div
class=
"field-item even"
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>
<div
class=
"field field-name-body field-type-text-with-summary field-label-hidden"
>
<div
class=
"field-items"
>
<div
class=
"field-item even"
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
%}
<h2>
Graduate studies
</h2>
<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>
{%
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
%}
{%
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>
</div>
</
section
>
</
div
>
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