From ab67f1397a7427e5ced0d7a650db8aa4aff00539 Mon Sep 17 00:00:00 2001 From: Andreas Kotowicz Date: Thu, 24 Nov 2011 14:26:15 +0100 Subject: [PATCH] added toolips to 'Copies to' and 'Dependencies' links, explaining what these links are for. added a.tooltip class to css file. --- helpdesk/static/helpdesk/helpdesk.css | 31 +++++++++++++++++++ .../templates/helpdesk/ticket_desc_table.html | 4 +-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/helpdesk/static/helpdesk/helpdesk.css b/helpdesk/static/helpdesk/helpdesk.css index a37c2b8c..48b434d2 100644 --- a/helpdesk/static/helpdesk/helpdesk.css +++ b/helpdesk/static/helpdesk/helpdesk.css @@ -280,3 +280,34 @@ span.priority5 { a.followup-edit { float:right; } + +/* tooltips for link hover */ +a.tooltip, a.tooltip:link, a.tooltip:visited, a.tooltip:active { + position: relative; + text-decoration: none; + font-style: italic; +} + +a.tooltip:hover { + background: transparent; +} + +a.tooltip span { + display: none; + text-decoration: none; +} + +a.tooltip:hover span { + display: block; + position: absolute; + top: 25px; + left: 0; + width: 250px; + z-index: 10; + color: #000000; + border:1px solid #000000; + background: #FFFFCC; + font: 12px Verdana, sans-serif; + text-align: left; +} + diff --git a/helpdesk/templates/helpdesk/ticket_desc_table.html b/helpdesk/templates/helpdesk/ticket_desc_table.html index 20b40b75..3535c8d8 100644 --- a/helpdesk/templates/helpdesk/ticket_desc_table.html +++ b/helpdesk/templates/helpdesk/ticket_desc_table.html @@ -34,7 +34,7 @@ {% trans "Copies To" %} - {% for ticketcc in ticket.ticketcc_set.all %}{{ ticketcc.display }}{% if not forloop.last %}, {% endif %}{% endfor %} {% trans "Manage" %} + {% for ticketcc in ticket.ticketcc_set.all %}{{ ticketcc.display }}{% if not forloop.last %}, {% endif %}{% endfor %} {% trans "Manage" %}{% trans "Click here to add / remove people who should receive an e-mail whenever this ticket is updated." %} {% if tags_enabled %} @@ -53,7 +53,7 @@ {% empty %}

{% trans "This ticket has no dependencies." %}

{% endfor %} -

{% trans "Add Dependency" %}

+

{% trans "Add Dependency" %}{% trans "Click on 'Add Dependency', if you want to make this ticket dependent on another ticket. A ticket may not be closed until all tickets it depends on are closed." %}