diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/settings/hook_history.tmpl | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index bf2cb93053..180284e271 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.7.31.1205 Beta
\ No newline at end of file +0.7.32.1205 Beta
\ No newline at end of file diff --git a/templates/repo/settings/hook_history.tmpl b/templates/repo/settings/hook_history.tmpl index d81c317cb5..15957a6790 100644 --- a/templates/repo/settings/hook_history.tmpl +++ b/templates/repo/settings/hook_history.tmpl @@ -1,6 +1,12 @@ {{if .PageIsSettingsHooksEdit}} <h4 class="ui top attached header"> {{.i18n.Tr "repo.settings.recent_deliveries"}} + {{if .IsRepositoryAdmin}} + <div class="ui right"> + <button class="ui teal tiny button poping up" id="test-delivery" data-content= + "{{.i18n.Tr "repo.settings.webhook.test_delivery_desc"}}" data-variation="inverted tiny" data-link="{{.Link}}/test" data-redirect="{{.Link}}">{{.i18n.Tr "repo.settings.webhook.test_delivery"}}</button> + </div> + {{end}} </h4> <div class="ui attached table segment"> <div class="ui hook history list"> |