fixing collection login test
This commit is contained in:
Родитель
0799c7121a
Коммит
ab05f480d4
|
@ -9,22 +9,3 @@
|
|||
>
|
||||
{{ _('Add to collection') if not condensed }}
|
||||
</a>
|
||||
<div class="hidden">
|
||||
<div class="collection-add-dropdown popup{{ ' left' if condensed else '' }}">
|
||||
{% if user.is_anonymous() %}
|
||||
<div class="collection-add-login">
|
||||
<p>{% trans %}
|
||||
To create your own collections, you must have a Mozilla Add-ons account.
|
||||
{% endtrans %}</p>
|
||||
<p class="register-button">
|
||||
<a class="button" href="{{ remora_url('users/register') }}">{{ _('Create an Add-ons Account') }}</a>
|
||||
</p>
|
||||
<p>
|
||||
{% trans login=login_link() %}
|
||||
or <a href="{{ login }}">log in to your current account</a>
|
||||
{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
|
@ -101,7 +101,7 @@
|
|||
<div id="popup-staging">
|
||||
{{ sharing_box() }}
|
||||
<div id="add-to-collection" class="popup">
|
||||
{% if user.is_anonymous() %}
|
||||
{% if request.user.is_anonymous() %}
|
||||
<div class="collection-add-login">
|
||||
<p>{% trans %}
|
||||
To create your own collections, you must have a Mozilla Add-ons account.
|
||||
|
|
Загрузка…
Ссылка в новой задаче