mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-11 17:20:41 +01:00
a162d77d70
( see /help/context/; also linked from comment form) * Refactor API help page to share template with context help * Allow a limited number of Ticket & Queue model fields to be accessible in comments, as per 'Help' page. * New function in lib.py to build a dict of 'safe' fields from ticket & queue, to prevent the power of the Django model API from exposing things like passwords (imagine if a user typed a comment containing {{ ticket.queue.email_box_password }} !!!! * When accessing the ticket list with no filter params (eg by clicking on the "Tickets" button in the menu), the default search is for tickets that aren't closed, rather than showing all tickets. * Updated English locale with changed message strings.
47 lines
980 B
HTML
47 lines
980 B
HTML
<html>
|
|
<head>
|
|
<style type='text/css'>
|
|
body {
|
|
background-color: #fff;
|
|
color: #333;
|
|
font: 10pt "Trebuchet MS", Arial, sans-serif;
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
font-family: Garamond, Times, serif;
|
|
}
|
|
|
|
h1 {
|
|
color: #00c;
|
|
font-size: 18pt;
|
|
border-bottom: solid 1px #00c;
|
|
}
|
|
|
|
h2 {
|
|
color: #c00;
|
|
font-size: 17pt;
|
|
border-bottom: solid 1px #c00;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 14pt;
|
|
border-bottom: solid 1px #ccc;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 13pt;
|
|
}
|
|
|
|
dl {
|
|
padding-left: 2em;
|
|
}
|
|
</style>
|
|
<title>{% block title %}Jutda Helpdesk Help{% endblock %}</title>
|
|
</head>
|
|
<body>
|
|
<h1>{% block heading %}Jutda Helpdesk Help{% endblock %}</h1>
|
|
|
|
{% block content %}{% endblock %}
|
|
</body>
|
|
</html>
|