]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/footer.html
e8af78f710530824f337719d9515eab3d3e37ff8
[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
40           var _gaq = _gaq || [];
41           _gaq.push(['_setAccount', '{{ settings.GOOGLE_ANALYTICS_KEY }}']);
42           _gaq.push(['_trackPageview']);
43
44           (function() {
45             var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
46             ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
47             var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
48           })();
49         </script>
50     {% endif %}
51