From df0a09f23d892e0b90f50ab2f47d990dfc61ad57 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Wed, 30 Sep 2015 16:08:05 +0200 Subject: [PATCH] lingo: 'view and pay' link if invoice online payable (#8422) --- combo/apps/lingo/locale/fr/LC_MESSAGES/django.po | 10 +++++++--- combo/apps/lingo/templates/lingo/combo/items.html | 4 +++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/combo/apps/lingo/locale/fr/LC_MESSAGES/django.po b/combo/apps/lingo/locale/fr/LC_MESSAGES/django.po index 00c6403a..cb6ca361 100644 --- a/combo/apps/lingo/locale/fr/LC_MESSAGES/django.po +++ b/combo/apps/lingo/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: lingo 0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-25 09:11+0000\n" +"POT-Creation-Date: 2015-09-30 14:24+0000\n" "PO-Revision-Date: 2015-03-10 11:05+0100\n" "Last-Translator: Frederic Peters \n" "Language: French\n" @@ -212,11 +212,15 @@ msgstr "" msgid "View" msgstr "Voir" -#: lingo/templates/lingo/combo/items.html:29 +#: lingo/templates/lingo/combo/items.html:27 +msgid "and pay" +msgstr "et payer" + +#: lingo/templates/lingo/combo/items.html:31 msgid "Download" msgstr "Télécharger" -#: lingo/templates/lingo/combo/items.html:37 +#: lingo/templates/lingo/combo/items.html:39 msgid "No items yet" msgstr "Aucune facture" diff --git a/combo/apps/lingo/templates/lingo/combo/items.html b/combo/apps/lingo/templates/lingo/combo/items.html index 6860c558..a7bdd76d 100644 --- a/combo/apps/lingo/templates/lingo/combo/items.html +++ b/combo/apps/lingo/templates/lingo/combo/items.html @@ -23,7 +23,9 @@ {% endblocktrans %} - {% trans "View" %} + {% trans "View" %} + {% if item.online_payment %}{% trans "and pay" %}{% endif %} + {% if item.has_pdf %} / {% trans "Download" %}