summaryrefslogtreecommitdiffstats
path: root/welco/kb/templates/kb/page_detail.html
blob: 9fb784210acde7187424eba3bc938fbc3aeb3417 (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
{% extends "kb/base.html" %}
{% load i18n %}

{% block appbar %}
<h2>{% trans 'Knowledge Base' %} - {{ object.title }}</h2>
{% if can_manage %}
<a rel="popup" href="{% url 'kb-page-delete' slug=object.slug %}">{% trans 'Delete' %}</a>
<a href="{% url 'kb-page-history' slug=object.slug %}">{% trans 'History' %}</a>
<a href="{% url 'kb-page-edit' slug=object.slug %}">{% trans 'Edit' %}</a>
{% endif %}
{% endblock %}

{% block breadcrumb %}
{{ block.super }}
{% if object %}
<a href="{% url 'kb-page-view' slug=object.slug %}">{{object.title}}</a>
{% endif %}
{% endblock %}

{% block content %}

<div id="page-content">
{{ object.content|safe }}

<p class="keywords">
{% trans 'Keywords:' %}
{% for tag in object.tags.all %}{{tag}}{% if not forloop.last %}, {% endif %}{% endfor %}
</p>
</div>

{% endblock %}