localdevices / 3DStreetview

3D streetview MVP dashboard
GNU Affero General Public License v3.0
0 stars 1 forks source link

Mesh details view - when an ODK or ODM project no longer exists, an error msg should be displayed #14

Open hcwinsemius opened 3 years ago

hcwinsemius commented 3 years ago

Current behaviour, either no modal is displayed, or the last modal with details from previously clicked details view is displayed. Instead, a flashMessage should be displayed. This can be solved by preparing the image src="" string in the database model of odkproject instead of inline in the jinja2 template of details.html. I suggest that we have a status of both the ODM and ODK project. If the status is good for both we're happy, otherwise user needs to sort out the problem or prepare a new project.