validation fixes for user profile
This commit is contained in:
Родитель
6df4cbda3c
Коммит
3146ded00b
|
@ -3,7 +3,7 @@
|
|||
{% set base = '/addons/contribute/{0}?source=direct'|f(addon.id) %}
|
||||
<div class="contribute">
|
||||
{% if addon.suggested_amount is not none %}
|
||||
{% trans url=base|urlparams(type='suggested'),
|
||||
{% trans url=base|urlparams(type='suggested')|escape,
|
||||
amt=addon.suggested_amount|currencyfmt('USD') %}
|
||||
Support this add-on: <a href="{{ url }}">Contribute {{ amt }}</a>
|
||||
{% endtrans %}
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
<h4 class="summary">
|
||||
<a class="url" href="{{ addon.get_url_path() }}">{{ addon.name }}</a>
|
||||
</h4>
|
||||
<p class="description" locale="{{ review.body.locale }}">
|
||||
<p class="description" {{ review.body|locale_html }}>
|
||||
{{ review.body|nl2br }}
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<div>
|
||||
<table class="{{ table_class }}" summary="{{ _('Developer Information') }}">
|
||||
<table class="{{ table_class }}">
|
||||
<caption>{{ _('Developer Information') }}</caption>
|
||||
<tbody>
|
||||
{# TODO msgctxt for table headers #}
|
||||
<tr>
|
||||
|
|
Загрузка…
Ссылка в новой задаче