diff --git a/openstackdocstheme/theme/openstackdocs/layout.html b/openstackdocstheme/theme/openstackdocs/layout.html index 767b497a..cf0b090f 100644 --- a/openstackdocstheme/theme/openstackdocs/layout.html +++ b/openstackdocstheme/theme/openstackdocs/layout.html @@ -56,7 +56,9 @@ ga('send', 'pageview'); {% if next %} {% endif %} + {%- if bug_project %} + {% endif %}
updated: {{ last_updated }}
@@ -67,8 +69,11 @@ ga('send', 'pageview');
+ are sent to Launchpad projects related to the + document --> + {%- if bug_project %} found an error? report a bug + {%- endif %} questions?
diff --git a/openstackdocstheme/theme/openstackdocs/script_footer.html b/openstackdocstheme/theme/openstackdocs/script_footer.html index 5654a0bd..214dfe7f 100644 --- a/openstackdocstheme/theme/openstackdocs/script_footer.html +++ b/openstackdocstheme/theme/openstackdocs/script_footer.html @@ -38,8 +38,6 @@ var gitSha = "SHA: {{ gitsha }}"; {%- if bug_project %} var bugProject = "{{ bug_project }}"; - {%- else %} - var bugProject = "openstack-manuals"; {%- endif %} {%- if bug_title %} var bugTitle = "{{ bug_title }}"; diff --git a/openstackdocstheme/theme/openstackdocs/titlerow.html b/openstackdocstheme/theme/openstackdocs/titlerow.html index 3ed85847..9549f61e 100644 --- a/openstackdocstheme/theme/openstackdocs/titlerow.html +++ b/openstackdocstheme/theme/openstackdocs/titlerow.html @@ -13,6 +13,8 @@ {% if next %} {% endif %} + {%- if bug_project %} + {% endif %} diff --git a/releasenotes/notes/bug_project-d26160cfe5324694.yaml b/releasenotes/notes/bug_project-d26160cfe5324694.yaml new file mode 100644 index 00000000..2039c45f --- /dev/null +++ b/releasenotes/notes/bug_project-d26160cfe5324694.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - If ``bug_project`` is not set, the "Report a bug" links are not + displayed at all.