blob: 40e6324553f7c9d90d15572d5db622bbf771f214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
{% extends "objectapp/skeleton.html" %}
{% load objectapp_tags i18n %}
{% block meta %}
<meta name="generator" content="Objectapp {{ OBJECTAPP_VERSION }}" />
{% endblock %}
{% block link %}
<link rel="index" href="{% url objectapp_gbobject_archive_index %}" />
<link rel="EditURI" type="application/rsd+xml" href="{% url objectapp_rsd %}" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="{% url objectapp_wlwmanifest %}" />
<link rel="search" type="application/opensearchdescription+xml" title="Objectapp's Blog" href="{% url objectapp_opensearch %}" />
<link rel="alternate" type="application/rss+xml" title="{% trans "RSS Feed of latest gbobjects" %}" href="{% url objectapp_gbobject_latest_feed %}" />
{% get_archives_gbobjects "objectapp/tags/archives_gbobjects_link.html" %}
{% endblock %}
{% block breadcrumbs %}
{% objectapp_breadcrumbs %}
{% endblock %}
{% block sidebar %}
<img src="{{ STATIC_URL }}objectapp/img/rss.png" alt="?" width="20" height="" />
<a href="{% url objectapp_gbobject_latest_feed %}" class="feeds"><h4>Rssfeed</h4></a>
<div class="search">
<h3>{% trans "Search" %}</h3>
<form method="get" id="searchform" action="{% url objectapp_gbobject_search %}">
<p>
<input type="text" value="{% trans "Keywords..." %}" name="pattern" id="searchbox" onfocus="this.value=''" />
<input type="submit" class="submitbutton" value="OK" />
<a title="{% trans 'You can use - to exclude words or phrases, "double quotes" for exact phrases and the AND/OR boolean operators combined with parenthesis for complex searchs.' %}">
<img src="{{ STATIC_URL }}objectapp/img/help.png" alt="?" width="14" height="14" />
</a>
</p>
</form>
</div>
<div class="objecttypes">
<h3>{% trans "Objecttypes" %}</h3>
{% get_objecttypes %}
</div>
<div class="authors">
<h3>{% trans "Authors" %}</h3>
{% get_authors %}
</div>
<div class="calendar">
<h3>{% trans "Calendar" %}</h3>
{% get_calendar_gbobjects %}
</div>
<div class="tags">
<h3>{% trans "Tags" %}</h3>
{% get_tag_cloud %}
</div>
<div class="recents">
<h3>{% trans "Recent gbobjects" %}</h3>
{% get_recent_gbobjects 5 %}
</div>
<div class="comments">
<h3>{% trans "Recent comments" %}</h3>
{% get_recent_comments 5 %}
</div>
<div class="linkbacks">
<h3>{% trans "Recent linkbacks" %}</h3>
{% get_recent_linkbacks 5 %}
</div>
<div class="randoms">
<h3>{% trans "Random gbobjects" %}</h3>
{% get_random_gbobjects 5 %}
</div>
<div class="populars">
<h3>{% trans "Popular gbobjects" %}</h3>
{% get_popular_gbobjects 5 %}
</div>
<div class="archives">
<h3>{% trans "Archives" %}</h3>
{% get_archives_gbobjects_tree %}
</div>
{% if user.is_authenticated %}
<div class="tools">
<h3>{% trans "Tools" %}</h3>
<ul>
{% if perms.objectapp %}
<li>
<a href="{% url admin:app_list "objectapp" %}" title="{% trans "Dashboard" %}">
{% trans "Dashboard" %}
</a>
</li>
{% endif %}
{% if perms.objectapp.add_gbobject %}
<li>
<a href="{% url admin:objectapp_gbobject_add %}" title="{% trans "Post an gbobject" %}">
{% trans "Post an gbobject" %}
</a>
</li>
{% endif %}
{% block admin_tools %}
{% endblock %}
<li>
<a href="{% url admin:logout %}" title="{% trans "Log out" %}">
{% trans "Log out" %}
</a>
</li>
</ul>
</div>
{% endif %}
{% endblock %}
|