Fixed project on repo template hook settings
This commit is contained in:
parent
4ff0db0246
commit
baf60bf603
@ -7,7 +7,7 @@
|
|||||||
<div class="ui blue tiny button">{{.i18n.Tr "repo.settings.add_webhook"}}</div>
|
<div class="ui blue tiny button">{{.i18n.Tr "repo.settings.add_webhook"}}</div>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<a class="item" href="{{.BaseLink}}/settings/hooks/gogs/new">
|
<a class="item" href="{{.BaseLink}}/settings/hooks/gogs/new">
|
||||||
<img class="img-10" src="{{AppSubUrl}}/img/favicon.png">Gogs
|
<img class="img-10" src="{{AppSubUrl}}/img/favicon.png">Gitea
|
||||||
</a>
|
</a>
|
||||||
<a class="item" href="{{.BaseLink}}/settings/hooks/slack/new">
|
<a class="item" href="{{.BaseLink}}/settings/hooks/slack/new">
|
||||||
<img class="img-10" src="{{AppSubUrl}}/img/slack.png">Slack
|
<img class="img-10" src="{{AppSubUrl}}/img/slack.png">Slack
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="username">{{.i18n.Tr "repo.settings.slack_username"}}</label>
|
<label for="username">{{.i18n.Tr "repo.settings.slack_username"}}</label>
|
||||||
<input id="username" name="username" value="{{.SlackHook.Username}}" placeholder="e.g. Gogs">
|
<input id="username" name="username" value="{{.SlackHook.Username}}" placeholder="e.g. Gitea">
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="icon_url">{{.i18n.Tr "repo.settings.slack_icon_url"}}</label>
|
<label for="icon_url">{{.i18n.Tr "repo.settings.slack_icon_url"}}</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user