mirror of https://git.48k.eu/ogcp
Extend images html in "image details" template
Otherwise, "image details" page lose the images tree and buttons.multi-ogserver
parent
b0fb32d767
commit
16ef1ae7ac
|
@ -1,4 +1,4 @@
|
|||
{% extends 'base.html' %}
|
||||
{% extends 'images.html' %}
|
||||
{% import "bootstrap/wtf.html" as wtf %}
|
||||
|
||||
{% block content %}
|
||||
|
|
|
@ -1015,7 +1015,10 @@ def action_image_info():
|
|||
form.permissions.data = image['permissions']
|
||||
form.software_id.data = image['software_id']
|
||||
|
||||
return render_template('actions/image_details.html', form=form)
|
||||
images = g.server.get('/images').json()['images']
|
||||
|
||||
return render_template('actions/image_details.html', form=form,
|
||||
images=images)
|
||||
|
||||
@app.route('/action/image/delete', methods=['GET', 'POST'])
|
||||
@login_required
|
||||
|
|
Loading…
Reference in New Issue