Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
(fix): fixed algorithm in navbar links
· 3d677a02
Marcelo Rivera
authored
Aug 02, 2019
3d677a02
(fix): list redirect
· 94a13843
Marcelo Rivera
authored
Aug 02, 2019
94a13843
Hide whitespace changes
Inline
Side-by-side
src/app/modules/pro/channel/channel.component.html
View file @
94a13843
...
...
@@ -34,42 +34,42 @@
<a
class=
"m-proChannelTopbar__navItem"
[routerLink]=
"['/pro', channel.username, 'videos']"
[queryParams]=
"{algorithm: '
pro
'}"
[queryParams]=
"{algorithm: '
top
'}"
routerLinkActive=
"active"
i18n
>
Videos
</a>
<a
class=
"m-proChannelTopbar__navItem"
[routerLink]=
"['/pro', channel.username, 'images']"
[queryParams]=
"{algorithm: '
pro
'}"
[queryParams]=
"{algorithm: '
top
'}"
routerLinkActive=
"active"
i18n
>
Images
</a>
<a
class=
"m-proChannelTopbar__navItem"
[routerLink]=
"['/pro', channel.username, 'articles']"
[queryParams]=
"{algorithm: '
pro
'}"
[queryParams]=
"{algorithm: '
top
'}"
routerLinkActive=
"active"
i18n
>
Articles
</a>
<a
class=
"m-proChannelTopbar__navItem"
[routerLink]=
"['/pro', channel.username, 'groups']"
[queryParams]=
"{algorithm: '
pro
'}"
[queryParams]=
"{algorithm: '
top
'}"
routerLinkActive=
"active"
i18n
>
Groups
</a>
<a
class=
"m-proChannelTopbar__navItem"
[routerLink]=
"['/pro', channel.username, 'donate']"
[queryParams]=
"{algorithm: '
pro
'}"
[queryParams]=
"{algorithm: '
top
'}"
routerLinkActive=
"active"
i18n
>
Donate
</a>
<a
class=
"m-proChannelTopbar__navItem"
[routerLink]=
"['/pro', channel.username, 'signup']"
[queryParams]=
"{algorithm: '
pro
'}"
[queryParams]=
"{algorithm: '
top
'}"
routerLinkActive=
"active"
*ngIf=
"!currentUser"
i18n
...
...
src/app/modules/pro/pro.module.ts
View file @
94a13843
...
...
@@ -37,7 +37,7 @@ const routes: Routes = [
children
:
[
{
path
:
''
,
redirectTo
:
'
articles
/top
'
,
redirectTo
:
'
articles
'
,
pathMatch
:
'
full
'
},
{
...
...