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
866
Issues
866
List
Boards
Labels
Service Desk
Milestones
Merge Requests
53
Merge Requests
53
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
Compare Revisions
b3e268a516de4043f2545a0a6622cd7e1d3b8548...6800f60911425c6dba86910cebc12ddba324ad65
Source
6800f60911425c6dba86910cebc12ddba324ad65
Select Git revision
...
Target
b3e268a516de4043f2545a0a6622cd7e1d3b8548
Select Git revision
Compare
Commits (3)
(feat): disable juryduty in pro
· ae8272cf
Marcelo Rivera
authored
3 hours ago
ae8272cf
(feat): disable onboarding for pro standalone
· 486b3e25
Marcelo Rivera
authored
2 hours ago
486b3e25
(feat): add X button to categories and footer items
· 6800f609
Marcelo Rivera
authored
2 hours ago
6800f609
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
3 deletions
+19
-3
app.component.html
src/app/app.component.html
+1
-1
app.component.ts
src/app/app.component.ts
+4
-2
settings.component.html
src/app/modules/pro/settings/settings.component.html
+5
-0
settings.component.scss
src/app/modules/pro/settings/settings.component.scss
+1
-0
settings.component.ts
src/app/modules/pro/settings/settings.component.ts
+8
-0
No files found.
src/app/app.component.html
View file @
6800f609
...
...
@@ -47,7 +47,7 @@
<m-overlay-modal></m-overlay-modal>
<m--blockchain--transaction-overlay></m--blockchain--transaction-overlay>
<m-modal--tos-updated
*ngIf=
"session.isLoggedIn()"
></m-modal--tos-updated>
<m-juryDutySession
__summons
*ngIf=
"session.isLoggedIn()"
></m-juryDutySession
__summons
>
<m-juryDutySession
__summons
*ngIf=
"session.isLoggedIn()
&& !minds.pro
"
></m-juryDutySession
__summons
>
<m-modal-signup-on-scroll></m-modal-signup-on-scroll>
...
...
This diff is collapsed.
Click to expand it.
src/app/app.component.ts
View file @
6800f609
...
...
@@ -63,8 +63,10 @@ export class Minds {
this
.
notificationService
.
getNotifications
();
this
.
session
.
isLoggedIn
(
async
(
is
)
=>
{
if
(
is
&&
!
window
.
Minds
.
pro
)
{
this
.
showOnboarding
=
await
this
.
onboardingService
.
showModal
();
if
(
is
&&
!
window
.
Minds
.
pro
)
{
// TODO remove window.Minds.pro check from this line
if
(
!
window
.
Minds
.
pro
)
{
this
.
showOnboarding
=
await
this
.
onboardingService
.
showModal
();
}
if
(
this
.
minds
.
user
.
language
!==
this
.
minds
.
language
)
{
console
.
log
(
'
[app]:: language change
'
,
this
.
minds
.
user
.
language
,
this
.
minds
.
language
);
window
.
location
.
reload
(
true
);
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/settings/settings.component.html
View file @
6800f609
...
...
@@ -160,6 +160,8 @@
[(ngModel)]=
"tag.tag"
i18n-placeholder
>
<i
class=
"material-icons"
(click)=
"removeTag(i)"
>
clear
</i>
</div>
</div>
...
...
@@ -238,6 +240,9 @@
[(ngModel)]=
"link.href"
i18n-placeholder
>
<i
class=
"material-icons"
(click)=
"removeFooterLink(i)"
>
clear
</i>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/settings/settings.component.scss
View file @
6800f609
...
...
@@ -95,6 +95,7 @@
.m-pro--settings--flex-inputs
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
max-width
:
40em
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/settings/settings.component.ts
View file @
6800f609
...
...
@@ -74,6 +74,10 @@ export class ProSettingsComponent implements OnInit {
this
.
settings
.
tag_list
.
push
({
label
:
''
,
tag
:
''
});
}
removeTag
(
index
:
number
)
{
this
.
settings
.
tag_list
.
splice
(
index
,
1
);
}
addBlankFooterLink
()
{
if
(
!
this
.
settings
)
{
return
;
...
...
@@ -82,6 +86,10 @@ export class ProSettingsComponent implements OnInit {
this
.
settings
.
footer_links
.
push
({
title
:
''
,
href
:
''
});
}
removeFooterLink
(
index
:
number
)
{
this
.
settings
.
footer_links
.
splice
(
index
,
1
);
}
detectChanges
()
{
this
.
cd
.
markForCheck
();
this
.
cd
.
detectChanges
();
...
...
This diff is collapsed.
Click to expand it.