src/cm/templates/site/layout/base_workspace.html
author gibus
Tue, 11 Feb 2014 12:33:25 +0100
changeset 572 93383e54e042
parent 541 4fd07dd80b25
permissions -rw-r--r--
Font size for piwik optout iframe.

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

{% block head_base %}
{% endblock %}

{% block content %}

{% get_local_perm request can_manage_workspace as can_manage_workspace %}
{% nb_texts as nb_texts %}
{% nb_users as nb_users %}
<h1 class="main_title">
{% if CONF.f_get_logo_url %}
<div><a title="{% blocktrans %}back to workspace{% endblocktrans %}" class="title" href="{% url index %}"><img src="{{ CONF.f_get_logo_url }}" alt="logo" /></a></div>
{% endif %}

{% if CONF.workspace_name %}
<a title="{% blocktrans %}back to workspace{% endblocktrans %}" class="title" href="{% url index %}">{{ CONF.workspace_name }}</a>
{% endif %}
</h1>

{% if CONF.workspace_tagline %}
<div>
{{ CONF.workspace_tagline }}</div>
{% endif %}

<span class="metadata">
{% blocktrans count nb_texts as nb_texts %}{{ nb_texts }} text{% plural %}{{ nb_texts }} texts{% endblocktrans %}{% if can_manage_workspace %}, {% blocktrans count nb_users as nb_users %}{{ nb_users }} user{% plural %}{{ nb_users }} users{% endblocktrans %}
{% endif %}
</span>

{% include "site/macros/main_tabs.html" %}    

{% block main %}
{% endblock %}

{% endblock %}