Statistics
| Branch: | Tag: | Revision:

root / templates / flatpages / default.html @ 9f012dae

History | View | Annotate | Download (1.2 kB)

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

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

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

    
39
{% endblock %}
40

    
41
                {% block content %}
42
                        <h4 class='muted'>{{ flatpage.title }}</h4>
43
                        <hr>
44
                        <div class="span9">
45
                        {{ flatpage.content|linebreaks }}
46
                        </div>
47
                {% endblock %}
48