Fixed project on repo template hook settings

tokarchuk/v1.17
Avelino 8 years ago committed by Kim "BKC" Carlbäcker
parent 4ff0db0246
commit baf60bf603
  1. 2
      templates/repo/settings/hook_list.tmpl
  2. 2
      templates/repo/settings/hook_slack.tmpl

@ -7,7 +7,7 @@
<div class="ui blue tiny button">{{.i18n.Tr "repo.settings.add_webhook"}}</div>
<div class="menu">
<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 class="item" href="{{.BaseLink}}/settings/hooks/slack/new">
<img class="img-10" src="{{AppSubUrl}}/img/slack.png">Slack

@ -13,7 +13,7 @@
<div class="field">
<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 class="field">
<label for="icon_url">{{.i18n.Tr "repo.settings.slack_icon_url"}}</label>

Loading…
Cancel
Save