src/cm/templates/site/non_authenticated_index.html
author raph
Wed, 27 Jan 2010 14:57:50 +0100
changeset 127 4768522108d4
parent 0 40c8f766c9b8
child 203 84b8af5ed884
permissions -rw-r--r--
i18n update

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

{% block head %}
{% endblock %}

{% block title %}{% blocktrans %}Home{% endblocktrans %}{% endblock %}

{% block content %}

<h1 class="main_title"><a class="title" href="{% url index %}">{{ CONF.workspace_name }}</a></h1>

{% if public_texts %}
<table>
<tr>
<td width="70%" style="vertical-align:text-top;">
<h2>{% blocktrans count public_texts|length as counter %}One public text{% plural %}{{ counter }} public texts{% endblocktrans %}</h2>
<ul>
{% for text in public_texts %}
<li><a title="{{ text.title }}" href="{% url text-view text.key %}">{{ text.title }}</a>
<br/>
{% include "site/macros/text_meta.html" %}   
</li>
{% endfor %}
</ul>
</td>
<td width="29%">
{% include "site/login_form.html" %}
</td>
</tr>
</table>
{% else %}
{% include "site/login_form.html" %}
{% endif %}


{% endblock %}