mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Compare commits
2 Commits
05-10-2024
...
commenting
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
95d0d60845 | ||
|
|
26aeb442bb |
@@ -15,7 +15,7 @@
|
|||||||
{%- for font in font_paths %}
|
{%- for font in font_paths %}
|
||||||
<link rel="preload" href="{{ asset_url(font, with_querystring_hash=False) }}" as="font" type="font/woff2" crossorigin>
|
<link rel="preload" href="{{ asset_url(font, with_querystring_hash=False) }}" as="font" type="font/woff2" crossorigin>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
<link rel="stylesheet" media="screen" href="{{ asset_url('css/styles.css') }}" />
|
<!-- <link rel="stylesheet" media="screen" href="{{ asset_url('css/styles.css') }}" /> -->
|
||||||
<link rel="stylesheet" media="screen" href="{{ asset_url('stylesheets/main.css') }}" />
|
<link rel="stylesheet" media="screen" href="{{ asset_url('stylesheets/main.css') }}" />
|
||||||
<link rel="stylesheet" media="print" href="{{ asset_url('stylesheets/print.css') }}" />
|
<link rel="stylesheet" media="print" href="{{ asset_url('stylesheets/print.css') }}" />
|
||||||
{% block extra_stylesheets %}
|
{% block extra_stylesheets %}
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ def test_css_is_served_from_correct_path(client_request):
|
|||||||
page.select('link[rel=stylesheet]')
|
page.select('link[rel=stylesheet]')
|
||||||
):
|
):
|
||||||
assert link['href'].startswith([
|
assert link['href'].startswith([
|
||||||
'https://static.example.com/css/styles.css?',
|
# 'https://static.example.com/css/styles.css?',
|
||||||
'https://static.example.com/stylesheets/main.css?',
|
'https://static.example.com/stylesheets/main.css?',
|
||||||
'https://static.example.com/stylesheets/print.css?',
|
'https://static.example.com/stylesheets/print.css?',
|
||||||
][index])
|
][index])
|
||||||
|
|||||||
Reference in New Issue
Block a user