Revision 8a4135b4 cloudcmsblog/templates/cloudcmsblog/detail.html

b/cloudcmsblog/templates/cloudcmsblog/detail.html
2 2

  
3 3
{% fragment request "maincol" %}
4 4
<div class="article">
5
	<p class="date">{{ entry.published_on }}</p>
5 6
    <h2>{{ entry.title|upper }}</h2>
6
    <p class="info">
7
        {% trans "posted by" %} 
8
        <span class="author">{{ entry.author }}</span>
9
        {% trans "on" %} <span class="date">{{ entry.published_on }}</span>,
10
        {% trans "filed under" %}
11
        {% for c in entry.categories.all %}
12
        <a href="{{ c.get_absolute_url }}" title="{{ c|lower }} {% trans "posts" %}">
13
            {{ c|lower }}
14
        </a> {% if not forloop.last %},{% endif %}
15
        {% endfor %}
16
    </p>
7
    
17 8
    {% if entry.image %}
18 9
    <img src="{{ entry.image.get_absolute_url }}" alt="{{ entry.title }}" />
19 10
    {% endif %}
......
26 17
                {{ entry.intro_text|safe }}
27 18
        {% endif %}
28 19
    </div>
29

  
20
	<p class="info">
21
        {% trans "posted by" %} 
22
        <span class="author">{{ entry.author }}</span>
23
        {% trans "on" %} <span class="date">{{ entry.published_on }}</span>,
24
        {% trans "filed under" %}
25
        {% for c in entry.categories.all %}
26
        <a href="{{ c.get_absolute_url }}" title="{{ c|lower }} {% trans "posts" %}">
27
            {{ c|lower }}
28
        </a> {% if not forloop.last %},{% endif %}
29
        {% endfor %}
30
    </p>
30 31
    <p>
31
        <a href="{{ entry.back_url }}">{% trans "Back to blog" %}</a>
32
        <a href="{{ entry.back_url }}">{% trans "&lt; Back " %}</a>
32 33
    </p>
33 34
</div>
34 35
{% endfragment %}

Also available in: Unified diff