Leo McArdle 2021-09-15 10:49:51 +01:00 коммит произвёл Leo McArdle
Родитель 0e0a67927e
Коммит f921cdb065
6 изменённых файлов: 25 добавлений и 24 удалений

Просмотреть файл

@ -17,7 +17,7 @@ class ZendeskForm(forms.Form):
required=False,
)
subject = forms.CharField(label=_lazy("Subject"), required=False)
description = forms.CharField(label=_lazy("Description of issue"), widget=forms.Textarea())
description = forms.CharField(label=_lazy("Your message"), widget=forms.Textarea())
def __init__(self, *args, product, **kwargs):
kwargs.update({"initial": {"product": product.slug}})

Просмотреть файл

@ -43,7 +43,7 @@
</h3>
<p class="card--desc">
{% if product and product.has_subscriptions %}
{{ _('Were here for you. Send a message to our support team and we\'ll be glad to help.') }}
{{ _('Were here for you! If you havent found a solution after exploring our help articles, you can get in touch with our support team.') }}
{% else %}
{{ _('Were here for you. Post a question to our support forums and get answers from our community of experts.') }}
{% endif %}
@ -54,9 +54,9 @@
{% set aaq_url=url('questions.aaq_step1') %}
{% endif %}
<a class="sumo-button primary-button button-lg"
href={{ aaq_url }} data-event-label="Contact support">
href={{ aaq_url }} data-event-label="Get support">
{% if product and product.has_subscriptions %}
{{ _('Contact Support') }}
{{ _('Get Support') }}
{% else %}
{{ _('Ask the Community') }}
{% endif %}

Просмотреть файл

@ -86,16 +86,17 @@ we can compute the edit-title URL.
who take the time out of their day to help.
{% endtrans %}
</p>
<div class="info card shade-bg highlight mb">
{% trans %}
Be descriptive. Saying &quot;Playing video on YouTube is
always choppy&quot; will help our volunteers identify
your problem better than saying &quot;Something is
wrong&quot; or &quot;Firefox is broken&quot;.
{% endtrans %}
</div>
{% endif %}
<div class="info card shade-bg highlight mb">
{% trans %}
Be descriptive.
Saying “playing video on YouTube is always choppy”
will help us understand the issue better than saying
“something is wrong” or “the app is broken”.
{% endtrans %}
</div>
{% for field in form.hidden_fields() %}
{{ field|safe }}
{% endfor %}

Просмотреть файл

@ -29,7 +29,7 @@
{% block major_detail_instructions %}
<h2 class="sumo-page-heading">
{% if has_subscriptions %}
{{ _('Get support') }}
{{ _('Contact Support') }}
{% else %}
{{ _('Ask your question') }}
{% endif %}

Просмотреть файл

@ -64,20 +64,20 @@
<path d="M17.5 2.5a2.121 2.121 0 013 3L13 13l-4 1 1-4 7.5-7.5z" />
</g>
</svg>
<h4 class="mzp-c-menu-item-title">{{ _('Ask the Community') }}</h4>
<h4 class="mzp-c-menu-item-title">{{ _('Ask a Question') }}</h4>
<p class="mzp-c-menu-item-desc">
{{ _('Create a thread and find answers by posting a question to any of our product support forums.') }}
{{ _('Get support from our contributors or staff members.') }}
</p>
</a>
<ul class="mzp-c-menu-item-list sumo-nav--sublist">
<li><a href="{{ url('questions.aaq_step2', 'desktop') }}">{{ _('Firefox Browser') }}</a></li>
<li><a
href="{{ url('questions.aaq_step2', 'firefox-private-network') }}">{{ _('Firefox Private Network') }}</a>
href="{{ url('questions.aaq_step2', 'firefox-private-network-vpn') }}">{{ _('Mozilla VPN') }}</a>
</li>
<li><a href="{{ url('questions.aaq_step2', 'ios') }}">{{ _('Firefox for iOS') }}</a></li>
<li><a href="{{ url('questions.aaq_step2', 'firefox-lockwise') }}">{{ _('Firefox Lockwise') }}</a></li>
<li><a href="{{ url('questions.aaq_step2', 'focus') }}">{{ _('Firefox Focus') }}</a></li>
<li><a href="{{ url('questions.aaq_step2', 'mobile') }}">{{ _('Firefox for Android') }}</a></li>
<li><a class="color-link" href="{{ url('questions.home') }}">{{ _('Browse All Product Forums') }}</a></li>
<li><a class="color-link" href="{{ url('questions.aaq_step1') }}">{{ _('Browse All Products') }}</a></li>
</ul>
</section>
</div>
@ -100,12 +100,12 @@
<ul class="mzp-c-menu-item-list sumo-nav--sublist">
<li><a href="{{ url('products.product', 'firefox') }}">{{ _('Firefox Browser') }}</a></li>
<li><a
href="{{ url('products.product', 'firefox-private-network') }}">{{ _('Firefox Private Network') }}</a>
href="{{ url('products.product', 'firefox-private-network-vpn') }}">{{ _('Mozilla VPN') }}</a>
</li>
<li><a href="{{ url('products.product', 'ios') }}">{{ _('Firefox for iOS') }}</a></li>
<li><a href="{{ url('products.product', 'firefox-lockwise') }}">{{ _('Firefox Lockwise') }}</a></li>
<li><a href="{{ url('products.product', 'focus-firefox') }}">{{ _('Firefox Focus') }}</a></li>
<li><a href="{{ url('products.product', 'mobile') }}">{{ _('Firefox for Android') }}</a></li>
<li><a class="color-link" href="{{ url('products') }}">{{ _('See All Articles') }}</a></li>
<li><a class="color-link" href="{{ url('products') }}">{{ _('Browse All Articles') }}</a></li>
</ul>
</section>
</div>

Просмотреть файл

@ -139,7 +139,7 @@
</h3>
<p class="card--desc">
{{ _('Were here for you. Post a question to our support forums and get answers from our community of experts.') }}
{{ _('Were here for you. Get support from our contributors or staff members.') }}
</p>
<a
id="search-results-aaq-link"
@ -147,8 +147,8 @@
href="/questions/new"
data-event-category="link click"
data-event-action="topic"
data-event-label="Get community support">
{{ _('Ask the Community') }}
data-event-label="Get support">
{{ _('Get Support') }}
</a>
</div>
</div>