diff options
Diffstat (limited to 'ogcp/templates/images.html')
-rw-r--r-- | ogcp/templates/images.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ogcp/templates/images.html b/ogcp/templates/images.html index 00bb2e4..462e68d 100644 --- a/ogcp/templates/images.html +++ b/ogcp/templates/images.html @@ -67,6 +67,10 @@ <input class="btn btn-light" type="submit" value="{{ _('Delete image') }}" form="imagesForm" formaction="{{ url_for('action_image_delete') }}" formmethod="get"> {% endif %} + {% if current_user.get_permission('IMAGE', 'UPDATE') %} + <input class="btn btn-light" type="submit" value="{{ _('Update image') }}" + form="imagesForm" formaction="{{ url_for('action_image_config') }}" formmethod="get"> + {% endif %} {% endif %} {% if btn_back %} <button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()"> |