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="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…
Cancel
Save