forked from MapComplete/MapComplete
Merge branch 'master' into develop
This commit is contained in:
commit
a0dbec5d4e
15 changed files with 164 additions and 148 deletions
|
@ -19,6 +19,8 @@
|
|||
import ThemeViewState from "../../Models/ThemeViewState"
|
||||
import { MenuState } from "../../Models/MenuState"
|
||||
import { LicenseInfo } from "../../Logic/ImageProviders/LicenseInfo"
|
||||
import Tr from "../Base/Tr.svelte"
|
||||
import { ExternalLinkIcon } from "@rgossiaux/svelte-heroicons/solid"
|
||||
|
||||
export let tags: UIEventSource<OsmTags>
|
||||
export let state: ThemeViewState
|
||||
|
@ -26,6 +28,7 @@
|
|||
export let feature: Feature
|
||||
export let layer: LayerConfig
|
||||
|
||||
|
||||
export let highlighted: UIEventSource<string> = undefined
|
||||
export let nearbyFeatures: Feature<Point, HotspotProperties>[] | Store<Feature<Point, HotspotProperties>[]> = []
|
||||
export let linkable = true
|
||||
|
@ -121,7 +124,7 @@
|
|||
<LoginToggle {state} silentFail={true} hiddenFail={true}>
|
||||
{#if linkable}
|
||||
<label>
|
||||
<input bind:checked={$isLinked} type="checkbox" />
|
||||
<input bind:checked={$isLinked} type="checkbox" class="ml-4" />
|
||||
<SpecialTranslation t={t.link} {tags} {state} {layer} {feature} />
|
||||
</label>
|
||||
{/if}
|
||||
|
|
|
@ -83,6 +83,6 @@
|
|||
<div class={sideTextClass}>{$sideTextSub}</div>
|
||||
{/if}
|
||||
</div>
|
||||
<a href={$url} target="_blank" class="subtle text-sm">{$url}</a>
|
||||
<a href={$url} target="_blank" class="subtle text-xs break-all">{$url}</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue