summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/_nodetype_detail.html
blob: 7f56f407b8f72e42836c11c8313d6e1f49d2a820 (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
{% load tagging_tags comments i18n %}
<div id="nodetype-{{ object.pk }}" class="hnodetype{% if object.featured %} featured{% endif %} span-16 last">
  <div class="nodetype-header span-16 last">
    <h2 class="nodetype-title">
      <a href="{{ object.get_absolute_url }}" title="{{ object.title }}" rel="bookmark">
        {{ object.title }}
	 </a>
	<a href="{{ object.ref.get_edit_url }}" target="_blank" >[edit]</a>     

    </h2>

    <p class="nodetype-info">
	

      {% if object.authors.count %}
      {% trans "Contributed by" %}
      {% for author in object.authors.all %}
      <span class="vcard author">
        <a href="{% url gstudio_author_detail author %}" class="fn nickname url" rel="author"
           title="{% blocktrans with author as author %}Show {{ author }} nodetypes{% endblocktrans %}">{{ author }}</a>
      </span>{% if not forloop.last %}, {% endif %}
      {% endfor %}
      {% trans "on" %}
      {% else %}
      {% trans "Contributed by" %}
      {% endif %}
      <abbr class="published" title="{{ object.creation_date|date:"c" }}Z">{{ object.creation_date|date:"DATE_FORMAT" }}</abbr>



</div>
</div>