forked from MapComplete/MapComplete
Remove images from morescreen, move professional-services link from import helper
This commit is contained in:
parent
4ebf288bd6
commit
f066000ed1
2 changed files with 2 additions and 5 deletions
|
@ -21,7 +21,7 @@ export class SubtleButton extends UIElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected InnerRender(): string | BaseUIElement {
|
protected InnerRender(): string | BaseUIElement {
|
||||||
const classes = "block flex p-3 my-2 bg-subtle rounded-lg hover:shadow-xl hover:bg-unsubtle transition-colors transition-shadow link-no-underline";
|
const classes = "no-images block flex p-3 my-2 bg-subtle rounded-lg hover:shadow-xl hover:bg-unsubtle transition-colors transition-shadow link-no-underline";
|
||||||
const message = Translations.W(this.message);
|
const message = Translations.W(this.message);
|
||||||
let img;
|
let img;
|
||||||
if ((this.imageUrl ?? "") === "") {
|
if ((this.imageUrl ?? "") === "") {
|
||||||
|
|
|
@ -36,16 +36,13 @@ export default class LoginToImport extends Combine implements FlowStep<UserRelat
|
||||||
.onClick(() => state.osmConnection.LogOut())
|
.onClick(() => state.osmConnection.LogOut())
|
||||||
]);
|
]);
|
||||||
})),
|
})),
|
||||||
new Combine([t.loginRequired,
|
t.loginRequired,
|
||||||
MoreScreen.CreateProffessionalSerivesButton()
|
|
||||||
]),
|
|
||||||
state
|
state
|
||||||
),
|
),
|
||||||
new Toggle(undefined,
|
new Toggle(undefined,
|
||||||
new Combine(
|
new Combine(
|
||||||
[t.lockNotice.Subs(Constants.userJourney).SetClass("alert"),
|
[t.lockNotice.Subs(Constants.userJourney).SetClass("alert"),
|
||||||
MoreScreen.CreateProffessionalSerivesButton()])
|
MoreScreen.CreateProffessionalSerivesButton()])
|
||||||
|
|
||||||
, isValid)
|
, isValid)
|
||||||
])
|
])
|
||||||
this.Value = new UIEventSource<UserRelatedState>(state)
|
this.Value = new UIEventSource<UserRelatedState>(state)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue