{% extends "::base.html.twig" %} {% block title 'Expert CV Details' %} {% block submenu %} {% if app.session.get('mode', '') == 'staff' %} {{ include('AlsuiteBackendBundle:BreadCrumbs:experts.html.twig') }} {% endif %} {% endblock %} {% block content %}

{{ expert.firstname ~ ' ' ~ expert.lastname }}

{% if app.session.get('mode') == 'staff' %} {% set whose = 2 %} {% else %} {% set whose = 1 %} {% endif %} {% set style = 'btn btn-sm btn-default btn-text-left btn-block' %} {# For new experts that have just joined the platform #} {% if new == '1' %}
Upload CV: You can upload your CV as a Word or PDF document. The uploads will be listed under Attachments.
Export CV: After you have entered your CV in the database, you can export it as a Word document in different formats (currently EU, GIZ, World Bank, KfW, and others will follow).
{% endif %}
{% if new == '1' %} Upload CV {% endif %}
{% if app.session.get('mode') == 'staff' %}
{% endif %}

Personal and Contact Information

Personal Information
{{ expert.getTitleLabel() ~ ' ' ~ expert.firstname ~ ' ' ~ expert.lastname }}
E-Mail: {{ expert.email }}
Mobile: {{ expert.phone }}
{{ expert.getCountryName() }}
{% if expert.street is not null %} {% endif %} {% if expert.city is not null %} {% endif %} {% if expert.address is not null %} {% endif %}
Additional Contact Information
{{ expert.street ~ ', ' ~ expert.streetNumber }}
{% if expert.zip is not null %}{{ expert.zip ~ ', ' }}{% endif %}{{ expert.city }}
{{ expert.address }}
Skype: {{ expert.skype }}
Fax: {{ expert.fax }}
Additional Personal Information
Nationality: {{ expert.getNationalityName }}
Date of Birth: {% if expert.dateOfBirth is not null %}{{ expert.dateOfBirth|date('d.m.Y') }}{% endif %}
Civil Status: {{ expert.getCivilStatusLabel() }}
Website:  {% if expert.website is not null %} Visit Website {% endif %}
Other Info:
{{ expert.notes }}
{#{% if app.session.get('mode') == 'staff' %}

Viewing data in {{ app.session.get('organname') }} space

Viewing data in the expert space.

{% endif %}#}
Education
{{ include('AlsuiteExpertsBundle:Education:education.html.twig', {'id': expert.id, 'educations': cv.education, 'imported': eduImported, 'changed': eduChanged}, with_context = false) }}
Publications
{{ include('AlsuiteExpertsBundle:Publication:publications.html.twig', {'id': expert.id, 'publications': cv.publications, 'imported': pubImported, 'changed': pubChanged}, with_context = false) }}
Trainings
{{ include('AlsuiteExpertsBundle:Training:training.html.twig', {'id': expert.id, 'trainings': cv.training, 'imported': trainImported, 'changed': trainChanged}, with_context = false) }}
Memberships
{{ include('AlsuiteExpertsBundle:Memberships:memberships.html.twig', {'id': expert.id, 'memberships': cv.memberships, 'imported': memImported, 'changed': memChanged}, with_context = false) }}
{#
Certifications
{{ include('AlsuiteExpertsBundle:Certifications:certifications.html.twig', {'id': expert.id, 'certifications': cv.memberships, 'imported': certImported, 'changed': certChanged}, with_context = false) }}
#}
Languages
{{ include('AlsuiteExpertsBundle:LanguagesKnown:languages.html.twig', {'id': expert.id, 'languages': cv.languages, 'imported': langImported, 'changed': langChanged}, with_context = false) }}
{% if app.session.get('mode', '') == 'staff' %}
Expert Category
{% if linkage is not null %} {% if linkage.category is not null %} {{ linkage.category.name }} {% else %} Not Specified {% endif %} {% endif %}
{% endif %}
Key Qualifications
{{ include('AlsuiteExpertsBundle:KeyQualifications:kqs.html.twig', {'id': expert.id, 'kqs': cv.kqs, 'imported': skillImported, 'changed': skillChanged}, with_context = false) }}
Skills
{{ include('AlsuiteExpertsBundle:Skills:skills.html.twig', {'id': expert.id, 'skills': cv.skills, 'imported': kqImported, 'changed': kqChanged}, with_context = false) }}
Extras
{{ include('AlsuiteExpertsBundle:Extras:extras.html.twig', {'id': expert.id, 'extras': cv.extras, 'imported': extraImported, 'changed': extraChanged}, with_context = false) }}
{% if app.session.get('mode') == 'staff' %}

Areas of Expertise

{{ include('AlsuiteExpertsBundle:Expert:expertise.html.twig', {'id': expert.id, 'expertises': cv.expertise}, with_context = false) }}
{% endif %}

Professional Experience

{{ include('AlsuiteExpertsBundle:Experience:experience.html.twig', {'id': expert.id, 'experience': cv.experience, 'imported': expImported, 'changed': expChanged}, with_context = false) }}

Attachments

{{ include('AlsuiteExpertsBundle:ExpertDoc:uploads.html.twig', {'id': expert.id, 'docs': cv.docs}, with_context = false) }}
{% if app.session.get('mode') == 'staff' %}
{% if message is null %} {% set note = constant('Alsuite\\ExpertsBundle\\Entity\\ExpertMessage::TYPE_NOTE') %} {% set email = constant('Alsuite\\ExpertsBundle\\Entity\\ExpertMessage::TYPE_EMAIL') %}
Add Note Send Email
{% for com in coms %} {% set project = com.project %} {% else %} {% endfor %}
TypeProjectSubject Last ContactLast UpdateProject Status
{{ com.getTypeLabel() }} {% if project is not null %} {{ project.name }} {% else %} Not Assigned {% endif %} {{ com.subject }} {{ com.getLastContactBy() }} {{ com.getLastContactOn()|date(date_format) }} {% if project is not null %} {{ project.getModeLabel() }} {% endif %}
There are currently no messages or notes.
{% else %}
Back to List
{% if message.project is not null %} {% set project = message.project %} {% else %} {% endif %}
{{ project.getModeLabel() }}

{{ message.subject }}

Project: {{ project.name }}, {{ project.getCountryName() }}

({{ message.counter ~ ' messages' }})

{{ message.subject }}

({{ message.counter ~ ' messages' }})
{% if message.isANote() %}
{{ message.addedOn|date(date_format) }}
{{ message.getTypeLabel() }}
Author: {{ message.addedBy.getFullname() }}

{{ message.details|raw }}
{% else %} {% for child in message.children %} {% endfor %}
  Write a Reply
{{ child.addedOn|date(date_format) }}
{{ child.getTypeLabel() }}
From: {% if child.addedBy is null %} {{ child.sender }} {% else %} {{ child.addedBy.fullname }} {% endif %}
Sent: {{ child.addedOn|date('d-M Y H:i:s') }}

{{ child.details|raw }} {% for doc in child.attachments %} {% set filepath = app.request.schemeAndHttpHost ~ '/uploads/' ~ doc.path %} {{ doc.name }}
{% endfor %}
{{ message.addedOn|date(date_format) }}
{{ message.getTypeLabel() }}
From: {{ message.addedBy.fullname }}
Sent: {{ message.addedOn|date('d-M Y H:i:s') }}

{{ message.details|raw }} {% for doc in message.attachments %} {% set filepath = app.request.schemeAndHttpHost ~ '/uploads/' ~ doc.path %} {{ doc.name }}
{% endfor %}
{% endif %} {% endif %}
{% for comment in comments %} {% endfor %}
{# project.getModeLabel() #}

Comments

({{ comments|length ~ ' comments' }})
  Write a new Comment
{{ comment.createdOn|date(date_format) }} Author: {{ comment.author.fullname }}
{% if comment.project is not null %} Project: {{ comment.project.name }}
{% endif %}
{{ comment.comment|raw }} {% if comment.isCommentCreator(app.user) %} Edit Delete {% endif %}
{% endif %}
{% endblock %} {% block javascripts %} {% endblock %}