1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Fixed project on repo template hook settings

This commit is contained in:
Avelino 2016-12-02 03:07:37 -02:00 committed by Kim "BKC" Carlbäcker
parent 4ff0db0246
commit baf60bf603
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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>