src/cm/templates/site/layout/base_text.html
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 541 4fd07dd80b25
permissions -rw-r--r--
add link to "privacy policy" in the header test

{% extends "site/layout/base.html" %}
{% load com %}
{% load i18n %}

{% block title %}
{{ text.get_title }}
{% endblock %}

{% block head_base %}
<script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>
<link href="{% url text-feed text.key %}" title="{{ text.get_title }}" type="application/rss+xml" rel="alternate" />
{% endblock %}

{% block breadcrumbs %}
<span id="header_left">
<a class="breadcrumbs" href="{% url index %}" title="Home">&laquo; {% blocktrans %}back to workspace{% endblocktrans %}</a>
</span>
{% endblock %}

{% block content %}

{%  include "site/macros/text_actions.html" %}
<h1 class="main_title_text">
  {% if CONF.f_get_logo_url %}<div><a title="{% blocktrans %}back to workspace{% endblocktrans %}" alt="logo" class="title" href="{% url index %}"><img src="{{ CONF.f_get_logo_url }}" alt="logo" /></a></div>{% endif %}
  <a class="title" href="{% url text-view text.key %}">{{ text.get_title }}</a>
</h1>

{% include "site/macros/text_meta.html" %}   
{% include "site/macros/text_tabs.html" %}   

{% block main %}
{% endblock %}

{% endblock %}