Skip to content

Commit

Permalink
Merge pull request #1123 from Victoire/adding-compatibility-print-sty…
Browse files Browse the repository at this point in the history
…le-sheets

Added compatibility with print style sheets
  • Loading branch information
paulandrieux authored May 2, 2019
2 parents 1cf079c + daa0117 commit 53c314c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Bundle/CoreBundle/Resources/views/Layout/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
{% stylesheets filter='less, cssrewrite' injector="head" %}
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="screen" />
{% endstylesheets %}
{% stylesheets injector="print" %}
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="print" />
{% endstylesheets %}

{% if is_granted('ROLE_VICTOIRE') or app.request.attributes.get('_route') == 'fos_user_security_login' %}
{% stylesheets filter='less, cssrewrite' injector="victoire-edit" %}
Expand Down

0 comments on commit 53c314c

Please sign in to comment.