Skip to content

Commit

Permalink
fix logout label
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Nov 1, 2023
1 parent f13c3bb commit 14e5b84
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions resources/lang/en/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
'documents' => 'Documents',
'models' => 'Models',
'notifications' => 'Notifications'
]
],
'logout' => 'Logout'
];

4 changes: 2 additions & 2 deletions resources/lang/fr/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
'import' => "Import",
'documents' => 'Documents',
'notifications' => 'Notifications'
]
],
'logout' => 'Quitter'
];

10 changes: 5 additions & 5 deletions resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<button class="holder">
<span class="mif-search fg-white"></span>
</button>
</form>
</form>
</div>

<ul class="navview-menu mt-4" id="side-menu">
Expand Down Expand Up @@ -134,11 +134,11 @@
<span class="icon"><span class="mif-file-excel"></span></span>
<span class="caption">{{ trans("menu.configuration.import") }}</span>
</a></li>
<li><a href="/doc">
<li><a href="/doc">
<span class="icon"><span class="mif-file-text"></span></span>
<span class="caption">{{ trans("menu.configuration.documents") }}</span>
</a></li>
<li><a href="/config">
<li><a href="/config">
<span class="icon"><span class="mif-alarm"></span></span>
<span class="caption">{{ trans("menu.configuration.notifications") }}</span>
</a></li>
Expand All @@ -151,7 +151,7 @@
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
<span class="icon"><span class="mif-switch"></span></span>
<span class="caption">Quitter</span>
<span class="caption">{{ trans("menu.logout") }}</span>

</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
Expand Down Expand Up @@ -180,7 +180,7 @@
</a>
<a href="/bob/index?attribute=none&period=99&domain=0&status=1&late=1" class="app-bar-item">
<span class="mif-bell"></span>
@if (Session::get("late_controls_count")!=null)
@if (Session::get("late_controls_count")!=null)
<span class="badge bg-red fg-white mt-2 mr-1">{{Session::get("late_controls_count")}}</span>
@endif
</a>
Expand Down

0 comments on commit 14e5b84

Please sign in to comment.