|
|
|
@ -8,8 +8,8 @@ |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
<div class="col-md-12"> |
|
|
|
|
<h3>{{ 'Sessions'|get_lang }}</h3> |
|
|
|
|
<div class="col-md-12"> |
|
|
|
|
<h3>{{ 'Sessions'|get_lang }}</h3> |
|
|
|
|
<div class="search-session"> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-md-{{ show_courses ? '4' : '6' }}"> |
|
|
|
@ -17,9 +17,12 @@ |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label>{{ "ByDate"|get_lang }}</label> |
|
|
|
|
<div class="input-group"> |
|
|
|
|
<input type="date" name="date" id="date" title="{{ 'Date'|get_lang }}" class="form-control" value="{{ search_date }}" readonly> |
|
|
|
|
<input type="date" name="date" id="date" title="{{ 'Date'|get_lang }}" |
|
|
|
|
class="form-control" value="{{ search_date }}" readonly> |
|
|
|
|
<span class="input-group-btn"> |
|
|
|
|
<button class="btn btn-default" type="submit"><em class="fa fa-search"></em> {{ 'Search'|get_lang }}</button> |
|
|
|
|
<button class="btn btn-default" type="submit"> |
|
|
|
|
<em class="fa fa-search"></em> {{ 'Search'|get_lang }} |
|
|
|
|
</button> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -29,9 +32,12 @@ |
|
|
|
|
<form class="form-inline" method="post" action="{{ _p.web_self }}?action=search_tag"> |
|
|
|
|
<label>{{ "ByTag"|get_lang }}</label> |
|
|
|
|
<div class="input-group"> |
|
|
|
|
<input type="text" name="search_tag" title="{{ 'ByTag'|get_lang }}" class="form-control" value="{{ search_tag }}" /> |
|
|
|
|
<input type="text" name="search_tag" title="{{ 'ByTag'|get_lang }}" class="form-control" |
|
|
|
|
value="{{ search_tag }}"/> |
|
|
|
|
<span class="input-group-btn"> |
|
|
|
|
<button class="btn btn-default" type="submit"><em class="fa fa-search"></em> {{ 'Search'|get_lang }}</button> |
|
|
|
|
<button class="btn btn-default" type="submit"> |
|
|
|
|
<em class="fa fa-search"></em> {{ 'Search'|get_lang }} |
|
|
|
|
</button> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
@ -44,18 +50,18 @@ |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<!-- new view session grib --> |
|
|
|
|
<div class="grid-courses col-md-12"> |
|
|
|
|
</div> |
|
|
|
|
<!-- new view session grib --> |
|
|
|
|
<div class="grid-courses col-md-12"> |
|
|
|
|
<div class="row"> |
|
|
|
|
{% for item in sessions %} |
|
|
|
|
<div class="col-md-3 col-sm-6 col-xs-6"> |
|
|
|
|
<div id="session-{{ item.id }}" class="items"> |
|
|
|
|
<div class="image"> |
|
|
|
|
<img class="img-responsive" src="{{ item.image ? _p.web_upload ~ item.image : 'session_default.png'|icon() }}"> |
|
|
|
|
<img class="img-responsive" |
|
|
|
|
src="{{ item.image ? _p.web_upload ~ item.image : 'session_default.png'|icon() }}"> |
|
|
|
|
{% if item.category != '' %} |
|
|
|
|
<span class="category">{{ item.category }}</span> |
|
|
|
|
<div class="cribbon"></div> |
|
|
|
@ -68,7 +74,8 @@ |
|
|
|
|
</a> |
|
|
|
|
<div class="teachers-details"> |
|
|
|
|
<h5> |
|
|
|
|
<a href="{{ item.coach_url }}" class="ajax" data-title="{{ item.coach_name }}"> |
|
|
|
|
<a href="{{ item.coach_url }}" class="ajax" |
|
|
|
|
data-title="{{ item.coach_name }}"> |
|
|
|
|
{{ item.coach_name }} |
|
|
|
|
</a> |
|
|
|
|
</h5> |
|
|
|
@ -104,10 +111,16 @@ |
|
|
|
|
{{ item.price }} |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
<br /> |
|
|
|
|
<br/> |
|
|
|
|
<div class="info"> |
|
|
|
|
<span><i class="fa fa-book" aria-hidden="true"></i> {{ item.nbr_courses }} {{ 'Courses'|get_lang }}</span> |
|
|
|
|
<span><i class="fa fa-user" aria-hidden="true"></i> {{ item.nbr_users }} {{ 'NbUsers'|get_lang }} </span> |
|
|
|
|
<span> |
|
|
|
|
<i class="fa fa-book" aria-hidden="true"></i> |
|
|
|
|
{{ item.nbr_courses }} {{ 'Courses'|get_lang }} |
|
|
|
|
</span> |
|
|
|
|
<span> |
|
|
|
|
<i class="fa fa-user" aria-hidden="true"></i> |
|
|
|
|
{{ item.nbr_users }} {{ 'NbUsers'|get_lang }} |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
{% if not _u.logged %} |
|
|
|
|
|
|
|
|
@ -116,7 +129,11 @@ |
|
|
|
|
{% if item.sequences is empty %} |
|
|
|
|
|
|
|
|
|
{% else %} |
|
|
|
|
<a class="btn btn-default btn-sm" role="button" title="{{ 'SeeSequences'|get_lang }}" data-toggle="popover" id="session-{{ item.id }}-sequences"><i class="fa fa-sitemap" aria-hidden="true"></i></a> |
|
|
|
|
<a class="btn btn-default btn-sm" role="button" |
|
|
|
|
title="{{ 'SeeSequences'|get_lang }}" data-toggle="popover" |
|
|
|
|
id="session-{{ item.id }}-sequences"> |
|
|
|
|
<i class="fa fa-sitemap" aria-hidden="true"></i> |
|
|
|
|
</a> |
|
|
|
|
{% endif %} |
|
|
|
|
{% if item.is_subscribed == false %} |
|
|
|
|
{{ item.subscribe_button }} |
|
|
|
@ -171,6 +188,7 @@ |
|
|
|
|
{% else %} |
|
|
|
|
content = "{{ 'NoDependencies'|get_lang }}"; |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
return content; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -186,7 +204,7 @@ |
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<!-- end view session grib --> |
|
|
|
|
{{ catalog_pagination }} |
|
|
|
|
</div> |
|
|
|
|
<!-- end view session grib --> |
|
|
|
|
{{ catalog_pagination }} |
|
|
|
|
{% endblock %} |