12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <div class="media">
- <div class="media-left">
- <a href="#">
- <img class="media-object" src="{{ user_avatar }}" alt="{{ user.completeName }}">
- </a>
- </div>
- <div class="media-body">
- <h3 class="media-heading">{{ user.completeName }}</h3>
- <p>{{ user.username }}</p>
- </div>
- </div>
- <br>
- {% for survey in surveys %}
- <div class="panel panel-default">
- <div class="panel-body">
- <div>
- <a href="{{ survey.link }}">
- {{ survey.title }}
- </a>
- </div>
- <ul class="list-inline">
- {% if survey.course %}
- <li>
- <span class="label" style="background-color: {{ survey.session ? '#00496D' : '#458B00' }}">
- {{ survey.course.title }}
- {% if survey.session %}
- ({{ survey.session.name }})
- {% endif %}
- </span>
- </li>
- {% endif %}
- <li>
- {{ 'FromDateXToDateY'|get_lang|format(survey.avail_from|api_convert_and_format_date(2), survey.avail_till|api_convert_and_format_date(2)) }}
- </li>
- </ul>
- </div>
- </div>
- {% else %}
- <div class="alert alert-info">
- {{ 'NoPendingSurveys'|get_lang }}
- </div>
- {% endfor %}
|