Skip to content

Commit 41dffd6

Browse files
authored
Merge pull request #366 from dbarzin/dev
fix invalid menu activation
2 parents 3b9255b + d25b317 commit 41dffd6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

ROADMAP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ This document contains the evolutions planned in 2024 / 2025.
1111
* [x] Measurement linked to multiple controls
1212
* [x] Groups management
1313
* [ ] Export set of controls for audit
14-
* [ ] Docker
1514
* [ ] Automatically remove measurements after a defined number of months
15+
* [ ] Docker
1616
* [ ] Non-regression tests
1717

1818
## Improvements

resources/css/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
border-color: #023671 !important;
2424
}
2525

26-
/* Temporary fix for file upload */
26+
/* Temporary fix for Metro file upload */
2727
input[type="file"] {
2828
display: block;
2929
font-size: 16px;

resources/views/layout.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
<span class="caption">{{ trans("menu.home") }}</span>
4040
</a>
4141
</li>
42-
<li class="{{ request()->is('alice*') ? 'active': '' }}">
42+
<li class="{{
43+
request()->is('alice*') && !request()->is('alice/import')
44+
? 'active': '' }}">
4345
<a href="/alice/index">
4446
<span class="icon mif-books"></span>
4547
<span class="caption">{{ trans("menu.measures") }}</span>

0 commit comments

Comments
 (0)