From 327ada454cdd634b719782f6866dedf32294491d Mon Sep 17 00:00:00 2001 From: Kálmán Viktor <kviktor@cloud.bme.hu> Date: Tue, 25 Mar 2014 10:21:30 +0100 Subject: [PATCH] dashboard: trans disk remove buttons (closes #138) --- circle/dashboard/templates/dashboard/_disk-list-element.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/circle/dashboard/templates/dashboard/_disk-list-element.html b/circle/dashboard/templates/dashboard/_disk-list-element.html index 40633e6..3786f4a 100644 --- a/circle/dashboard/templates/dashboard/_disk-list-element.html +++ b/circle/dashboard/templates/dashboard/_disk-list-element.html @@ -11,7 +11,9 @@ {% endif %} {% else %}<span class="disk-list-disk-percentage" data-disk-pk="{{ d.pk }}">{{ d.get_download_percentage }}</span>%{% endif %} <a href="{% url "dashboard.views.disk-remove" pk=d.pk %}?next={{ request.path }}" - data-disk-pk="{{ d.pk }}" class="btn btn-xs btn-danger pull-right disk-remove"> - <i class="icon-remove"></i>{% if long_remove %} Remove{% endif %} + data-disk-pk="{{ d.pk }}" class="btn btn-xs btn-danger pull-right disk-remove" + {% if not long_remove %}title="{% trans "Remove" %}"{% endif %} + > + <i class="icon-remove"></i>{% if long_remove %} {% trans "Remove" %}{% endif %} </a> <div style="clear: both;"></div> -- libgit2 0.26.0