]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/footer.html
be able to pass additional context to the _edit_question view
[osqa.git] / forum / skins / default / templates / footer.html
index 518318db77b1d3e073c4c033ba05b31602e3461b..f5090aa6322acea722c145db93539cdf165e76dc 100644 (file)
@@ -1,46 +1,19 @@
-{% load extra_tags %}
-{% load i18n %}
+{% load extra_tags ui_registry i18n %}
 
-    <div id="ground">
-               <div>
-                       <div class="footerLinks" >
-                               <a href="{% url about %}">{% trans "about" %}</a><span class="link-separator"> |</span>
-                               <a href="{% url faq %}">{% trans "faq" %}</a><span class="link-separator"> |</span>
-                               <a href="{% url privacy %}">{% trans "privacy policy" %}</a><span class="link-separator"> |</span>
-                {% spaceless %}
-                               <a href=
-                    {% if settings.FEEDBACK_SITE_URL %}
-                        "{{settings.FEEDBACK_SITE_URL}}"
-                        target="_blank">
-                    {% else %}
-                        "{% url feedback %}?next={{request.path}}">
-                    {% endif %}
-                    {% trans "give feedback" %}
-                </a>
-                {% endspaceless %}
-                       </div>
-                 <p>
-                        <a href="http://osqa.net" target="_blank">
-                               powered by OSQA
-                        </a>
-                 </p>
-          </div>
-                <div id="licenseLogo">
-                 <a href="http://creativecommons.org/licenses/by/3.0/">
-                                       <img src="{% media  "/media/images/cc-wiki.png" %}" title="Creative Commons: Attribution - Share Alike" alt="cc-wiki" width="50" height="68" />
-                 </a>
-                </div>
-       </div>
-    {% if settings.GOOGLE_ANALYTICS_KEY %}
-    <script type="text/javascript">
-        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-        </script>
-        <script type="text/javascript">
-        try {
-        var pageTracker = _gat._getTracker('{{ settings.GOOGLE_ANALYTICS_KEY }}');
-        pageTracker._trackPageview();
-        } catch(err) {}
-    </script>
-    {% endif %}
+
+<div>
+    <div class="footerLinks" >
+        {% loadregistry footer_links %}<span class="link-separator"> |</span>{% endloadregistry %}
+    </div>
+  <p>
+     <a href="http://osqa.net" target="_blank" title="OSQA {{ settings.OSQA_VERSION }} ({{ settings.SVN_REVISION }})">
+        powered by OSQA
+     </a>
+  </p>
+</div>
+ <div id="licenseLogo">
+  <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
+            <img src="{% media  "/media/images/by-sa-88x31.png" %}" title="Creative Commons: Attribution - Share Alike" alt="cc-by-sa" width="88" height="31" />
+  </a>
+ </div>