From f823b72db6e79a4596f283c652ec69a4009e8af2 Mon Sep 17 00:00:00 2001 From: Andreas Kotowicz Date: Tue, 29 Nov 2011 15:07:44 +0100 Subject: [PATCH] css fixes: - fix space problems between helpdesk lists and welcome text. in languages other then English, these two used to overlap. - make search input field smaller, so that there is no ugly 'out-of-space' artifact, when 'saved queries' exist and the buttons wrap into the 'helpdesk' h1. --- helpdesk/templates/helpdesk/dashboard.html | 11 +++++++---- helpdesk/templates/helpdesk/navigation.html | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/helpdesk/templates/helpdesk/dashboard.html b/helpdesk/templates/helpdesk/dashboard.html index 283277c2..39adc7d3 100644 --- a/helpdesk/templates/helpdesk/dashboard.html +++ b/helpdesk/templates/helpdesk/dashboard.html @@ -5,7 +5,8 @@ {% endblock %} {% block helpdesk_body %} - +
+
{% for queue in dash_tickets %} @@ -17,13 +18,15 @@ {% endfor %}
{% trans "Helpdesk Summary" %}
{% trans "Queue" %}{% trans "Open" %}{% trans "Resolved" %}{% trans "Closed" %}
+ +
{% if helpdesk_settings.HELPDESK_CUSTOM_WELCOME %} -

{% trans "Welcome to your Helpdesk Dashboard! From here you can quickly see tickets submitted by you, tickets you are working on, and those tickets that have no owner. Why not pick up an orphan ticket and sort it out for a customer?" %}

+

{% trans "Welcome to your Helpdesk Dashboard! From here you can quickly see tickets submitted by you, tickets you are working on, and those tickets that have no owner. Why not pick up an orphan ticket and sort it out for a customer?" %}

{% else %} -

{% trans "Welcome to your Helpdesk Dashboard! From here you can quickly see your own tickets, and those tickets that have no owner. Why not pick up an orphan ticket and sort it out for a customer?" %}

+

{% trans "Welcome to your Helpdesk Dashboard! From here you can quickly see your own tickets, and those tickets that have no owner. Why not pick up an orphan ticket and sort it out for a customer?" %}

{% endif %} - +
{% if all_tickets_reported_by_current_user %} diff --git a/helpdesk/templates/helpdesk/navigation.html b/helpdesk/templates/helpdesk/navigation.html index 4cc2ea89..3393f450 100644 --- a/helpdesk/templates/helpdesk/navigation.html +++ b/helpdesk/templates/helpdesk/navigation.html @@ -20,7 +20,7 @@ {% endif %}
  • {% trans "Logout" %}
  • - {% if not query %}
  • {% csrf_token %}
  • {% endif %} + {% if not query %}
  • {% csrf_token %}
  • {% endif %} {% else %}