mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-02 04:43:30 +01:00
23084499c1
* Add VERY basic knowledgebase functions * Restructure views.py into views/*.py
33 lines
1.5 KiB
HTML
33 lines
1.5 KiB
HTML
{% extends "helpdesk/public_base.html" %}{% load i18n %}
|
|
|
|
{% block helpdesk_body %}
|
|
<h2>{% blocktrans with item.title as item %}Knowledgebase: {{ item }}{% endblocktrans %}</h2>
|
|
|
|
<table width='100%'>
|
|
<tr class='row_tablehead'><td>{{ item.title }}</td></tr>
|
|
|
|
<tr class='row_even row_hover'><th>{{ item.question }}</th></tr>
|
|
<tr class='row_odd'><td>{{ item.answer }}</td></tr>
|
|
</table>
|
|
|
|
<p>{% blocktrans with item.category.title as category_title and item.category.get_absolute_url as category_url %}View <a href='{{ category_url }}'>other <em>{{ category_title }}</em> articles</a>, or continue <a href='../'>viewing other knowledgebase articles</a>.{% endblocktrans %}</p>
|
|
|
|
<h2>{% trans "Feedback" %}</h2>
|
|
|
|
<p>{% trans "We give our users an opportunity to vote for items that they believe have helped them out, in order for us to better serve future customers. We would appreciate your feedback on this article. Did you find it useful?" %}</p>
|
|
|
|
<ul>
|
|
<li><a href='vote/?vote=up'>{% trans "This article was useful to me" %}</a></li>
|
|
<li><a href='vote/?vote=down'>{% trans "This article was <strong>not</strong> useful to me" %}</a></li>
|
|
</ul>
|
|
|
|
<p>{% trans "The results of voting by other readers of this article are below:" %}</p>
|
|
|
|
<ul>
|
|
<li>{% blocktrans with item.recommendations as recommendations %}Recommendations: {{ recommendations }}{% endblocktrans %}</li>
|
|
<li>{% blocktrans with item.votes as votes %}Votes: {{ votes }}{% endblocktrans %}</li>
|
|
<li>{% blocktrans with item.score as score %}Overall Rating: {{ score }}{% endblocktrans %}</li>
|
|
</ul>
|
|
|
|
{% endblock %}
|