-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #384 from alchemistry/update-doc-footer
replace doc footer
- Loading branch information
Showing
3 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{% extends "!footer.html" %} | ||
{% block contentinfo %} | ||
<p> | ||
{%- if show_copyright %} | ||
{%- if hasdoc('copyright') %} | ||
{%- trans path=pathto('copyright'), copyright=copyright %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} | ||
{%- else %} | ||
{%- trans copyright=copyright %}© Copyright {{ copyright }}.{% endtrans %} | ||
{%- endif %} | ||
{%- endif %} | ||
|
||
{%- if build_id and build_url %} | ||
<span class="build"> | ||
{#- Translators: Build is a noun, not a verb -#} | ||
{%- trans %}Build{% endtrans -%} | ||
<a href="{{ build_url }}">{{ build_id }}</a>. | ||
</span> | ||
{%- elif commit %} | ||
<span class="commit"> | ||
{#- Translators: the phrase "revision" comes from Git, referring to a commit #} | ||
{%- trans %}Revision{% endtrans %} <code>{{ commit }}</code>. | ||
</span> | ||
{%- endif %} | ||
{%- if last_updated %} | ||
<span class="lastupdated"> | ||
{%- trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} | ||
</span> | ||
{%- endif -%} | ||
|
||
</p> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters