From 2a5380f5e4d175b0f4710bb9a6c9511d52828be5 Mon Sep 17 00:00:00 2001 From: Chris Van Date: Tue, 13 Dec 2011 10:50:21 -0800 Subject: [PATCH] appify copy for Submit Review modal (bug 707731) --- .../addons/impala/review_add_box.html | 40 +++++++++++++------ 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/apps/addons/templates/addons/impala/review_add_box.html b/apps/addons/templates/addons/impala/review_add_box.html index 00e19a201d..abf8d842e9 100644 --- a/apps/addons/templates/addons/impala/review_add_box.html +++ b/apps/addons/templates/addons/impala/review_add_box.html @@ -23,21 +23,37 @@

- {% trans %} - Please do not post bug reports in reviews. We do not make your email - address available to add-on developers and they may need to contact - you to help resolve your issue. - {% endtrans %} + {% if webapp %} + {{ loc('Please do not post bug reports in reviews. We do not make + your email address available to app developers and they may + need to contact you to help resolve your issue.') }} + {% else %} + {% trans %} + Please do not post bug reports in reviews. We do not make your email + address available to add-on developers and they may need to contact + you to help resolve your issue. + {% endtrans %} + {% endif %}

{% if addon.support_url or addon.support_email %} -

- {% trans support='#support' %} - See the support section to find out - where to get assistance for this add-on. - {% endtrans %} -

+

+ {% with support=request.path + '#support' %} + {% if webapp %} + {{ loc('See the support section to + find out where to get assistance for this app.')|f( + support=support)|safe }} + {% else %} + {% trans %} + See the support section to find out + where to get assistance for this add-on. + {% endtrans %} + {% endif %} + {% endwith %} +

+ {% endif %} + {% if not webapp %} +

{{ _('Review Guidelines') }}

{% endif %} -

{{ _('Review Guidelines') }}

{{ _('Detailed Review') }}