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 (3)
(feat): disable juryduty in pro
· ae8272cf
Marcelo Rivera
authored
Aug 19, 2019
ae8272cf
(feat): disable onboarding for pro standalone
· 486b3e25
Marcelo Rivera
authored
Aug 19, 2019
486b3e25
(feat): add X button to categories and footer items
· 6800f609
Marcelo Rivera
authored
Aug 19, 2019
6800f609
Hide whitespace changes
Inline
Side-by-side
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>
...
...
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
);
...
...
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>
...
...
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
;
...
...
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
();
...
...