Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/mozilla/kitsune into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Basma1912 committed Dec 11, 2024
2 parents b9e8fd0 + a23e91d commit 4c63775
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 46 deletions.
1 change: 0 additions & 1 deletion kitsune/products/jinja2/products/product.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{% from 'includes/common_macros.html' import for_contributors_sidebar, download_firefox, featured_articles %}
{% from 'products/includes/topic_macros.html' import help_topics, topic_metadata with context %}
{% set crumbs = [(None, pgettext('DB: products.Product.title', product.title))] %}
{% set scripts = ('products',) %}
{% set classes = 'product-landing' %}
{% set search_params = {'product': product.slug} %}
{% set extra_body_attrs = {'data-product-slug': product.slug} %}
Expand Down
21 changes: 0 additions & 21 deletions kitsune/sumo/jinja2/includes/common_macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -957,27 +957,6 @@ <h4 class="mzp-c-menu-item-title">{{ _('Inbox') }}</h4>
<li><a href="https://www.mozilla.org/legal/privacy/firefox">{{ _('Privacy') }}</a></li>
</ul>
</div>
{#
afaict, this button is never shown. products.js is looking for a
data-latest-version attribute on the .download-button element above,
but it's not present. this should be fixed?
#}
<div class="refresh-firefox">
<p class="help-text">{{ _('Give Firefox a tune up') }}</p>
<a data-mozilla-ui-reset="reset" class="download-button sumo-button primary-button button-lg">
{{ _('Refresh Firefox') }}
</a>
<ul class="download-info text-body-xs">
<li><a class="reset-link" href="{{ url('wiki.document', 'refresh-firefox-reset-add-ons-and-settings') }}">
{{ _('How does it work?') }}
</a></li>
<li>
<a href="https://www.mozilla.org/firefox/new/#download-fx">
{{ _('Download a fresh copy') }}
</a>
</li>
</ul>
</div>
</div>
</div>
{% endmacro %}
Expand Down
17 changes: 0 additions & 17 deletions kitsune/sumo/static/sumo/js/products.js

This file was deleted.

4 changes: 0 additions & 4 deletions kitsune/sumo/static/sumo/scss/layout/_products.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,3 @@
margin: 0 p.$spacing-xs;
}
}

.refresh-firefox {
display: none;
}
3 changes: 0 additions & 3 deletions webpack/entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ const entrypoints = {
"questions.geo": [
"sumo/js/location.js",
],
products: [
"sumo/js/products.js",
],
topics: [
"sumo/js/topics.js",
],
Expand Down

0 comments on commit 4c63775

Please sign in to comment.