summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/base.html
blob: f35947204731e1abde2e5f6a034ec15a5d5fc61e (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{% extends "gstudio/skeleton.html" %}

{% load objectapp_tags i18n %}
{% load gstudio_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 %}
  {% gstudio_breadcrumbs %}
{% endblock %}

{% block sidebar %}
 
 <a href="{% url gstudio_nodetype_latest_feed %}" class="feeds" title="Rssfeed"><img src="{{ STATIC_URL }}gstudio/img/rss.png" alt="?" width="20" height="" /></a>

<div class="search">
  <h3>{% trans "Search" %}</h3>
  <form method="get" id="searchform" action="{% url nodes_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, &quot;double quotes&quot; 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="History">
     
       <h3>{% trans "Versions" %}</h3>
        <table border="1" cellspacing="0">
	
        {% for sid in object.ref.get_ssid  %}
	   
	      
	     <a href="{{ object.get_version_url }}{{ sid }}/{{ forloop.counter }}">{{ object.title }} {{ object.id }}.{{ forloop.counter }}</a><br>
	 
        {% endfor %}
	</table>
	   
</div>
<br>

<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 %}