From 8d0607e563acee7245aaed7b87bc8228171af7f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Mon, 29 Jan 2018 15:24:48 +0100 Subject: [PATCH] =?UTF-8?q?Replace=20text=20in=20=E2=80=9Craw=20data?= =?UTF-8?q?=E2=80=9D=20download=20button=20with=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The “raw data” link was very verbose and, perhaps, not as easily recognizible for a download button than the Font Awesome download icon. Replacing the text “raw data” with an icon also saves some space that we’ll need in the action bar to add a detail view switch. --- docs/assets/js/charts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/assets/js/charts.js b/docs/assets/js/charts.js index b351feaa..6ff997cd 100644 --- a/docs/assets/js/charts.js +++ b/docs/assets/js/charts.js @@ -897,7 +897,8 @@ $(window).bind('load', function() // Add an action box as the first info box const downloadLink = 'Raw data'; + + '" target="_blank" title="Download raw data">' + + ''; titles.parent().parent().append( '

' + downloadLink + '

'); }