Show Terms of Service link in footer if tos_link is defined in the context.
Patch by: Todd Larsen
Review by: to-be-reviewed
--- a/app/soc/templates/soc/base.html Wed Jan 14 20:05:05 2009 +0000
+++ b/app/soc/templates/soc/base.html Wed Jan 14 20:05:15 2009 +0000
@@ -165,6 +165,9 @@
©2008 Google -
<a href="http://www.google.com/">Google Home</a> -
<a href="http://www.google.com/privacy.html">Privacy Policy</a> -
+{% if tos_link %}
+<a href="{{tos_link}}">Terms of Service</a> -
+{% endif %}
Version {{ gae_version }}
{% endblock %}
</div>