Skip to content

Commit

Permalink
pricing: fix markup for pricing table
Browse files Browse the repository at this point in the history
Some used spans, some manual line breaks, consolidate that.

Fixes #1686
  • Loading branch information
nijel committed Nov 9, 2023
1 parent 3f3a0d1 commit 50fbf83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions weblate_web/templates/snippets/pricing.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ <h3>{% trans "Premium Cloud" %}</h3>
</tr>
</table>
<div class="half first">
<div class="box-price"><strong>{{ 49 | price_format }}</strong><br />{% filter lower %}{% trans "Monthly" %}{% endfilter %}</div>
<div class="box-price"><strong>{{ 49 | price_format }}</strong><span class="period">{% filter lower %}{% trans "Monthly" %}{% endfilter %}</span></div>
</div>
<div class="half">
<div class="box-price"><span>{% blocktrans with percent=15 %}Save {{percent}}%{% endblocktrans %}</span><strong>{{ 499 | price_format }}</strong><br />{% filter lower %}{% trans "Yearly" %}{% endfilter %}</div>
<div class="box-price"><span class="save">{% blocktrans with percent=15 %}Save {{percent}}%{% endblocktrans %}</span><strong>{{ 499 | price_format }}</strong><span class="period">{% filter lower %}{% trans "Yearly" %}{% endfilter %}</span></div>
</div>
</div>
<div id="advanced" class="tab-content">
Expand All @@ -86,10 +86,10 @@ <h3>{% trans "Premium Cloud" %}</h3>
</tr>
</table>
<div class="half first">
<div class="box-price"><strong>{{ 99 | price_format }}</strong><br />{% filter lower %}{% trans "Monthly" %}{% endfilter %}</div>
<div class="box-price"><strong>{{ 99 | price_format }}</strong><span class="period">{% filter lower %}{% trans "Monthly" %}{% endfilter %}</span></div>
</div>
<div class="half">
<div class="box-price"><span>{% blocktrans with percent=16 %}Save {{percent}}%{% endblocktrans %}</span><strong>{{ 999 | price_format }}</strong><br />{% filter lower %}{% trans "Yearly" %}{% endfilter %}</div>
<div class="box-price"><span class="save">{% blocktrans with percent=16 %}Save {{percent}}%{% endblocktrans %}</span><strong>{{ 999 | price_format }}</strong><span class="period">{% filter lower %}{% trans "Yearly" %}{% endfilter %}<span></div>
</div>
</div>
<div id="enterprise" class="tab-content">
Expand All @@ -112,10 +112,10 @@ <h3>{% trans "Premium Cloud" %}</h3>
</tr>
</table>
<div class="half first">
<div class="box-price"><strong>{{ 299 | price_format }}</strong><br />{% filter lower %}{% trans "Monthly" %}{% endfilter %}</div>
<div class="box-price"><strong>{{ 299 | price_format }}</strong><span class="period">{% filter lower %}{% trans "Monthly" %}{% endfilter %}</span></div>
</div>
<div class="half">
<div class="box-price"><span>{% blocktrans with percent=17 %}Save {{percent}}%{% endblocktrans %}</span><strong>{{ 2999 | price_format }}</strong><br />{% filter lower %}{% trans "Yearly" %}{% endfilter %}</div>
<div class="box-price"><span class="save">{% blocktrans with percent=17 %}Save {{percent}}%{% endblocktrans %}</span><strong>{{ 2999 | price_format }}</strong><span class="period">{% filter lower %}{% trans "Yearly" %}{% endfilter %}</span></div>
</div>
</div>
</div>
Expand Down

0 comments on commit 50fbf83

Please sign in to comment.