fix: display internship in profile

This commit is contained in:
Jannat Patel
2021-12-21 15:54:47 +05:30
parent 6188c698e3
commit 08b7290070
3 changed files with 43 additions and 42 deletions

View File

@@ -309,11 +309,12 @@
{% endmacro %}
{% macro WorkDetails(member) %}
{% if member.work_experience %}
{% set work_details = member.work_experience + member.internship %}
{% if work_details | length %}
<div class="education-details">
<div class="course-home-headings"> Work Experience </div>
<div class="common-card-style profile-card">
{% for work in member.work_experience %}
{% for work in work_details %}
<div class="">
<div class="institute-name"> {{ work.title }} </div>
<div class="profile-item"> {{ work.company }} </div>