Skip to content

Commit

Permalink
fixed bug in header leyout
Browse files Browse the repository at this point in the history
  • Loading branch information
msalakhov-smartorange committed Mar 22, 2022
1 parent 17e04a7 commit 7a7fe5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions app/templates/admin/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
{% block body %}

<div class="container" id="clients-list">
{% if app.user %}
<div class="row justify-content-end">
<div class="p-2 border-bottom">
<a href="{{ path('app_logout') }}">logout</a>
</div>
</div>
{% endif %}
<div class="mt-5 mb-4">
<h1 class="text-center">{{ title }}</h1>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>
</div>
{% endif %}
{% if app.request.attributes.get('_route') != "homepage" %}
{% if app.request.attributes.get('_route') != "homepage" and app.request.attributes.get('_route') != "app_login" and app.request.attributes.get('_route') != "app_forgot_password_request" and app.request.attributes.get('_route') != "app_register" %}
<ul class="nav nav-tabs mt-5">
{% block breadcrumb %}
<li class="nav-item">
Expand Down

0 comments on commit 7a7fe5c

Please sign in to comment.