diff templates/sat_website/base.html @ 1:a49aa1b823f6

added SàT archive download link (detect the last version)
author Goffi <goffi@goffi.org>
date Sun, 29 Jul 2012 01:52:27 +0200
parents 9305c6458e2f
children 0df46e87537d
line wrap: on
line diff
--- a/templates/sat_website/base.html	Sat Jul 28 20:36:32 2012 +0200
+++ b/templates/sat_website/base.html	Sun Jul 29 01:52:27 2012 +0200
@@ -41,7 +41,13 @@
 					{% for cat_url,cat_name in categories.items %}
 						<li><a href="{{ cat_url }}.html">{{ cat_name }}</a></li>  
 					{% endfor %}
-				</ul> 
+				</ul>
+                {% if latest_dl_path and latest_version %}
+                    <ul class="nav pull-right">
+                        <li><a href="{{ latest_dl_path }}"><strong>Download SàT {{ latest_version }}</strong></a> </li>
+                        
+                    </ul>
+                {% endif %}
 			</div>  
 		</div>  
 	</div>