diff options
Diffstat (limited to 'templates/repo')
-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 |
3 files changed, 13 insertions, 3 deletions
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> |