2020-05-08 08:04:09 +00:00
|
|
|
{% if not single_page %}
|
2020-05-19 14:41:36 +00:00
|
|
|
<div class="alert alert-light my-3">
|
2020-05-19 10:45:02 +00:00
|
|
|
<p class="float-right mb-0">{{ _('Rating') }}: RATING_VALUE - RATING_COUNT {{ _('votes') }}</p>
|
|
|
|
<h4 class="alert-heading">{% if is_amp %}{{ _('Article Rating') }}{% else %}{{ _('Was this content helpful?') }}{% endif %}</h4>
|
|
|
|
<div id="rating-stars" class="display-6 mb-0"
|
|
|
|
{% if not is_amp %}
|
|
|
|
data-titles="['{{ _('Unusable') }}', '{{ _('Poor') }}', 'OK', '{{ _('Good') }}', '{{ _('Excellent') }}']"
|
|
|
|
data-documentation="{{ _('documentation') }}"
|
|
|
|
{% endif %}
|
|
|
|
>RATING_STARS</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-19 14:41:36 +00:00
|
|
|
<div id="content-footer" class="text-muted pt-3 mb-5">
|
2020-05-08 08:04:09 +00:00
|
|
|
<div class="float-md-right">{{ config.copyright }}</div>
|
|
|
|
<div>{{ _('Built from') }} <a href="{{ config.extra.rev_url }}" rel="external nofollow noreferrer" target="_blank" class="text-reset">{{ config.extra.rev_short }}</a>{% if page and page.meta %}{% if page.meta.published_date %}, {{ _('published on') }} <span title="{{ page.meta.published_date.isoformat() }}">{{ page.meta.published_date.date().isoformat() }}</span>{% endif %}{% if page.meta.modified_date %}, {{ _('modified on') }} <span title="{{ page.meta.modified_date.isoformat() }}">{{ page.meta.modified_date.date().isoformat() }}</span>{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|