|
| 1 | +<ul class="card-text font-weight-light list-group list-group-flush"> |
| 2 | + {% for content in entry.contents %} |
| 3 | + <li class="list-group-item"> |
| 4 | + <div class="row"> |
| 5 | + {% if content.year %} |
| 6 | + <div class="col-xs-2 cl-sm-2 col-md-2 text-center" style="width: 75px"> |
| 7 | + <table class="table-cv"> |
| 8 | + <tbody> |
| 9 | + <tr> |
| 10 | + <td> |
| 11 | + <span class="badge font-weight-bold danger-color-dark text-uppercase align-middle" style="min-width: 75px"> |
| 12 | + {{- content.year -}} |
| 13 | + </span> |
| 14 | + </td> |
| 15 | + </tr> |
| 16 | + {% if content.location %} |
| 17 | + <tr> |
| 18 | + <td> |
| 19 | + <p class="location"> |
| 20 | + <i class="fa-solid fa-location-dot iconlocation"></i> |
| 21 | + {{ content.location }} |
| 22 | + </p> |
| 23 | + </td> |
| 24 | + </tr> |
| 25 | + {% endif %} |
| 26 | + </tbody> |
| 27 | + </table> |
| 28 | + </div> |
| 29 | + {% endif %} |
| 30 | + <div class="col-xs-10 cl-sm-10 col-md-10 mt-2 mt-md-0"> |
| 31 | + {% if content.title %} |
| 32 | + <h6 class="title font-weight-bold ml-1 ml-md-4">{{ content.title }}</h6> |
| 33 | + {% endif %} |
| 34 | + {% if content.department or content.institution %} |
| 35 | + <table class="table-cv ml-1 ml-md-4 institution"> |
| 36 | + <tbody> |
| 37 | + {% if content.institution %} |
| 38 | + <tr> |
| 39 | + <td style="vertical-align: top; text-align: center" class="institution"> |
| 40 | + <i class="fa-solid fa-building-columns iconinstitution"></i> |
| 41 | + </td> |
| 42 | + <td class="institution">{{ content.institution }}</td> |
| 43 | + </tr> |
| 44 | + {% endif %} |
| 45 | + {% if content.department %} |
| 46 | + <tr> |
| 47 | + <td style="vertical-align: top; text-align: center" class="department"> |
| 48 | + <i class="fa-regular fa-circle-dot icondepartment"></i> |
| 49 | + </td> |
| 50 | + <td class="department">{{ content.department }}</td> |
| 51 | + </tr> |
| 52 | + {% endif %} |
| 53 | + </tbody> |
| 54 | + </table> |
| 55 | + {% endif %} |
| 56 | + {% if content.maindescription %} |
| 57 | + <div class="ml-1 ml-md-4">{{ content.maindescription }}</div> |
| 58 | + {% endif %} |
| 59 | + {% if content.description %} |
| 60 | + <ul class="items"> |
| 61 | + {% for item in content.description %} |
| 62 | + <li> |
| 63 | + {% if item.contents %} |
| 64 | + <span class="item-title">{{ item.title }}</span> |
| 65 | + <ul class="subitems"> |
| 66 | + {% for subitem in item.contents %} |
| 67 | + <li> |
| 68 | + <span class="subitem">{{ subitem }}</span> |
| 69 | + </li> |
| 70 | + {% endfor %} |
| 71 | + </ul> |
| 72 | + {% else %} |
| 73 | + <span class="item">{{ item }}</span> |
| 74 | + {% endif %} |
| 75 | + </li> |
| 76 | + {% endfor %} |
| 77 | + </ul> |
| 78 | + {% endif %} |
| 79 | + {% if content.items %} |
| 80 | + <ul class="items"> |
| 81 | + {% for item in content.items %} |
| 82 | + <li> |
| 83 | + {% if item.contents %} |
| 84 | + <span class="item-title">{{ item.title }}</span> |
| 85 | + <ul class="subitems"> |
| 86 | + {% for subitem in item.contents %} |
| 87 | + <li> |
| 88 | + <span class="subitem">{{ subitem }}</span> |
| 89 | + </li> |
| 90 | + {% endfor %} |
| 91 | + </ul> |
| 92 | + {% else %} |
| 93 | + <span class="item">{{ item }}</span> |
| 94 | + {% endif %} |
| 95 | + </li> |
| 96 | + {% endfor %} |
| 97 | + </ul> |
| 98 | + {% endif %} |
| 99 | + {% if content.linkitems %} |
| 100 | + <div class="container-links ml-1 ml-md-4"> |
| 101 | + {% for item in content.linkitems %} |
| 102 | + {% if item.link %} |
| 103 | + <div class="container-link-button"> |
| 104 | + {% if item.linkname %} |
| 105 | + <a href="{{ item.link }}" target="_blank" class="btncv z-depth-0">{{ item.linkname }}</a> |
| 106 | + {% else %} |
| 107 | + <a href="{{ item.link }}" target="_blank" class="btncv z-depth-0">doc</a> |
| 108 | + {% endif %} |
| 109 | + </div> |
| 110 | + {% endif %} |
| 111 | + {% endfor %} |
| 112 | + </div> |
| 113 | + {% endif %} |
| 114 | + </div> |
| 115 | + </div> |
| 116 | + </li> |
| 117 | + {% endfor %} |
| 118 | +</ul> |
0 commit comments