Skip to content

[Bug 1385087] Add firefox download button for non fx user#2911

Merged
pmac merged 2 commits intomozilla:masterfrom
safwanrahman:firefox
Aug 16, 2017
Merged

[Bug 1385087] Add firefox download button for non fx user#2911
pmac merged 2 commits intomozilla:masterfrom
safwanrahman:firefox

Conversation

@safwanrahman
Copy link
Contributor

@safwanrahman safwanrahman commented Aug 15, 2017

So it will show Firefox Download Button to non fx users in all pages except Firefox Landing page because it already have a download firefox button.
@pmac @bensternthal r?

Copy link
Contributor

@pmac pmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small change I think. Looks great otherwise. Nice work!

{% endfor %}

{# Show firefox download button to unauthenticated users only #}
{% if not user.is_authenticated() %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be the same logic from line 141 I think

{% if not (hide_fx_download or user.is_authenticated()) %}

@safwanrahman
Copy link
Contributor Author

@pmac Updated. r?

Copy link
Contributor

@pmac pmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants