Statistics
| Branch: | Tag: | Revision:

root / templates / flatpages / default.html @ 442e21b6

History | View | Annotate | Download (1.2 kB)

1
{% extends "base.html" %}
2

    
3
{% load i18n %}
4
    {% block title %}{{ flatpage.title }}{% endblock %}
5
    {% block breadcrumbs %}:: {% trans flatpage.title %}{% endblock %}
6
              
7
    {% block extrahead %}
8
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
9
        <META HTTP-EQUIV="Expires" CONTENT="-1">
10
    <style type="text/css">
11
      
12
      .headtitle {font-family: "Franklin Gothic Demi", "Franklin Gothic", "ITC Franklin Gothic", Arial, sans-serif; letter-spacing: -1px; }
13
    </style>
14
    <script type="text/javascript" src="/fodstatic/js/jquery.min.js"></script>
15
 
16
<script type="text/javascript">
17

18
        function setlang(lang) {
19
                $("#langsel").val(lang);
20
                var form = $("#langform");
21
                $.ajax({
22
                                url: form.attr('action'), 
23
                                data: form.serialize(),
24
                                type: "POST",
25
                                cache: false,
26
                                success:function(data){
27
                                                window.location.href=location.href + "../" + lang + "/";
28
                                        }
29
                });
30
                
31
        }
32
</script>
33
    
34

    
35
{% endblock %}
36

    
37
                {% block content %}
38
                        <h4 class='muted'>{{ flatpage.title }}</h4>
39
                        <hr>
40
                        <div class="span9">
41
                        {{ flatpage.content|linebreaks }}
42
                        </div>
43
                {% endblock %}
44