Ajout d'une extension
This commit is contained in:
27
ext/phpbbstudio/ass/styles/all/template/blocks/sale.html
Normal file
27
ext/phpbbstudio/ass/styles/all/template/blocks/sale.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{% block width %}s12 m6{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if sale|length %}
|
||||
<div class="aps-collection">
|
||||
{% for item in sale %}
|
||||
<div class="aps-collection-item aps-avatar">
|
||||
{% if item.BACKGROUND_SRC %}
|
||||
<img class="avatar" src="{{ item.BACKGROUND_SRC }}" alt="{{ item.TITLE }}" />
|
||||
{% else %}
|
||||
<i class="avatar fa {{ item.ICON ?: aps_config('ass_no_image_icon') }} fa-3x icon-gray" aria-hidden="true"></i>
|
||||
{% endif %}
|
||||
<span class="title">{{ item.TITLE }}</span><br />
|
||||
<em>
|
||||
<i class="icon {{ aps_config('ass_panel_sale_icon') ?: 'calender-times-o' }} fa-fw" aria-hidden="true"></i>
|
||||
{{ user.format_date(item.SALE_UNTIL_UNIX) }}
|
||||
</em>
|
||||
<a class="aps-secondary-content" href="{{ item.U_VIEW }}">
|
||||
<i class="icon fa-external-link fa-fw"></i>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="error aps-center">{{ lang('ASS_ITEMS_NONE') }}</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user