Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
861
Issues
861
List
Boards
Labels
Service Desk
Milestones
Merge Requests
51
Merge Requests
51
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
10a89a2e
Commit
10a89a2e
authored
44 minutes ago
by
Marcelo Rivera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): rename 'groups' to 'communities'
parent
bda7eb6c
epic/minds-pro
1 merge request
!486
WIP: (feat): Minds Pro (development branch) - Release 2
Pipeline
#75660284
passed with stages
in 30 minutes and 16 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
10 deletions
+6
-10
channel.component.html
src/app/modules/pro/channel/channel.component.html
+2
-2
channel.component.ts
src/app/modules/pro/channel/channel.component.ts
+1
-1
list.component.ts
src/app/modules/pro/channel/list/list.component.ts
+1
-1
pro-user-menu.component.html
...es/pro/channel/pro-user-menu/pro-user-menu.component.html
+1
-1
pro-user-menu.component.ts
...ules/pro/channel/pro-user-menu/pro-user-menu.component.ts
+1
-5
No files found.
src/app/modules/pro/channel/channel.component.html
View file @
10a89a2e
...
...
@@ -54,10 +54,10 @@
>
Articles
</a>
<a
class=
"m-proChannelTopbar__navItem"
[routerLink]=
"linkTo('
group
s', query)"
[routerLink]=
"linkTo('
communitie
s', query)"
routerLinkActive=
"active"
i18n
>
Group
s
</a>
>
Communitie
s
</a>
<a
class=
"m-proChannelTopbar__navItem"
[routerLink]=
"['/pro', channel.username, 'donate']"
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/channel.component.ts
View file @
10a89a2e
...
...
@@ -70,7 +70,7 @@ export class ProChannelComponent implements OnInit, OnDestroy {
}
shouldShowCategories
(
type
:
string
)
{
const
routes
=
[
'
images
'
,
'
videos
'
,
'
articles
'
,
'
feed
'
,
'
group
s
'
];
const
routes
=
[
'
images
'
,
'
videos
'
,
'
articles
'
,
'
feed
'
,
'
communitie
s
'
];
this
.
showCategories
=
routes
.
indexOf
(
type
)
!==
-
1
;
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/list/list.component.ts
View file @
10a89a2e
...
...
@@ -72,7 +72,7 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
case
'
articles
'
:
this
.
type
=
'
blogs
'
;
break
;
case
'
group
s
'
:
case
'
communitie
s
'
:
this
.
type
=
'
groups
'
;
break
;
case
'
feed
'
:
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/pro-user-menu/pro-user-menu.component.html
View file @
10a89a2e
...
...
@@ -34,7 +34,7 @@
class=
"m-dropdownList__item m-pro-user-menuDropdown__item"
(click)=
"closeMenu()"
>
<a
[routerLink]=
"linkTo('
groups', query)"
routerLinkActive=
"active"
i18n
>
Group
s
</a>
<a
[routerLink]=
"linkTo('
communities', query)"
routerLinkActive=
"active"
i18n
>
Communitie
s
</a>
</li>
<li
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/pro-user-menu/pro-user-menu.component.ts
View file @
10a89a2e
import
{
ChangeDetectionStrategy
,
ChangeDetectorRef
,
Component
,
OnInit
,
Inpu
t
}
from
"
@angular/core
"
;
import
{
ChangeDetectionStrategy
,
ChangeDetectorRef
,
Component
,
Input
,
OnIni
t
}
from
"
@angular/core
"
;
import
{
Session
}
from
"
../../../../services/session
"
;
import
{
ThemeService
}
from
"
../../../../common/services/theme.service
"
;
import
{
ProChannelService
}
from
"
../channel.service
"
;
...
...
@@ -28,10 +28,6 @@ export class ProUserMenuComponent implements OnInit {
)
{
}
getCurrentUser
()
{
return
this
.
session
.
getLoggedInUser
();
}
ngOnInit
()
{
this
.
session
.
isLoggedIn
(()
=>
this
.
detectChanges
());
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment