forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
f77570589d
commit
9b8a9337fd
111 changed files with 2911 additions and 1280 deletions
|
|
@ -27,10 +27,7 @@
|
|||
{:else if $pending.length === 1}
|
||||
<Tr cls="alert" t={Translations.t.general.uploadPendingSingle} />
|
||||
{:else if $pending.length > 1}
|
||||
<Tr
|
||||
cls="alert"
|
||||
t={Translations.t.general.uploadPending.Subs({ count: $pending.length })}
|
||||
/>
|
||||
<Tr cls="alert" t={Translations.t.general.uploadPending.Subs({ count: $pending.length })} />
|
||||
{/if}
|
||||
|
||||
{#each $errors as error}
|
||||
|
|
@ -43,24 +40,19 @@
|
|||
</button>
|
||||
|
||||
<ul>
|
||||
|
||||
{#each $pending as pending}
|
||||
<li>
|
||||
|
||||
{#if pending.changes !== undefined}
|
||||
Create {pending.type}/{pending.id} {JSON.stringify(TagUtils.KVObjtoProperties(pending.tags))}
|
||||
Create {pending.type}/{pending.id}
|
||||
{JSON.stringify(TagUtils.KVObjtoProperties(pending.tags))}
|
||||
{:else}
|
||||
Modify {pending.type}/{pending.id} {JSON.stringify(pending.tags)}
|
||||
{/if}
|
||||
{#if pending.type === "way" && pending.changes?.nodes}
|
||||
{pending.changes.nodes.join(" ")}
|
||||
{/if}
|
||||
|
||||
</li>
|
||||
{/each}
|
||||
</ul>
|
||||
|
||||
{/if}
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue