You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2024/10/30 09:40:10 UTC

(xmlgraphics-website) branch master updated: Add old version banner

This is an automated email from the ASF dual-hosted git repository.

ssteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f3ee0c8e Add old version banner
f3ee0c8e is described below

commit f3ee0c8e238a04632841f42881a699376ffb9365
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Wed Oct 30 09:39:57 2024 +0000

    Add old version banner
---
 theme/templates/fop-top.html | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/theme/templates/fop-top.html b/theme/templates/fop-top.html
index 79d02fae..155b37f3 100755
--- a/theme/templates/fop-top.html
+++ b/theme/templates/fop-top.html
@@ -4,6 +4,12 @@
 	<div id="navigation">
 	{% include 'fop-sidenav.html' %}
 	</div>
+	
+	{% if 'fop/2.10' not in output_file and ('fop/0' in output_file or 'fop/1' in output_file or 'fop/2' in output_file) %}
+	<div id="outdated-warning" style="padding: .5em; text-align: center; background-color: #FFBABA; color: #6A0E0E;">
+    This document is for an old version of FOP that is no longer supported.
+    </div>
+	{% endif %}  
 
 	<div id="bannertext" style="border-bottom: 2px dashed #666666; height: 70px;">
 	  <a href="/fop/"><img src="/images/apache-fop-logo.jpg" alt="The Apache FOP Project" width="120" height="65" style="float:left; margin-right: 15px;" /></a>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org