{% extends 'base.html.twig' %} {% block title %}OceanExpert - A Directory of Marine and Freshwater Professionals{% endblock %} {% block stylesheets %} {% endblock %} {% block body %} {% include('navbarlogin.html.twig') %}
{% if institute.idInst is defined and institute.idInst | trim != "" %}

OceanExpert ID : {{ institute.idInst }}

{% endif %}

{{ institute.instName }}
{% if institute.acronym is defined and institute.acronym != "" %} {{ institute.acronym }} {% endif %}

{% if institute.instNameEng is defined and institute.instNameEng != "" %}

({{ institute.instNameEng }})

{% endif %} {% if (app.user is not null and ((institute.createdId is defined and institute.createdId == app.user.id) or (institute.lastEditId is defined and institute.lastEditId == app.user.id)) ) or is_granted('ROLE_GLOBAL_EDITOR') %}
{% if is_granted('ROLE_GLOBAL_EDITOR') %} {% if institute.activated is defined and institute.activated == 0 %} {% elseif institute.activated is defined and institute.activated == 1 %} {% elseif institute.activated is defined and institute.activated == 2 %} {% endif %} {% endif %} Edit Institute
{% endif %}
Address
{{ institute.address |raw }}
{% if institute.insttypeName is defined and institute.insttypeName != "" %}
Type

{{ institute.insttypeName }}

{% endif %} {% if institute.instEmail is defined and institute.instEmail != "" %}
Email {% if app.user.email is defined %}

{{ institute.instEmail }}

{% else %}

Please login to view email.

{% endif %} {% endif %} {% if institute.instTel is defined and institute.instTel != "" %}
Telephone

{{ institute.instTel }}

{% endif %} {% if institute.instFax is defined and institute.instFax != "" %}
Fax

{{ institute.instFax }}

{% endif %}
{% if institute.parentIdInst is defined and institute.parentIdInst != "" and institute.parentIdInst != 0 %}
Parent institute {% if institute.parentInstLogo is defined and institute.parentInstLogo != "" %} {% set instUrl = asset('uploads/institutes/'~institute.parentIdInst~'/'~institute.parentInstLogo) %} {% else %} {% set instUrl = asset('assets/uploads/institute.png') %} {% endif %}
Institution Logo

{{ institute.parentInstName }}
{{ institute.parentAcronym }}
({{ institute.parentInstNameEng }})

{% endif %}
{% if (institute.instUrl is defined and institute.instUrl != "") or (institute.edmoCode is defined and institute.edmoCode != "") or (institute.seaRegions is defined and institute.seaRegions | length > 0) or (institute.activities is defined and institute.activities != "") %}
{% if institute.instUrl is defined and institute.instUrl != "" %} Website

{{ institute.instUrl }}

{% endif %} {% if institute.edmoCode is defined and institute.edmoCode != "" %}
EDMO code

{{ institute.edmoCode }}

{% endif %} {% if institute.seaRegions is defined and institute.seaRegions | length > 0 %}
Sea Region of study

{% for seaRegion in institute.seaRegions %} {{ seaRegion.name }}
{% endfor %}

{% endif %} {% if institute.activities is defined and institute.activities != "" %}
Activities

{{ institute.activities|raw }}

{% endif %}
{% endif %} {% if members.getTotalItemCount > 0 %}
Associated Experts
Displaying {{ members.getPaginationData.firstItemNumber }} – {{ members.getPaginationData.lastItemNumber }} results of {{ members.getTotalItemCount }}.
Show Records
{{ knp_pagination_render(members) }}
{% for item in members %}
User profile picture

{{ item.fname | raw | title }} {{ item.sname | raw | upper }} {% if item.qualityChecked == 1 %} {% endif %} {% if item.retired == 1 %} Retired {% endif %} {% if item.deceased == 1 %} Deceased {% endif %}
{% if item.jobtitle != "" %} {{ item.jobtitle }} {% endif %}

{% endfor %}

{{ knp_pagination_render(members) }}
{% endif %} {% if childinstitutes.getTotalItemCount > 0 %}
Child Institutes
Displaying {{ childinstitutes.getPaginationData.firstItemNumber }} – {{ childinstitutes.getPaginationData.lastItemNumber }} results of {{ childinstitutes.getTotalItemCount }}.
Show Records
{{ knp_pagination_render(childinstitutes) }}
{% for item in childinstitutes %} {% if item.instLogo is defined and item.instLogo != "" %} {% set instUrl = asset('uploads/institutes/'~item.idInst~'/'~item.instLogo) %} {% else %} {% set instUrl = asset('assets/uploads/institute.png') %} {% endif %}
Institution Logo

{{ item.instName }}
{{ item.acronym }}
({{ item.instNameEng }})

{% endfor %}

{{ knp_pagination_render(childinstitutes) }}
{% endif %} {% if childmembers.getTotalItemCount > 0 %}
Associated Experts from Child Institutes
Displaying {{ childmembers.getPaginationData.firstItemNumber }} – {{ childmembers.getPaginationData.lastItemNumber }} results of {{ childmembers.getTotalItemCount }}.
Show Records
{{ knp_pagination_render(childmembers) }}
{% for item in childmembers %}
Institution Logo

{{ item.fname | raw | title }} {{ item.sname | raw | upper }} {% if item.qualityChecked == 1 %} {% endif %} {% if item.retired == 1 %} Retired {% endif %} {% if item.deceased == 1 %} Deceased{% endif %}
{% if item.jobtitle != "" %}{{ item.jobtitle }}
{% endif %} {{ item.instName }}

{% endfor %}

{{ knp_pagination_render(childmembers) }}
{% endif %}
{% if institute.fDateEntered is defined and institute.fDateEntered != "" %} Created: {{ institute.fDateEntered|date('Y-m-d') }} {% if institute.createdBy is defined and institute.createdBy != "" %} by {{ institute.createdBy }} {% endif %} | {% endif %} {% if institute.lDateUpdated is defined and institute.lDateUpdated != "" %} Last Updated: {{ institute.lDateUpdated|date('Y-m-d') }} {% endif %} {% if institute.lastEditBy is defined and institute.lastEditBy != "" %} by {{ institute.lastEditBy }} {% endif %}
{% include('footer.html.twig') %} {% endblock %}