From 6e998d9d2233597519eff7d8c3d77f255313c919 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Thu, 11 Aug 2016 03:10:50 +0900 Subject: [PATCH] remove 'Save to PDF' link from normal HTML pages 'Save to PDF' should be appeared in single HTML pages. JIRA: DOCS-156 Change-Id: I4566a976a8590a521bff4d0038597421f367f8e3 Signed-off-by: Ryota MIBU --- etc/pagemenu.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/pagemenu.html b/etc/pagemenu.html index 2bb9d1c06..67601b655 100644 --- a/etc/pagemenu.html +++ b/etc/pagemenu.html @@ -13,7 +13,9 @@ {%- if show_source and has_source and sourcename %}
  • {{ _('Show Source') }}
  • + {%- else %} + {# Note: single HTML won't have source rst #} +
  • Save to PDF
  • {%- endif %} -
  • Save to PDF
  • -- 2.16.6