forked from forgejo/forgejo
[REFACTOR] add Icon to webhook.Interface
This commit is contained in:
parent
bc04183e47
commit
120fa61a0a
15 changed files with 54 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
{{.CustomHeaderTitle}}
|
||||
<div class="ui right type dropdown">
|
||||
<div class="text tw-flex tw-items-center">
|
||||
{{template "shared/webhook/icon" (dict "Size" 20 "HookType" .ctxData.HookType)}}
|
||||
{{.ctxData.WebhookHandler.Icon 20}}
|
||||
{{ctx.Locale.Tr (print "repo.settings.web_hook_name_" .ctxData.HookType)}}
|
||||
</div>
|
||||
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue