| 
									
										
										
										
											2023-02-03 22:28:11 +01:00
										 |  |  | <script lang="ts"> | 
					
						
							| 
									
										
										
										
											2023-05-08 01:55:21 +02:00
										 |  |  |     import UserDetails from "../../Logic/Osm/OsmConnection" | 
					
						
							|  |  |  |     import {UIEventSource} from "../../Logic/UIEventSource" | 
					
						
							|  |  |  |     import Constants from "../../Models/Constants" | 
					
						
							|  |  |  |     import Svg from "../../Svg" | 
					
						
							|  |  |  |     import ToSvelte from "../Base/ToSvelte.svelte" | 
					
						
							|  |  |  |     import Translations from "../i18n/Translations" | 
					
						
							| 
									
										
										
										
											2023-05-11 02:17:41 +02:00
										 |  |  |     import SubtleLink from "../Base/SubtleLink.svelte"; | 
					
						
							|  |  |  |     import Tr from "../Base/Tr.svelte"; | 
					
						
							| 
									
										
										
										
											2023-02-03 22:28:11 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-08 01:55:21 +02:00
										 |  |  |     export let userDetails: UIEventSource<UserDetails> | 
					
						
							|  |  |  |     const t = Translations.t.general.morescreen | 
					
						
							| 
									
										
										
										
											2023-02-03 22:28:11 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <div> | 
					
						
							| 
									
										
										
										
											2023-05-08 01:55:21 +02:00
										 |  |  |     {#if $userDetails.csCount < Constants.userJourney.themeGeneratorReadOnlyUnlock} | 
					
						
							| 
									
										
										
										
											2023-05-11 02:17:41 +02:00
										 |  |  |         <SubtleLink | 
					
						
							|  |  |  |                 url="https://github.com/pietervdvn/MapComplete/issues" | 
					
						
							|  |  |  |                 newTab={true} | 
					
						
							| 
									
										
										
										
											2023-05-08 01:55:21 +02:00
										 |  |  |         > | 
					
						
							| 
									
										
										
										
											2023-05-11 02:17:41 +02:00
										 |  |  |             <Tr t={t.requestATheme}/> | 
					
						
							|  |  |  |         </SubtleLink> | 
					
						
							| 
									
										
										
										
											2023-05-08 01:55:21 +02:00
										 |  |  |     {:else} | 
					
						
							| 
									
										
										
										
											2023-05-11 02:17:41 +02:00
										 |  |  |         <SubtleLink href="https://pietervdvn.github.io/mc/legacy/070/customGenerator.html"> | 
					
						
							|  |  |  |           <span slot="image"> | 
					
						
							|  |  |  |             <ToSvelte construct={Svg.pencil_svg().SetClass("h-11 w-11 mx-4 bg-red")}/> | 
					
						
							|  |  |  |           </span> | 
					
						
							|  |  |  |             <Tr t={t.createYourOwnTheme}/> | 
					
						
							|  |  |  |         </SubtleLink> | 
					
						
							| 
									
										
										
										
											2023-05-08 01:55:21 +02:00
										 |  |  |     {/if} | 
					
						
							| 
									
										
										
										
											2023-02-03 22:28:11 +01:00
										 |  |  | </div> |