|
0
|
1 |
{% extends "site/layout/base_workspace.html" %} |
|
|
2 |
{% load com %} |
|
|
3 |
{% load i18n %} |
|
|
4 |
{% load local_perms %} |
|
|
5 |
{% load activity %} |
|
|
6 |
|
|
|
7 |
{% block head %} |
|
|
8 |
{% endblock %} |
|
|
9 |
|
|
|
10 |
{% block title %}{% blocktrans %}Home{% endblocktrans %}{% endblock %} |
|
|
11 |
|
|
|
12 |
{% block content %} |
|
|
13 |
|
|
|
14 |
<h1 class="main_title"><a class="title" href="{% url index %}">{{ CONF.workspace_name }}</a></h1> |
|
|
15 |
|
|
|
16 |
{% if public_texts %} |
|
|
17 |
<table> |
|
|
18 |
<tr> |
|
|
19 |
<td width="70%" style="vertical-align:text-top;"> |
|
|
20 |
<h2>{% blocktrans count public_texts|length as counter %}One public text{% plural %}{{ counter }} public texts{% endblocktrans %}</h2> |
|
|
21 |
<ul> |
|
|
22 |
{% for text in public_texts %} |
|
|
23 |
<li><a title="{{ text.title }}" href="{% url text-view text.key %}">{{ text.title }}</a> |
|
|
24 |
<br/> |
|
|
25 |
{% include "site/macros/text_meta.html" %} |
|
|
26 |
</li> |
|
|
27 |
{% endfor %} |
|
|
28 |
</ul> |
|
|
29 |
</td> |
|
|
30 |
<td width="29%"> |
|
|
31 |
{% include "site/login_form.html" %} |
|
|
32 |
</td> |
|
|
33 |
</tr> |
|
|
34 |
</table> |
|
|
35 |
{% else %} |
|
|
36 |
{% include "site/login_form.html" %} |
|
|
37 |
{% endif %} |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
{% endblock %} |