|
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 |
|
|
550
|
14 |
<h1 class="main_title"> |
|
|
15 |
{% if CONF.f_get_logo_url %} |
|
|
16 |
<div><a title="{% blocktrans %}back to workspace{% endblocktrans %}" alt="logo" class="title" href="{% url index %}"><img src="{{ CONF.f_get_logo_url }}" /></a></div> |
|
|
17 |
{% else %} |
|
|
18 |
|
|
|
19 |
{% if CONF.workspace_name %} |
|
|
20 |
<a title="{% blocktrans %}back to workspace{% endblocktrans %}" class="title" href="{% url index %}">{{ CONF.workspace_name }}</a> |
|
|
21 |
{% endif %} |
|
|
22 |
{% endif %} |
|
|
23 |
</h1> |
|
0
|
24 |
|
|
|
25 |
{% if public_texts %} |
|
203
|
26 |
<table class="home-table"> |
|
0
|
27 |
<tr> |
|
|
28 |
<td width="70%" style="vertical-align:text-top;"> |
|
|
29 |
<h2>{% blocktrans count public_texts|length as counter %}One public text{% plural %}{{ counter }} public texts{% endblocktrans %}</h2> |
|
|
30 |
<ul> |
|
|
31 |
{% for text in public_texts %} |
|
220
|
32 |
<li style="padding-bottom:10px;"><a title="{{ text.title }}" href="{% url text-view text.key %}">{{ text.title }}</a> |
|
0
|
33 |
<br/> |
|
|
34 |
{% include "site/macros/text_meta.html" %} |
|
|
35 |
</li> |
|
|
36 |
{% endfor %} |
|
|
37 |
</ul> |
|
|
38 |
</td> |
|
|
39 |
<td width="29%"> |
|
|
40 |
{% include "site/login_form.html" %} |
|
|
41 |
</td> |
|
|
42 |
</tr> |
|
|
43 |
</table> |
|
|
44 |
{% else %} |
|
|
45 |
{% include "site/login_form.html" %} |
|
|
46 |
{% endif %} |
|
|
47 |
|
|
|
48 |
|
|
550
|
49 |
{% endblock %} |