Skip to content
Snippets Groups Projects
Commit 938c57bc authored by Camille Blanchon's avatar Camille Blanchon
Browse files

Merge branch 'redmine-issues/20442' into 'develop'

REDMINE_ISSUE-20442 | Accueil projet - Ajouter un bouton pour l'import d'un JSON (non-géo)

See merge request geocontrib/geocontrib-frontend!791
parents 6e3ca1c7 dcab9666
No related branches found
No related tags found
No related merge requests found
...@@ -173,14 +173,38 @@ ...@@ -173,14 +173,38 @@
/> />
<label <label
class="ui pointer" class="ui pointer"
for="json_file" for="geojson_file"
> >
Créer un nouveau type de signalement à partir d'un GeoJSON Créer un nouveau type de signalement à partir d'un GeoJSON
</label> </label>
<input
id="geojson_file"
type="file"
accept=".geojson"
style="display: none"
name="geojson_file"
@change="onGeoJSONFileChange"
>
</div>
<div
v-if="permissions && permissions.can_update_project && isOnline"
class="ui compact basic button button-align-left"
>
<i
class="ui plus icon"
aria-hidden="true"
/>
<label
class="ui pointer"
for="json_file"
>
Créer un nouveau type de signalement à partir d'un JSON (non-géographique)
</label>
<input <input
id="json_file" id="json_file"
type="file" type="file"
accept="application/json, .json, .geojson" accept="application/json, .json"
style="display: none" style="display: none"
name="json_file" name="json_file"
@change="onGeoJSONFileChange" @change="onGeoJSONFileChange"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment