Display '(unreleased)' as a link to trunk/ when RELEASE_TAG is false.
Patch by: Todd Larsen
--- a/app/soc/templates/soc/base.html Sun Nov 23 07:15:13 2008 +0000
+++ b/app/soc/templates/soc/base.html Sun Nov 23 07:25:31 2008 +0000
@@ -121,8 +121,13 @@
<a href="http://code.google.com/p/soc/"
><img src="/soc/content/images/melange-logo.jpg" alt="Powered by Melange"/></a>
<br>
+{% if soc_release %}
<a href="http://code.google.com/p/soc/source/browse/tags/{{ soc_release }}"
->Release {{ soc_release }}</a>
+target="_blank">Release {{ soc_release }}</a>
+{% else %}
+<a href="http://code.google.com/p/soc/source/browse/trunk"
+target="_blank">(unreleased)</a>
+{% endif %}
{% endblock %}
</div>
</div>