mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 16:48:42 +02:00
N°1370 Portal badge : tooltips for descriptions
SVN:trunk[5743]
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
{% if oBrick.GetModal %}data-toggle="modal" data-target="#modal-for-all"{% endif %}
|
||||
class="tile{# vertical-center#}"
|
||||
id="brick-{{ oBrick.GetId }}"
|
||||
data-brick-id="{{ oBrick.GetId }}">
|
||||
data-brick-id="{{ oBrick.GetId }}"
|
||||
{% if oBrick.GetDescription is not empty %} data-toggle="tooltip" data-original-title="{{ oBrick.GetDescription|dict_s|raw }}"{% endif %}
|
||||
>
|
||||
<div>
|
||||
<div>
|
||||
<div class="tile_decoration">{% if oBrick.GetDecorationClassHome %}<span
|
||||
@@ -27,4 +29,4 @@
|
||||
<div class="tile_description">{{ oBrick.GetDescription|dict_s|raw }}</div>
|
||||
</a>
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -124,6 +124,11 @@
|
||||
<script type="text/javascript" src="{{ js_file|add_itop_version }}"></script>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('.tile-badge > .tile[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body class="{% block pPageBodyClass %}{% endblock %}">
|
||||
|
||||
Reference in New Issue
Block a user