File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed
Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 6868 " src/license-selector-creation.js" ,
6969 " node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
7070 ],
71- "baseHref" : " /"
71+ "baseHref" : " /repository/ "
7272 },
7373 "configurations" : {
7474 "development" : {
Original file line number Diff line number Diff line change 66 port : 8080
77 nameSpace : /server
88
9+ ui :
10+ ssl : false
11+ host : localhost
12+ port : 4000
13+ nameSpace : /repository
14+
915# Caching settings
1016cache :
1117 # NOTE: how long should objects be cached for by default
Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ export class HeaderComponent implements OnInit {
6565 }
6666
6767 const translations = {
68- 'partners' : 'partneri' ,
69- 'integration' : 'integrace' ,
70- 'partnership' : 'partnerstvi' ,
68+ 'partners' : this . getLangCodeIfCzech ( ) + '/' + 'partneri' ,
69+ 'integration' : this . getLangCodeIfCzech ( ) + '/' + 'integrace' ,
70+ 'partnership' : this . getLangCodeIfCzech ( ) + '/' + 'partnerstvi' ,
7171 'services' : 'sluzby'
7272 } ;
7373
74- return this . getLangCodeIfCzech + '/' + translations [ slug ] || '' ;
74+ return translations [ slug ] || '' ;
7575 }
7676}
Original file line number Diff line number Diff line change 3535 < a href ="{{ '/' + getLangCode() + '/' + translateSlug('services') }} " class ="lindat-nav-link "> {{'navbar.services' | translate}}</ a >
3636 </ li >
3737 < li class ="lindat-nav-item lindat-dropdown ">
38- < a href ="{{ getLangCodeIfCzech() }} " class ="lindat-nav-link lindat-dropdown-toggle "
38+ < a href ="{{ '/' + getLangCodeIfCzech() }} " class ="lindat-nav-link lindat-dropdown-toggle "
3939 data-toggle ="dropdown "
4040 onclick ="this.parentNode.querySelector('.lindat-dropdown-toggle+div.lindat-dropdown-menu').classList.toggle('lindat-show'); return false; "> {{'navbar.about' | translate}}</ a >
4141 < div class ="lindat-dropdown-menu ">
You can’t perform that action at this time.
0 commit comments