Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_ohana
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
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_ohana
Merge requests
!61
ISTWCMS-5618: New OFIS ohana template/profile.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ISTWCMS-5618: New OFIS ohana template/profile.
feature/ISTWCMS-5618-ibiki-ofis-updates
into
1.0.x
Overview
0
Commits
4
Pipelines
0
Changes
1
Merged
Igor Biki
requested to merge
feature/ISTWCMS-5618-ibiki-ofis-updates
into
1.0.x
2 years ago
Overview
0
Commits
4
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
a2b590d5
Prev
Next
Show latest version
1 file
+
34
−
24
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a2b590d5
ISTWCMS-5618: Update to a new ofis profile template.
· a2b590d5
Igor Biki
authored
2 years ago
src/patterns/03-layouts/ofis/ofis-profile.twig
+
34
−
24
Options
@@ -19,10 +19,10 @@
<div>
Phone:
{{
ofis_data.profile.profile_phones
}}
</div>
{%
endif
%}
{%
if
ofis_data.profile.personal_url
%}
<div>
Personal Website:
{{
ofis_data.profile.personal_url
|
striptags
(
'<a>'
)
|
raw
}}
</div>
<div>
<a
href=
"
{{
ofis_data.profile.personal_url
}}
"
>
{{
ofis_data.profile.personal_url_title
}}
</a>
</div>
{%
endif
%}
{%
if
ofis_data.profile.lab_url
%}
<div>
Lab/Research Website:
{{
ofis_data.profile.lab_url
|
striptags
(
'<a>'
)
|
raw
}}
</div>
<div>
<a
href=
"
{{
ofis_data.profile.lab_url
}}
"
>
{{
ofis_data.profile.lab_url_title
}}
</a>
</div>
{%
endif
%}
{%
if
ofis_data.profile.active
%}
<div>
Status:
{{
ofis_data.profile.active
}}
</div>
@@ -34,7 +34,7 @@
</div>
{%
if
ofis_data.profile.profile_bio
%}
<h2>
Biography
</h2>
<div>
{{
ofis_data.profile.profile_bio
|
raw
}}
</div>
<div>
{{
ofis_data.profile.profile_bio
|
nl2br
}}
</div>
{%
endif
%}
{%
if
ofis_data.profile.research
%}
<h2>
Research Interests
</h2>
@@ -46,8 +46,18 @@
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.profile.education
%}
<h2>
Education
</h2>
<div>
<ul>
{%
for
edu
in
ofis_data.profile.education
%}
<li>
{{
edu
}}
</li>
{%
endfor
%}
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.profile.awards
%}
<h2>
Awards
&
Distinctions
</h2>
<h2>
Awards
</h2>
<div>
<ul>
{%
for
award
in
ofis_data.profile.awards
%}
@@ -56,41 +66,41 @@
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.profile.
education
%}
<h2>
Education
</h2>
{%
if
ofis_data.profile.
service
%}
<h2>
Service
</h2>
<div>
<ul>
{%
for
edu
in
ofis_data.profile.
education
%}
<li>
{{
edu
}}
</li>
{%
for
service
in
ofis_data.profile.
service
%}
<li>
{{
service
}}
</li>
{%
endfor
%}
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.profile.
service_assoc
%}
<h2>
Highlighted Service
&
Professional Associations
</h2>
{%
if
ofis_data.profile.
profassociations
%}
<h2>
Professional Associations
</h2>
<div>
<ul>
{%
for
service
in
ofis_data.profile.
service_assoc
%}
<li>
{{
service
}}
</li>
{%
for
association
in
ofis_data.profile.
profassociations
%}
<li>
{{
association
}}
</li>
{%
endfor
%}
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.profile.outreach
%}
<h2>
Affiliations
&
Volunteer Work
</h2>
{%
if
ofis_data.profile.outreach
or
ofis_data.profile.affiliations
%}
<h2>
Volunteer Work
</h2>
<div>
<ul>
<li>
{{
ofis_data.profile.outreach
|
join
(
', '
)
}}
</li>
{%
if
ofis_data.profile.affiliations
%}
{%
for
affiliations
in
ofis_data.profile.affiliations
%}
<li>
{{
affiliations
}
}
</li>
{%
endfor
%}
{%
end
i
f
%}
{%
for
outreach
in
ofis_data.profile.outreach
%}
<li>
{{
outreach
}}
</li>
{%
end
for
%}
{%
for
affiliations
in
ofis_data.profile.
affiliations
%
}
<li>
{{
affiliations
}}
</li>
{%
endf
or
%}
</ul>
</div>
{%
endif
%}
{%
if
ofis_data.profile.courses
%}
<h2>
Courses/Teaching*
</h2>
<h2>
Teaching
<sup>
*
</sup>
</h2>
<div>
<ul>
{%
for
course
in
ofis_data.profile.courses
%}
@@ -147,10 +157,10 @@
{%
else
%}
<li>
Not currently accepting applications for graduate students
</li>
{%
endif
%}
{%
if
ofis_data.p
ersonal
.adds
%}
{%
if
ofis_data.p
rofile
.adds
%}
<li>
Has
<a
href=
"https://uwaterloo.ca/graduate-studies-postdoctoral-affairs/about/organization-graduate-studies#ADDS"
>
Approved
Doctoral Dissertation Supervisor
</a>
(ADDS) status
href=
"https://uwaterloo.ca/graduate-studies-postdoctoral-affairs/about/organization-graduate-studies#ADDS"
>
Approved
Doctoral Dissertation Supervisor
</a>
(ADDS) status
</li>
{%
endif
%}
</ul>
Loading