Commit ada1d672 authored by Stefan Marsiske's avatar Stefan Marsiske

Merge pull request #54 from Cynddl/master

Fix for the tooltip "confirmation"
parents 9c76c6a2 7dcc980d
......@@ -415,6 +415,11 @@ div.comment {
font-weight: normal;
}
#report #icons span.tooltip_on {
font-weight: normal;
margin-right: 0.3em;
}
#editorial {
margin-top: .7em; margin-bottom: 1em; padding: 0.5em;
background-color: #EEDC94;
......
......@@ -49,7 +49,7 @@ $(document).ready(function() {
}
return false;
});
$('span').hover(function(){$('span#'+this.id+'_tooltip').fadeIn();}, function(){$('span#'+this.id+'_tooltip').hide();});
$('span').hover(function(){$('span#'+this.id+'_tooltip').fadeIn();}, function(){$('span#'+this.id+'_tooltip').hide();});
});
</script>
{% endblock %}
......@@ -60,7 +60,7 @@ $(document).ready(function() {
<div id="report">
<div id="icons">
<span id="verified_tooltip" class="tooltip">{% trans "This case was verified by the management team" %}</span>
<span id="confirmations_tooltip" class="tooltip">{%if v.confirmations == 0 %} {% trans "Nobody has yet confirmed the case. Feel free to do it" %} {%else%} {{v.confirmations}} {% trans "people confirmed this case" %} {%endif%}</span>
<span class="tooltip_on">{%if v.confirmations == 0 %} {% trans "Nobody has yet confirmed the case. Feel free to do it" %} {%else%} {{v.confirmations}} {% trans "people confirmed this case" %} {%endif%}</span>
{% if v.state == 'verified' %}<span id="verified"></span> |{% endif %}
<span id="confirmations">{{v.confirmations}}</span> |
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment