src/cm/templates/site/non_authenticated_index.html
author gibus
Thu, 08 Sep 2011 23:21:51 +0200
changeset 383 661248a4ef4a
parent 220 7d278fde2748
child 550 05b5e51e8823
permissions -rw-r--r--
add arrows on toggle bars

{% 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 class="home-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 style="padding-bottom:10px;"><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 %}