Merge pull request #262 from AGASS007/master

fixed tooltip (again)
This commit is contained in:
Ross Poulton 2014-09-24 08:17:20 +10:00
commit b0756497dc
3 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,13 @@
{% extends "helpdesk/base.html" %}{% load i18n %} {% extends "helpdesk/base.html" %}{% load i18n %}
{% block helpdesk_title %}{% trans "Edit followup" %}{% endblock %} {% block helpdesk_title %}{% trans "Edit followup" %}{% endblock %}
{% block helpdesk_head %}{% endblock helpdesk_head %}
{% block helpdesk_head %}
<script type="text/javascript">
$(document).ready(function() {
$("[data-toggle=tooltip]").tooltip();
});
</script>
{% endblock helpdesk_head %}
{% block helpdesk_body %} {% block helpdesk_body %}

View File

@ -24,6 +24,8 @@
}); });
} }
}); });
$("[data-toggle=tooltip]").tooltip();
}); });
function processAddFileClick() { function processAddFileClick() {

View File

@ -50,7 +50,7 @@
<tr> <tr>
<th>{% trans "Copies To" %}</th> <th>{% trans "Copies To" %}</th>
<td>{{ ticketcc_string }} <strong><a data-toggle='tooltip' href='{% url 'helpdesk_ticket_cc' ticket.id %}' title='{% trans "Click here to add / remove people who should receive an e-mail whenever this ticket is updated." %}'>{% trans "Manage" %}</a></strong>{% if SHOW_SUBSCRIBE %}, <strong><a data-toggle='tooltip' href='?subscribe' title='{% trans "Click here to subscribe yourself to this ticket, if you want to receive an e-mail whenever this ticket is updated." %}'>{% trans "Subscribe" %}</a></strong>{% endif %}</td> <td>{{ ticketcc_string }} <a data-toggle='tooltip' href='{% url 'helpdesk_ticket_cc' ticket.id %}' title='{% trans "Click here to add / remove people who should receive an e-mail whenever this ticket is updated." %}'><strong>{% trans "Manage" %}</strong></a>{% if SHOW_SUBSCRIBE %}, <strong><a data-toggle='tooltip' href='?subscribe' title='{% trans "Click here to subscribe yourself to this ticket, if you want to receive an e-mail whenever this ticket is updated." %}'>{% trans "Subscribe" %}</a></strong>{% endif %}</td>
</tr> </tr>
<tr> <tr>
@ -62,7 +62,7 @@
{% empty %} {% empty %}
<p>{% trans "This ticket has no dependencies." %}</p> <p>{% trans "This ticket has no dependencies." %}</p>
{% endfor %} {% endfor %}
<p><a data-toogle='tooltip' href='{% url 'helpdesk_ticket_dependency_add' ticket.id %}' title="{% 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." %}">{% trans "Add Dependency" %}</a></p> <p><a data-toggle='tooltip' href='{% url 'helpdesk_ticket_dependency_add' ticket.id %}' title="{% 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." %}">{% trans "Add Dependency" %}</a></p>
</td> </td>
</tr> </tr>