added toolips to 'Copies to' and 'Dependencies' links, explaining what these links are for.

added a.tooltip class to css file.
This commit is contained in:
Andreas Kotowicz 2011-11-24 14:26:15 +01:00
parent 1c3a7a8a7b
commit ab67f1397a
2 changed files with 33 additions and 2 deletions

View File

@ -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;
}

View File

@ -34,7 +34,7 @@
<tr class='{% cycle rowcolors %}'>
<th>{% trans "Copies To" %}</th>
<td>{% for ticketcc in ticket.ticketcc_set.all %}{{ ticketcc.display }}{% if not forloop.last %}, {% endif %}{% endfor %} <strong><a href='{% url helpdesk_ticket_cc ticket.id %}'>{% trans "Manage" %}</a></strong></td>
<td>{% for ticketcc in ticket.ticketcc_set.all %}{{ ticketcc.display }}{% if not forloop.last %}, {% endif %}{% endfor %} <strong><a class='tooltip' href='{% url helpdesk_ticket_cc ticket.id %}'>{% trans "Manage" %}<span>{% trans "Click here to add / remove people who should receive an e-mail whenever this ticket is updated." %}</span></a></strong></td>
</tr>
{% if tags_enabled %}
@ -53,7 +53,7 @@
{% empty %}
<p>{% trans "This ticket has no dependencies." %}</p>
{% endfor %}
<p><a href='{% url helpdesk_ticket_dependency_add ticket.id %}'>{% trans "Add Dependency" %}</a></p>
<p><a class='tooltip' href='{% url helpdesk_ticket_dependency_add ticket.id %}'>{% trans "Add Dependency" %}<span>{% 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." %}</span></a></p>
</td>
</tr>