mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Make people sign in to get the agreement
Currently we have a bunch of users who aren’t signed in asking us for the agreement. This is bad because: - it’s slower (for them) than just being able to download it - it creates work for us We can’t just offer the agreement to anyone, but we can offer to it to anyone who’s signed in because we now let people self-select which version to download when we can’t tell which one to give them.
This commit is contained in:
@@ -125,16 +125,12 @@
|
||||
<h2 class="heading-medium" id="paying">How to pay</h2>
|
||||
<p>You can find details of how to pay for Notify in our data sharing and financial agreement.</p>
|
||||
<p>
|
||||
<a href="{{url_for('.feedback', ticket_type='ask-question-give-feedback', body='agreement')}}">Contact us</a> to get a copy of the agreement
|
||||
{% if agreement_info.agreement_signed %}
|
||||
({{ agreement_info.owner }} has already accepted it).
|
||||
{% else %}
|
||||
{% if agreement_info.owner and agreement_info.agreement_signed != None %}
|
||||
({{ agreement_info.owner }} hasn’t accepted it yet).
|
||||
{% else %}
|
||||
or find out if we already have one in place with your organisation.
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{{ agreement_info.as_pricing_paragraph(
|
||||
pricing_link=url_for('main.sign_in', next=url_for('main.pricing', _anchor='paying')),
|
||||
download_link=url_for('main.agreement'),
|
||||
support_link=url_for('.feedback', ticket_type='ask-question-give-feedback', body='agreement'),
|
||||
signed_in=current_user.is_authenticated,
|
||||
) }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,8 +22,10 @@ Terms of use
|
||||
|
||||
<p>
|
||||
{{ agreement_info.as_terms_of_use_paragraph(
|
||||
terms_link=url_for('main.sign_in', next=url_for('main.terms')),
|
||||
download_link=url_for('.agreement'),
|
||||
contact_link=url_for('.feedback', ticket_type='ask-question-give-feedback', body='agreement-with-owner')
|
||||
support_link=url_for('.feedback', ticket_type='ask-question-give-feedback', body='agreement'),
|
||||
signed_in=current_user.is_authenticated
|
||||
)}}
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user