aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJakobDev <jakobdev@gmx.de>2024-01-24 04:02:04 +0100
committerGitHub <noreply@github.com>2024-01-24 03:02:04 +0000
commit4567a3a1ad0490d9077102e0e7b5de35790e5803 (patch)
tree7b3b37b3b142ea2221a86596bd96d7df0e63a320 /templates
parentf3ba3e922dde7d12999a90d6cee15805a56cc7ff (diff)
downloadgitea-4567a3a1ad0490d9077102e0e7b5de35790e5803.tar.gz
gitea-4567a3a1ad0490d9077102e0e7b5de35790e5803.zip
Allow to sync tags from admin dashboard (#28045)
Inspired by #28043 This PR adds a option to the Admin Dashboard to sync all tags to the database. ![grafik](https://github.com/go-gitea/gitea/assets/15185051/26ac51ef-82a4-4fd9-a6a6-5aefec612ff6)
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/dashboard.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl
index 65d9c370f3..f43b4c5385 100644
--- a/templates/admin/dashboard.tmpl
+++ b/templates/admin/dashboard.tmpl
@@ -63,6 +63,10 @@
<td>{{ctx.Locale.Tr "admin.dashboard.sync_repo_branches"}}</td>
<td class="text right"><button type="submit" class="ui primary button" name="op" value="sync_repo_branches">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
</tr>
+ <tr>
+ <td>{{ctx.Locale.Tr "admin.dashboard.sync_repo_tags"}}</td>
+ <td class="text right"><button type="submit" class="ui primary button" name="op" value="sync_repo_tags">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
+ </tr>
</tbody>
</table>
</form>