[damned-lies] Big download buttons for Damned Lies



commit 9e04a5be867290779a6e515b4fbe6a62a872f460
Author: Tom Tryfonidis <tomtryf gmail com>
Date:   Thu Aug 7 23:24:25 2014 +0300

    Big download buttons for Damned Lies
    
    Fixes bug #608280

 common/static/css/template.css          |    1 +
 templates/vertimus/vertimus_detail.html |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/common/static/css/template.css b/common/static/css/template.css
index 0c56010..1474766 100644
--- a/common/static/css/template.css
+++ b/common/static/css/template.css
@@ -590,6 +590,7 @@ div.graphinline {
     background: #eeeeec;
     border: 1px solid #babdb6;
     padding: 4px 12px;
+    margin-bottom: 5px;
     display: inline-block;
     line-height: 16px;
 
diff --git a/templates/vertimus/vertimus_detail.html b/templates/vertimus/vertimus_detail.html
index 02efc13..19941e5 100644
--- a/templates/vertimus/vertimus_detail.html
+++ b/templates/vertimus/vertimus_detail.html
@@ -68,12 +68,12 @@ $(document).ready(function() {
 {% endif %}
 
 <div id="vertimus_stats">
-<div><em><a href="{{ pot_stats.pot_url }}">
+<div><em><a class="icon_button" href="{{ pot_stats.pot_url }}" title="{% trans "Download PO file" %}">
       <img src="{{ STATIC_URL }}img/download.png" alt="{% trans "Download POT file" %}" /></a>
     {{ pot_stats.pot_text }}
   </em></div>
   <div style="display: inline-block;">
-    <a href="{{ po_url }}"><img src="{{ STATIC_URL }}img/download.png" alt="{% trans "Download PO file" %}" 
/></a>
+    <a class="icon_button" href="{{ po_url }}" title="{% trans "Download PO file" %}"><img src="{{ 
STATIC_URL }}img/download.png" alt="{% trans "Download PO file" %}" /></a>
     {% trans "PO file statistics:" %} <br />
        <div id="stats_po">
     <div title="{% trans "Translated/Fuzzy/Untranslated" %}">
@@ -99,7 +99,7 @@ $(document).ready(function() {
 
   {% if po_url_reduced %}
   <div style="display: inline-block; margin: 20px 0 5px 0;">
-    <a href="{{ po_url_reduced }}"><img src="{{ STATIC_URL }}img/download.png" alt="{% trans "Download PO 
file" %}" /></a>
+    <a class="icon_button" href="{{ po_url_reduced }}" title="{% trans "Download PO file" %}"><img src="{{ 
STATIC_URL }}img/download.png" alt="{% trans "Download PO file" %}" /></a>
     {% trans "PO file statistics (reduced):" %}
     <div style="display: inline-block;">
       <span class="help_link"><a href="{% url 'help' 'reduced_po' %}" class="show-overlay">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]