From 32d317cdef0110f22bbe87af03cd3fc2b2f8882f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Fri, 16 Oct 2015 11:29:08 +0200 Subject: [PATCH 1/2] add download button to loan form --- js/components/ascribe_forms/form_loan.js | 3 +++ sass/ascribe_notification_page.scss | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index ef2fbd13..44204963 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -130,6 +130,9 @@ let LoanForm = React.createClass({ src={contract.blob.url_safe} alt="pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html"/> + + Download contract + {/* We still need to send the server information that we're accepting */} Date: Fri, 16 Oct 2015 12:10:28 +0200 Subject: [PATCH 2/2] add getLangText --- js/components/ascribe_forms/form_loan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index 44204963..3a61c0da 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -131,7 +131,7 @@ let LoanForm = React.createClass({ alt="pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html"/> - Download contract + {getLangText('Download contract')} {/* We still need to send the server information that we're accepting */}