]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/footer.html
Added a new optional setting for "support" URL that gets shown in the footer
[osqa.git] / forum / skins / default / templates / footer.html
1 {% load extra_tags %}
2 {% load i18n %}
3
4     <div id="ground">
5                 <div>
6                         <div class="footerLinks" >
7                                 <a href="{% url about %}">{% trans "about" %}</a><span class="link-separator"> |</span>
8                                 <a href="{% url faq %}">{% trans "faq" %}</a><span class="link-separator"> |</span>
9                                 <a href="{% url privacy %}">{% trans "privacy" %}</a><span class="link-separator"> |</span>
10                 {% if settings.SUPPORT_URL %}
11                     <a href="{{settings.SUPPORT_URL}}" target="_blank">{% trans "support" %}</a><span class="link-separator"> |</span>
12                 {% endif %}
13                 {% spaceless %}
14                                 <a href=
15                     {% if settings.CONTACT_URL %}
16                         "{{settings.CONTACT_URL}}"
17                         target="_blank">
18                     {% else %}
19                         "{% url feedback %}?next={{request.path}}">
20                     {% endif %}
21                     {% trans "contact us" %}
22                 </a>
23                 {% endspaceless %}
24                         </div>
25                   <p>
26                          <a href="http://osqa.net" target="_blank" title="OSQA {{ settings.OSQA_VERSION }} ({{ settings.SVN_REVISION }})">
27                                 powered by OSQA
28                          </a>
29                   </p>
30            </div>
31                  <div id="licenseLogo">
32                   <a href="http://creativecommons.org/licenses/by/3.0/">
33                                         <img src="{% media  "/media/images/cc-wiki.png" %}" title="Creative Commons: Attribution - Share Alike" alt="cc-wiki" width="50" height="68" />
34                   </a>
35                  </div>
36         </div>
37     {% if settings.GOOGLE_ANALYTICS_KEY %}
38     <script type="text/javascript">
39         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
40         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
41         </script>
42         <script type="text/javascript">
43         try {
44         var pageTracker = _gat._getTracker('{{ settings.GOOGLE_ANALYTICS_KEY }}');
45         pageTracker._trackPageview();
46         } catch(err) {}
47     </script>
48     {% endif %}
49