File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ $(function () {
172
172
* show only those containing value.
173
173
*/
174
174
items . each ( function ( ) {
175
- if ( $ ( this ) . text ( ) . toLowerCase ( ) . indexOf ( value . toLowerCase ( ) ) >= 0 ) {
175
+ if ( $ ( this ) . text ( ) . toLocaleLowerCase ( "tr-TR" ) . indexOf ( value . toLocaleLowerCase ( "tr-TR" ) ) >= 0 ) {
176
176
$ ( this ) . show ( ) ;
177
177
} else {
178
178
$ ( this ) . hide ( ) ;
Original file line number Diff line number Diff line change
1
+ {% set menu = [] %}
1
2
<form class =" navbar-form dropdown" id =" search" >
2
- <input type =" text" class =" form-control search-bar" placeholder =" {{ trans(' visiosoft.theme.defaultadmin::control_panel.search_placeholder' ) }}..." >
3
+ <input type =" text" class =" form-control search-bar"
4
+ placeholder =" {{ trans(' visiosoft.theme.defaultadmin::control_panel.search_placeholder' ) }}..." >
3
5
<button type =" submit" class =" btn btn-search" ><i class =" fa fa-search" ></i ></button >
4
6
<div class =" dropdown-menu results" >
5
- < h6 class = " dropdown-header " >Navigation</ h6 >
7
+ {% set moduleName = " " %}
6
8
{% for key , navigation in template .cp .navigation %}
9
+
10
+ {% if moduleName != trans(navigation .breadcrumb ) %}
11
+ <a style =" color: {{ setting_value(' visiosoft.theme.defaultadmin::primary_color' ) }}!important;" class =" dropdown-item" {{ html_attributes(navigation .attributes ) }} {{ navigation .class }}>
12
+ <span class =" title" >
13
+ {{ trans(navigation .breadcrumb )}}
14
+ </span >
15
+ </a >
16
+ {% endif %}
17
+
7
18
<a class =" dropdown-item" {{ html_attributes(navigation .attributes ) }} {{ navigation .class }}>
8
- <span class =" title" >{{ trans(navigation .title ) }}</span >
19
+
20
+ <span class =" title" >
21
+ - {{ trans(navigation .title ) }}
22
+ <span style =" color:transparent; font-size: 14px;" > ( {{ trans(navigation .breadcrumb )}} ) </span >
23
+
24
+ </span >
9
25
</a >
26
+ {% set moduleName = trans(navigation .breadcrumb ) %}
10
27
{% endfor %}
11
28
</div >
12
29
</form >
You can’t perform that action at this time.
0 commit comments