Skip to content

Commit

Permalink
tests and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniehobson committed Jul 17, 2024
1 parent bd0a72f commit 621e96e
Show file tree
Hide file tree
Showing 4 changed files with 339 additions and 110 deletions.
4 changes: 2 additions & 2 deletions bedrock/firefox/templates/firefox/all/product.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2 class="c-step-name">
{% if not product %}
<div class="c-step-contents">
<h3 class="c-product-title"><img alt="" role="presentation" src="{{ static('protocol/img/icons/desktop.svg') }}"> Desktop</h3>
<ul class="c-product-list">
<ul class="c-product-list qa-desktop-list">
<li class="release"><a href="{{ url('firefox.all.platforms', product_slug='desktop-release') }}">Firefox</a> <strong>(Recommended)</strong></li>
{% for p in products %}
{% if p.slug.startswith('desktop') and not p.slug.endswith('release') %}
Expand All @@ -35,7 +35,7 @@ <h3 class="c-product-title"><img alt="" role="presentation" src="{{ static('prot

<h3 class="c-product-title"><img alt="" role="presentation" src="{{ static('protocol/img/icons/mobile.svg') }}"> Mobile</h3>

<ul class="c-product-list">
<ul class="c-product-list qa-mobile-list">
<li class="release"><a href="{{ url('firefox.all.platforms', product_slug='mobile-release') }}">Firefox</a> <strong>(Recommended)</strong></li>
{% for p in products %}
{% if p.slug.startswith('android') and not p.slug.endswith('release')%}
Expand Down
1 change: 1 addition & 0 deletions bedrock/firefox/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ class MobileRelease:
"osx": "macOS",
"linux64": "Linux 64-bit",
"linux": "Linux 32-bit",
"linux64-aarch64": "Linux ARM64/AArch64",
}

product = product_slug and product_map.get(product_slug) or None
Expand Down
Loading

0 comments on commit 621e96e

Please sign in to comment.