add new prices

This commit is contained in:
Simon Bruder 2018-06-03 18:06:38 +00:00
parent 7a9a56bb06
commit 8932f58e62
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 7 additions and 30 deletions

View file

@ -66,22 +66,7 @@ text = "Viele Menschen mit Behinderung haben Schwierigkeiten sei es auf G
[params.pricing] [params.pricing]
heading = "Preise" heading = "Preise"
price = "5,95 €"
[[params.pricing.row]]
quantity = "bis 10"
price = "4,95 €"
[[params.pricing.row]]
quantity = "11 bis 20"
price = "4,00 €"
[[params.pricing.row]]
quantity = "21 bis 50"
price = "3,50 €"
[[params.pricing.row]]
quantity = "über 50"
price = "3,00 €"
[params.order] [params.order]
heading = "Bestellen" heading = "Bestellen"

View file

@ -2,20 +2,12 @@
<div class="row"> <div class="row">
<div class="six columns"> <div class="six columns">
<h5>{{ .Site.Params.Pricing.heading }}</h5> <h5>{{ .Site.Params.Pricing.heading }}</h5>
<table class="u-full-width"> <p>
<thead> Ein Schließpendel kostet
<tr> <strong>{{ .Site.Params.Pricing.price }}</strong>. Bei größeren
<th>Abnahmemenge</th> Abnehmemengen, fordern Sie bitte einen Kostenvoranschlag an, um
<th>Preis pro Stück</th> günstigere Konditionen zu erhalten.
</tr> </p>
{{ range .Site.Params.Pricing.row }}
<tr>
<td>{{ .quantity }}</td>
<td>{{ .price }}</td>
</tr>
{{ end }}
</thead>
</table>
</div> </div>
<div class="six columns"> <div class="six columns">
<h5>{{ .Site.Params.Order.heading }}</h5> <h5>{{ .Site.Params.Order.heading }}</h5>