Skip to content
Browse files

added the ability to flag the docs as outdated

  • Loading branch information...
1 parent f59f7bf commit e263289bca852dd8f485180b013df680ddcf5940 @sontek sontek committed May 3, 2013
Showing with 8 additions and 2 deletions.
  1. +5 −1 pylons/layout.html
  2. +3 −1 pylons/theme.conf
View
6 pylons/layout.html
@@ -14,7 +14,11 @@
{% block header %}
{% if theme_in_progress|tobool %}
-<img style="position: fixed; display: block; width: 165px; height: 165px; bottom: 60px; right: 0; border: 0;" src="{{ pathto('_static/in_progress.png', 1) }}" alt="Documentation in progress"></a>
+ <img style="position: fixed; display: block; width: 165px; height: 165px; bottom: 60px; right: 0; border: 0;" src="{{ pathto('_static/in_progress.png', 1) }}" alt="Documentation in progress" />
+{% endif %}
+
+{% if theme_outdated|tobool %}
+ <a href="{{ theme_latest_url}}"><img style="position: fixed; display: block; width: 165px; height: 165px; bottom: 60px; right: 0; border: 0;" src="{{ pathto('_static/in_progress.png', 1) }}" alt="Documentation is outdated" /></a>
{% endif %}
{% if theme_github_url %}
View
4 pylons/theme.conf
@@ -9,4 +9,6 @@ short_title = Home
logo = pylons.png
favicon = pylons.ico
in_progress = false
-github_url =
+outdated = false
+github_url =
+latest_url =

0 comments on commit e263289

Please sign in to comment.
Something went wrong with that request. Please try again.