ClickHouse/website/templates/docs/footer.html
2020-05-19 17:41:36 +03:00

20 lines
1.3 KiB
HTML

{% if not single_page %}
<div class="alert alert-light my-3">
<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>
<div id="content-footer" class="text-muted pt-3 mb-5">
<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 %}