forked from extern/django-helpdesk
dfb821336e
text to assist with future translation efforts. I've no doubt missed a few. Also we don't have a "Change Language" view in here, unsure if this should be a helpdesk function or a function of the parent project. * Updated svn:ignore to ignore .pyc files * Added new function to replace cursor.dictfetchall() which is available in psycopg1 but not psycopg2. New function should work across other database systems, but is untested.
35 lines
2.7 KiB
HTML
35 lines
2.7 KiB
HTML
{% load i18n %}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>{% block helpdesk_title %}Helpdesk{% endblock %} :: {% trans "Powered by Jutda Helpdesk" %}</title>
|
|
<script src='{{ MEDIA_URL }}/helpdesk/jquery.js' type='text/javascript' language='javascript'></script>
|
|
<link rel='stylesheet' href='{{ MEDIA_URL }}/helpdesk/helpdesk.css' type='text/css' />
|
|
<link rel='alternate' href='{% url helpdesk_rss "user" %}{{ user.username }}/' type='application/rss+xml' title='{% trans "My Open Tickets" %}' />
|
|
<link rel='alternate' href='{% url helpdesk_rss "recent" %}' type='application/rss+xml' title='{% trans "All Recent Activity" %}' />
|
|
<link rel='alternate' href='{% url helpdesk_rss "unassigned" %}' type='application/rss+xml' title='{% trans "Unassigned Tickets" %}' />
|
|
{% block helpdesk_head %}{% endblock %}
|
|
</head>
|
|
<body>
|
|
<div id='container'>
|
|
<div id='header'>
|
|
<h1>{% trans "Helpdesk" %}</h1>
|
|
<ul>
|
|
<li><a href='{% url helpdesk_home %}'>{% trans "Dashboard" %}</a></li>
|
|
<li><a href='{% url helpdesk_list %}'>{% trans "Tickets" %}</a></li>
|
|
<li><a href='{% url helpdesk_submit %}'>{% trans "New Ticket" %}</a></li>
|
|
<li><a href='{% url helpdesk_report_index %}'>{% trans "Stats" %}</a></li>
|
|
<li><a href='{% url logout %}'>{% trans "Logout" %}</a></li>
|
|
{% if not query %}<li><form id='searchform' method='get' action='{% url helpdesk_list %}'><input type='text' name='q' size='10' class='input' value='{% trans "Search..." %}' id='search_query' onFocus='s=document.getElementById("search_query");if (s.value == "{% trans "Search..." %}") { s.value = ""; }' /><input type='hidden' name='status' value='1' /><input type='hidden' name='status' value='2' /><input type='hidden' name='status' value='3' /></form></li>{% endif %}
|
|
</ul>
|
|
</div>
|
|
<div id='body'>
|
|
{% block helpdesk_body %}{% endblock %}
|
|
</div>
|
|
<div id='footer'>
|
|
<p>{% trans "Powered by <a href='http://www.jutda.com.au/'>Jutda Helpdesk</a>." %} <a href='{% url helpdesk_rss_index %}'><img src='{{ MEDIA_URL }}/helpdesk/rss_icon.png' width='14' height='14' alt='{% trans "RSS Icon" %}' title='{% trans "RSS Feeds" %}' border='0' />{% trans "RSS Feeds" %}</a> <a href='{% url helpdesk_api_help %}'>{% trans "API" %}</a></p>
|
|
</div>
|
|
</div>
|
|
{% include "helpdesk/debug.html" %}
|
|
</body>
|
|
</html>
|