Add next, previous, report a bug buttons at bottom

Re-add next/previous buttons at bottom of page.
Add also the "Report a Bug" button.

These all exist already on the top of the page, now they are
added on the bottom as well for easy navigation.

Co-Authored-By: Anne Gentle <anne@openstack.org>
Change-Id: Ib06a70b0333fa91cc5b93ba14fde409719fcb46b
This commit is contained in:
Andreas Jaeger
2015-08-03 10:35:05 +02:00
parent 60e400ac70
commit 22af1aa317
3 changed files with 18 additions and 18 deletions

View File

@@ -46,6 +46,15 @@
<a href="#" class="docs-tag">Security</a>
<a href="#" class="docs-tag">Conceptual architecture</a>
</div> -->
<div class="docs-actions">
{% if prev %}
<a href="{{ prev.link|e }}"><i class="fa fa-angle-double-left" data-toggle="tooltip" data-placement="top" title="Previous: {{ prev.title }}"></i></a>
{% endif %}
{% if next %}
<a href="{{ next.link|e }}"><i class="fa fa-angle-double-right" data-toggle="tooltip" data-placement="top" title="Next: {{ next.title }}"></i></a>
{% endif %}
<a id="logABugLink3" href="" target="_blank" title="Found an error? Report a bug against this page"><i class="fa fa-bug" data-toggle="tooltip" data-placement="top" title="Report a Bug"></i></a>
</div>
<div class="row docs-byline bottom">
<div class="docs-updated">
updated: {{ last_updated }} | release: {{ release }}

View File

@@ -136,4 +136,5 @@ function logABug(bugTitle, fieldComment, fieldTags) {
"&field.tags=" + fieldTags;
document.getElementById("logABugLink1").href=bugLink;
document.getElementById("logABugLink2").href=bugLink;
document.getElementById("logABugLink3").href=bugLink;
}

View File

@@ -3,23 +3,13 @@
<div class="col-lg-8">
<h2>{{ title }}</h2>
</div>
<div class="col-lg-4">
<div class="docs-actions">
<!-- Disabled links since these are not actual links -->
<!-- TODO: bugs filed for each -->
<!-- lp bug 1421809 -->
<!-- <a href="#"><i class="fa fa-rss" data-toggle="tooltip" data-placement="top" title="RSS Feed"></i></a> -->
<!-- lp bug 1427246 -->
<!-- <a href="#"><i class="fa fa-cloud-download" data-toggle="tooltip" data-placement="top" title="Download PDF"></i></a> -->
<!-- lp bug 1421813 -->
<!-- <a href="#"><i class="fa fa-info-circle" data-toggle="tooltip" data-placement="top" title="Toggle Definitions" id="toggle-definitions"></i></a> -->
{% if prev %}
<a href="{{ prev.link|e }}"><i class="fa fa-angle-double-left" data-toggle="tooltip" data-placement="top" title="Previous: {{ prev.title }}"></i></a>
{% endif %}
{% if next %}
<a href="{{ next.link|e }}"><i class="fa fa-angle-double-right" data-toggle="tooltip" data-placement="top" title="Next: {{ next.title }}"></i></a>
{% endif %}
<a id="logABugLink1" href="" target="_blank" title="Found an error? Report a bug against this page"><i class="fa fa-bug" data-toggle="tooltip" data-placement="top" title="Report a Bug"></i></a>
</div>
<div class="docs-actions">
{% if prev %}
<a href="{{ prev.link|e }}"><i class="fa fa-angle-double-left" data-toggle="tooltip" data-placement="top" title="Previous: {{ prev.title }}"></i></a>
{% endif %}
{% if next %}
<a href="{{ next.link|e }}"><i class="fa fa-angle-double-right" data-toggle="tooltip" data-placement="top" title="Next: {{ next.title }}"></i></a>
{% endif %}
<a id="logABugLink1" href="" target="_blank" title="Found an error? Report a bug against this page"><i class="fa fa-bug" data-toggle="tooltip" data-placement="top" title="Report a Bug"></i></a>
</div>
</div>