19201: add warning when users are viewing documentation for old Arvados
authorWard Vandewege <ward@curii.com>
Fri, 17 Jun 2022 13:55:07 +0000 (09:55 -0400)
committerWard Vandewege <ward@curii.com>
Fri, 17 Jun 2022 13:55:07 +0000 (09:55 -0400)
       versions.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

doc/_includes/_navbar_top.liquid

index 38c8e0a1db9573fa4726c23148bdc9a83af19a6c..41fe70f03a86aaacd736ac18e95535516b62db2f 100644 (file)
@@ -49,6 +49,9 @@ SPDX-License-Identifier: CC-BY-SA-3.0
       </div>
     </div>
 
+   <div class="alert alert-block alert-info" style="display: none;" id="old-version-warning">
+     WARNING - you are viewing the documentation for an old version of Arvados. For the latest version, click <a href="/">here</a>.
+   </div>
    <div class="alert alert-block alert-info" style="display: none;" id="annotate-notify">
      <div style="margin-top: -26px; font-size: 12pt">Hey!  You can use the annotation sidebar from <a href="https://hypothes.is">hypothes.is</a> to make public comments and private notes
        <span style="font-size: 32pt">&rarr;</span></div>