-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from BitBagCommerce/OPSRC-591/fix_displaying_s…
…ylius_logo OPSRC-591/Fix displaying sylius logo bug
- Loading branch information
Showing
8 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
tests/Application/templates/bundles/SyliusAdminBundle/Layout/_logo.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<a class="item" href="{{ path('sylius_admin_dashboard') }}" style="padding: 13px 0;"> | ||
<div style="max-width: 90px; margin: 0 auto;"> | ||
<img src="{{ asset('build/admin/images/admin-logo.svg', 'admin') }}" class="ui fluid image"> | ||
</div> | ||
</a> |
6 changes: 6 additions & 0 deletions
6
tests/Application/templates/bundles/SyliusAdminBundle/Security/_content.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% include '@SyliusUi/Security/_login.html.twig' | ||
with { | ||
'action': path('sylius_admin_login_check'), | ||
'paths': {'logo': asset('build/admin/images/logo.png', 'admin')} | ||
} | ||
%} |
14 changes: 14 additions & 0 deletions
14
tests/Application/templates/bundles/SyliusShopBundle/Checkout/_header.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="ui basic segment"> | ||
<div class="ui large text menu"> | ||
<div class="ui small image"> | ||
<a href="{{ path('sylius_shop_homepage') }}"><img src="{{ asset('build/shop/images/logo.png', 'shop') }}" /></a> | ||
</div> | ||
<div class="right menu"> | ||
{% if order.customer.id|default(null) is not null %} | ||
<div class="item" id="purchaser-email" {{ sylius_test_html_attribute('purchaser-name-or-email') }}>{{ 'sylius.ui.checking_out_as'|trans }} {{ app.user is null ? order.customer.email : order.customer.fullName|default(order.customer.email) }}.</div> | ||
{% else %} | ||
<a href="{{ path('sylius_shop_login') }}" class="item">{{ 'sylius.ui.sign_in'|trans }}</a> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> |
6 changes: 6 additions & 0 deletions
6
tests/Application/templates/bundles/SyliusShopBundle/Checkout/layout.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% extends '@SyliusShop/layout.html.twig' %} | ||
{% block top %} | ||
{% endblock %} | ||
{% block header %} | ||
{% include '@SyliusShop/Checkout/_header.html.twig' %} | ||
{% endblock %} |
2 changes: 2 additions & 0 deletions
2
tests/Application/templates/bundles/SyliusShopBundle/Homepage/_banner.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<img class="ui fluid image" src="{{ asset('build/shop/images/homepage-banner.jpg', 'shop') }}" alt="Sylius"> | ||
<div class="ui hidden divider"></div> |
9 changes: 9 additions & 0 deletions
9
tests/Application/templates/bundles/SyliusShopBundle/Layout/Footer/Grid/_plus.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="four wide column"> | ||
<a href="https://sylius.com/plus" target="_blank" style="display: inline-block; text-align: center;"> | ||
<h4 class="ui inverted header" style="color: #808080;"> | ||
Need even more features? | ||
<div class="sub header" style="padding: 5px 0;">Check Sylius Plus out!</div> | ||
</h4> | ||
<img class="ui fluid image" style="max-width: 170px;" src="{{ asset('build/shop/images/sylius-plus-banner.png', 'shop') }}" alt="Sylius Plus"> | ||
</a> | ||
</div> |
5 changes: 5 additions & 0 deletions
5
tests/Application/templates/bundles/SyliusShopBundle/Layout/Header/_logo.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="column"> | ||
<a href="{{ path('sylius_shop_homepage') }}"> | ||
<img src="{{ asset('build/shop/images/logo.png', 'shop') }}" alt="Sylius logo" class="ui small image" /> | ||
</a> | ||
</div> |
9 changes: 9 additions & 0 deletions
9
tests/Application/templates/bundles/SyliusShopBundle/_error500.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends '@SyliusShop/layout.html.twig' %} | ||
|
||
{% block content %} | ||
<h2 class="ui center aligned icon header"> | ||
<img src="{{ asset('build/shop/images/logo.png', 'shop') }}" alt="Sylius logo" class="ui small image" /> | ||
<br/><br/> | ||
{{ 'sylius.ui.server_has_encountered_some_errors'|trans }} | ||
</h2> | ||
{% endblock %} |