diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2023-12-05 11:02:28 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-05 11:38:26 +0100 |
commit | 15dd4c2a8f690dcda27c453b3f8659cd39da525d (patch) | |
tree | aae77ca0c9b0c6d643c60bf2beec130e123bc623 /ogcp/templates | |
parent | 152337b6bdb8ad95c516ec818d9f625cb9dff54d (diff) |
views: add action to update repo
allow the user to update a repo by selecting one and pressing the update
button.
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/repos.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/repos.html b/ogcp/templates/repos.html index 8477d29..31a4226 100644 --- a/ogcp/templates/repos.html +++ b/ogcp/templates/repos.html @@ -54,6 +54,8 @@ form="reposForm" formaction="{{ url_for('repo_add_get') }}" formmethod="get"> <input class="btn btn-light {% block nav_repo_delete %}{% endblock %}" type="submit" value="{{ _('Delete repo') }}" form="reposForm" formaction="{{ url_for('action_repo_delete') }}" formmethod="get"> + <input class="btn btn-light {% block nav_repo_update %}{% endblock %}" type="submit" value="{{ _('Update repo') }}" + form="reposForm" formaction="{{ url_for('action_repo_update') }}" formmethod="get"> {% if btn_back %} <button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()"> |