Skip to content

Commit

Permalink
Changed to psr-4 and applied less filter instead of lessphp
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsavdar committed Feb 17, 2016
1 parent 80c8052 commit 13760c1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Resources/views/Blog/view.pdf.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>{{ _resource.resourceNode.name ~ '.pdf' }}</title>
{% stylesheets debug=false filter='lessphp' output='bundles/icapblog/css/pdf.css'
{% stylesheets debug=false filter='less' output='bundles/icapblog/css/pdf.css'
"@IcapBlogBundle/Resources/views/less/pdf.less"
%}
<link rel="stylesheet" type="text/css" href="{{ app.request.getSchemeAndHttpHost() ~ asset_url }}"/>
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<link rel='stylesheet' type='text/css' href='{{ asset('bundles/clarolinecore/css/common/jquery-ui-bootstrap/jquery-ui-1.9.2.custom.css') }}'/>
<link rel='stylesheet' type='text/css' href='{{ asset(calendarPath ~ 'fullcalendar.min.css') }}'/>
<link rel='stylesheet' type='text/css' href='{{ asset(calendarPath ~ 'fullcalendar.print.css') }}' media='print' />
{% stylesheets debug=false filter='lessphp' output='css/icapblog/style.css'
{% stylesheets debug=false filter='less' output='css/icapblog/style.css'
"@IcapBlogBundle/Resources/views/less/style.less"
%}
<link rel="stylesheet" href="{{ asset_url }}" screen="media" />
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/widget/list.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% block stylesheets %}
{% stylesheets debug=false filter="lessphp, cssmin" output="css/icapblog/widget_list.css"
{% stylesheets debug=false filter="less, cssmin" output="css/icapblog/widget_list.css"
"@IcapBlogBundle/Resources/views/less/widget_list.less"
%}
<link rel="stylesheet" href="{{ asset_url }}" screen="media" />
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/widget/listConfigure.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% form_theme form 'IcapBlogBundle:widget:list_form_theme.html.twig' %}

{% block stylesheets %}
{% stylesheets debug=false filter="lessphp, cssmin" output="css/icapblog/widget_list.css"
{% stylesheets debug=false filter="less, cssmin" output="css/icapblog/widget_list.css"
"@IcapBlogBundle/Resources/views/less/widget_list.less"
%}
<link rel="stylesheet" href="{{ asset_url }}" screen="media" />
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"icap/notification-bundle": "~6.0"
},
"autoload": {
"psr-0": { "Icap\\BlogBundle": "" }
},
"target-dir": "Icap/BlogBundle"
"psr-4": { "Icap\\BlogBundle\\": "" }
}
}

0 comments on commit 13760c1

Please sign in to comment.