src/cm/templates/site/layout/base_text.html
author Simon Descarpentries <sid@sopinspace.com>
Fri, 04 Apr 2014 18:23:30 +0200
changeset 624 3dd70d01cec2
parent 541 4fd07dd80b25
permissions -rw-r--r--
Divide tests.js in two distinct files, factorize helper functions in lib/test_hlp.js

{% 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 %}