forked from MapComplete/MapComplete
		
	Feature: add link to statistics
This commit is contained in:
		
							parent
							
								
									2b34547902
								
							
						
					
					
						commit
						2d5d2fe487
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		|  | @ -53,6 +53,9 @@ | ||||||
|   import MagnifyingGlassCircle from "@babeard/svelte-heroicons/mini/MagnifyingGlassCircle" |   import MagnifyingGlassCircle from "@babeard/svelte-heroicons/mini/MagnifyingGlassCircle" | ||||||
|   import { AndroidPolyfill } from "../../Logic/Web/AndroidPolyfill" |   import { AndroidPolyfill } from "../../Logic/Web/AndroidPolyfill" | ||||||
|   import Forgejo from "../../assets/svg/Forgejo.svelte" |   import Forgejo from "../../assets/svg/Forgejo.svelte" | ||||||
|  |   import DocumentArrowUp from "@babeard/svelte-heroicons/mini/DocumentArrowUp" | ||||||
|  |   import ChartBar from "@babeard/svelte-heroicons/solid/ChartBar" | ||||||
|  |   import QueueList from "@babeard/svelte-heroicons/solid/QueueList" | ||||||
| 
 | 
 | ||||||
|   export let state: ThemeViewState |   export let state: ThemeViewState | ||||||
|   let userdetails = state.osmConnection.userDetails |   let userdetails = state.osmConnection.userDetails | ||||||
|  | @ -222,9 +225,14 @@ | ||||||
|       </a> |       </a> | ||||||
| 
 | 
 | ||||||
|       <a class="flex" href={Utils.OsmChaLinkFor(31, theme.id)} target="_blank"> |       <a class="flex" href={Utils.OsmChaLinkFor(31, theme.id)} target="_blank"> | ||||||
|         <DocumentChartBar class="h-6 w-6" /> |         <QueueList class="h-6 w-6" /> | ||||||
|         <Tr t={Translations.t.general.attribution.openOsmcha.Subs({ theme: theme.title })} /> |         <Tr t={Translations.t.general.attribution.openOsmcha.Subs({ theme: theme.title })} /> | ||||||
|       </a> |       </a> | ||||||
|  |       <a class="flex" href={`./statistics.html?filter-mapcomplete-changes-theme-search={"search"%3A"${theme.id}"}`} | ||||||
|  |          target="_blank"> | ||||||
|  |         <ChartBar class="h-6 w-6" /> | ||||||
|  |         <Tr t={Translations.t.general.attribution.openStatistics.Subs({theme: theme.title})} /> | ||||||
|  |       </a> | ||||||
|     {/if} |     {/if} | ||||||
|   </SidebarUnit> |   </SidebarUnit> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue