]> git.proxmox.com Git - ceph.git/blobdiff - ceph/doc/_templates/page.html
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / doc / _templates / page.html
index cfcf309b5d75198619b83e16d1f98fae319fe18a..3923975d78f025e8e300293da41a8c6189424212 100644 (file)
@@ -1,19 +1,23 @@
 {% extends "!page.html" %}
 {% block body %}
 
-<div id="dev-warning" class="admonition note" style="display:none;">
+{%- if release == 'dev' %}
+<div id="dev-warning" class="admonition note">
   <p class="first admonition-title">Notice</p>
   <p class="last">This document is for a development version of Ceph.</p>
 </div>
+{%- endif %}
 
-<div id="eol-warning" class="admonition warning" style="display:none;">
+{%- if is_release_eol %}
+<div id="eol-warning" class="admonition warning">
   <p class="first admonition-title">Warning</p>
   <p class="last">This document is for an unsupported version of Ceph.</p>
 </div>
+{%- endif %}
 
-{%- if edit_on_github_url %}
-  <div id="docubetter" align="right" style="display:none; padding: 15px; font-weight: bold;">
-    <a id="edit-on-github" href="{{ edit_on_github_url }}" rel="nofollow">{{ _('Edit on GitHub')}}</a> | <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
+{%- if not is_release_eol %}
+  <div id="docubetter" align="right" style="padding: 15px; font-weight: bold;">
+    <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
   </div>
 {%- endif %}