Actions
Feature #1253
closedDownload Button
Start date:
2020-05-18
Estimated time:
Description
Make a download button for the GeoJson field.
Updated by Bernhard Koschiček-Krombholz over 4 years ago
- Target version set to 208
Updated by Bernhard Koschiček-Krombholz over 4 years ago
- Status changed from Assigned to In Progress
Updated by Bernhard Koschiček-Krombholz over 4 years ago
New branch feature_api_download
Right now, it is functional but not good implemented.
Updated by Bernhard Koschiček-Krombholz over 4 years ago
- Category changed from API to UI
- Assignee changed from Bernhard Koschiček-Krombholz to Christoph Hoffmann
- Target version changed from 208 to 5.3.0
Implementation on the backend complete.
@Christoph Hoffmann: I included a download button image from https://icons.getbootstrap.com/, which is under MIT license. I don't know if we have other buttons available through bootstrap. Can you make it beautiful? ;) I just added code to the util.py around line 217:
data['API'] = '<a href="{url}" target="_blank">GeoJSON</a>'.format( url=url_for('api_entity', id_=entity.id)) + \ ' <a href="{url}" target="_blank">' \ ' <img src="/static/images/icons/download.png" alt="download"></a>'.format( url=url_for('api_download_entity', id_=entity.id))
I merged it already in develop!
Updated by Alexander Watzinger over 4 years ago
- Status changed from In Progress to Closed
Actions