diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-01 20:06:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-01 20:06:33 +0100 |
commit | e489e5d7fde17a8cfab70d65a16363f93668ae54 (patch) | |
tree | 0f4dcdd8d5d69207707b1b89f98ef715db3c7ecc /template | |
parent | bfdaaf9b13f3ff9144e852e494002799f872f48f (diff) | |
download | www-e489e5d7fde17a8cfab70d65a16363f93668ae54.tar.gz www-e489e5d7fde17a8cfab70d65a16363f93668ae54.tar.bz2 www-e489e5d7fde17a8cfab70d65a16363f93668ae54.zip |
fix links
Diffstat (limited to 'template')
-rw-r--r-- | template/docs.html.j2 | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/template/docs.html.j2 b/template/docs.html.j2 index d6fd4c4..6c84c44 100644 --- a/template/docs.html.j2 +++ b/template/docs.html.j2 @@ -37,11 +37,10 @@ <img src="{{ url('icons/icon-backend.svg') }}" height=60> <h3>{{ _("Merchant Backend Administration")}}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Tutorial and manual for operating a merchant. - Also available as - <a href="https://{{ baseurl }}/pdf/taler-merchant-manual.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-merchant-manual.pdf") }} </div> <div class="col-3"> @@ -49,11 +48,10 @@ <img src="{{ url('icons/icon-market.svg') }}" height=60> <h3>{{ _("Merchant API Tutorial") }}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Tutorial for processing Taler payments using the merchant backend API. - Also available as - <a href="https://{{ baseurl }}/pdf/taler-merchant-api-tutorial.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-merchant-api-tutorial.pdf") }} </div> <div class="col-3"> @@ -61,11 +59,10 @@ <img src="{{ url('icons/icon-exchange.svg') }}" height=60> <h3>{{ _("Exchange")}}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Operator's manual for the GNU Taler exchange. - Also available as - <a href="https://{{ baseurl }}/pdf/taler-exchange-manual.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-exchange-manual.pdf") }} </div> <div class="col-3"> @@ -73,11 +70,10 @@ <img src="{{ url('icons/icon-bank.svg') }}" height=60> <h3>{{ _("Bank Integration") }}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Manual for tightly integrating Taler with banking applications. - Also available as - <a href="https://{{ baseurl }}/pdf/taler-bank-manual.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-bank-manual.pdf") }} </div> </div> @@ -103,11 +99,10 @@ <img src="{{ url('icons/icon-backoffice.svg') }}" height=60> <h3>{{ _("Back office") }}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Manual to run the back-office Web application. - Also available as - <a href="https://{{ baseurl }}/pdf/taler-backoffice-manual.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-backoffice-manual.pdf") }} </div> <div class="col-3"> @@ -115,11 +110,10 @@ <img src="{{ url('icons/icon-market.svg') }}" height=60> <h3>{{ _("Merchant POS Terminal") }}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Manual for configuring and using the point of sale app. - Also available as - <a href="https://{{ baseurl }}/pdf/taler-merchant-pos-terminal.pdf">PDF</a>. {% endtrans %} + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/taler-merchant-pos-terminal.pdf") }} </div> <div class="col-3"> @@ -161,11 +155,10 @@ <img src="{{ url('icons/icon-developers.svg') }}" height=60> <h3>{{ _("Onboarding")}}</h3> </a> - {% trans baseurl=siteconfitem['docshost'] %} + {% trans %} Description of our taler.net setup and how to contribute. - Also available as {% endtrans %} - <a href="https://{{ baseurl }}/pdf/developers-manual.pdf">PDF</a>. + {{ gettext('Also available as <a href="%(link)s">PDF</a>.', link="https://" + siteconfitem['docshost'] + "/pdf/developers-manual.pdf") }} </div> </div> |