diff options
author | Unknwon <u@gogs.io> | 2016-08-14 03:32:24 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-14 03:32:24 -0700 |
commit | 3f7f4852efaaa56a0dada832dc652a1fc8869ae7 (patch) | |
tree | e3bb1769b2967dea560b2400abf830dc6cf70067 /templates | |
parent | 0f33b04c876593e592887450302774654fef2787 (diff) | |
download | gitea-3f7f4852efaaa56a0dada832dc652a1fc8869ae7.tar.gz gitea-3f7f4852efaaa56a0dada832dc652a1fc8869ae7.zip |
#2246 fully support of webhooks for pull request
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/issue/list.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view_title.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/settings/hook_settings.tmpl | 10 |
4 files changed, 14 insertions, 4 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 56e398c5f3..5e537303e3 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.75.0813
\ No newline at end of file +0.9.76.0814
\ No newline at end of file diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index f4208cd868..d00c9aea21 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -102,7 +102,7 @@ {{ $timeStr:= TimeSince .Created $.Lang }} <li class="item"> <div class="ui {{if .IsRead}}black{{else}}green{{end}} label">#{{.Index}}</div> - <a class="title has-emoji" href="{{$.Link}}/{{.Index}}">{{.Name}}</a> + <a class="title has-emoji" href="{{$.Link}}/{{.Index}}">{{.Title}}</a> {{range .Labels}} <a class="ui label" href="{{$.Link}}?type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{.Name}}</a> diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 28d29d9b31..e7c50d1d6a 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -1,9 +1,9 @@ <div class="sixteen wide column title"> <div class="ui grid"> <h1 class="twelve wide column"> - <span class="index">#{{.Issue.Index}}</span> <span id="issue-title" class="has-emoji">{{.Issue.Name}}</span> + <span class="index">#{{.Issue.Index}}</span> <span id="issue-title" class="has-emoji">{{.Issue.Title}}</span> <div id="edit-title-input" class="ui input" style="display: none"> - <input value="{{.Issue.Name}}"> + <input value="{{.Issue.Title}}"> </div> </h1> {{if .IsIssueOwner}} diff --git a/templates/repo/settings/hook_settings.tmpl b/templates/repo/settings/hook_settings.tmpl index 76d3ac2935..e0c687dbae 100644 --- a/templates/repo/settings/hook_settings.tmpl +++ b/templates/repo/settings/hook_settings.tmpl @@ -42,6 +42,16 @@ </div> </div> </div> + <!-- Pull Request --> + <div class="seven wide column"> + <div class="field"> + <div class="ui checkbox"> + <input class="hidden" name="pull_request" type="checkbox" tabindex="0" {{if .Webhook.PullRequest}}checked{{end}}> + <label>{{.i18n.Tr "repo.settings.event_pull_request"}}</label> + <span class="help">{{.i18n.Tr "repo.settings.event_pull_request_desc"}}</span> + </div> + </div> + </div> </div> </div> |