Project

General

Profile

Actions

Feature #1253

closed

Download Button

Added by Bernhard Koschiček-Krombholz over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
2020-05-18
Estimated time:

Description

Make a download button for the GeoJson field.

Actions #1

Updated by Bernhard Koschiček-Krombholz over 4 years ago

  • Target version set to 208
Actions #2

Updated by Bernhard Koschiček-Krombholz over 4 years ago

  • Status changed from Assigned to In Progress
Actions #3

Updated by Bernhard Koschiček-Krombholz over 4 years ago

New branch feature_api_download

Right now, it is functional but not good implemented.

Actions #4

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!

Actions #5

Updated by Alexander Watzinger over 4 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF