diff -r 000000000000 -r 40c8f766c9b8 src/cm/templates/site/non_authenticated_index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/templates/site/non_authenticated_index.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,40 @@ +{% 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 %} + +

{{ CONF.workspace_name }}

+ +{% if public_texts %} + + + + + +
+

{% blocktrans count public_texts|length as counter %}One public text{% plural %}{{ counter }} public texts{% endblocktrans %}

+
    +{% for text in public_texts %} +
  • {{ text.title }} +
    +{% include "site/macros/text_meta.html" %} +
  • +{% endfor %} +
+
+{% include "site/login_form.html" %} +
+{% else %} +{% include "site/login_form.html" %} +{% endif %} + + +{% endblock %} \ No newline at end of file