forked from MapComplete/MapComplete
		
	Add email question, some tweaks
This commit is contained in:
		
						commit
						f67508336a
					
				
					 12 changed files with 123 additions and 69 deletions
				
			
		|  | @ -35,6 +35,8 @@ export class SimpleAddUI extends UIElement { | |||
|         = new UIEventSource<Preset>(undefined); | ||||
|     private confirmButton: UIElement = undefined; | ||||
|     private cancelButton: UIElement; | ||||
|     private goToInboxButton: UIElement = new SubtleButton("/assets/envelope.svg",  | ||||
|         Translations.t.general.goToInbox, "https://www.openstreetmap.org/messages/inbox"); | ||||
| 
 | ||||
|     constructor(zoomlevel: UIEventSource<{ zoom: number }>, | ||||
|                 lastClickLocation: UIEventSource<{ lat: number, lon: number }>, | ||||
|  | @ -132,7 +134,9 @@ export class SimpleAddUI extends UIElement { | |||
|         if (this._userDetails.data.unreadMessages > 0) { | ||||
|             return new Combine([header, "<span class='alert'>", | ||||
|                 Translations.t.general.readYourMessages, | ||||
|                 "</span>"]).Render(); | ||||
|                 "</span>", | ||||
|                 this.goToInboxButton | ||||
|             ]).Render(); | ||||
|         } | ||||
| 
 | ||||
|         if (this._userDetails.data.dryRun) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue