Skip to content

Commit

Permalink
fixing collection login test
Browse files Browse the repository at this point in the history
  • Loading branch information
potch committed Sep 16, 2010
1 parent 0799c71 commit ab05f48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions apps/addons/templates/addons/includes/collection_add_widget.html
Expand Up @@ -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>
2 changes: 1 addition & 1 deletion templates/base.html
Expand Up @@ -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.
Expand Down

0 comments on commit ab05f48

Please sign in to comment.