summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/choose.tmpl
blob: 192754f5f776c2789717ac4b209e7031b0e44f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content repository new issue">
	{{template "repo/header" .}}
	<div class="ui container">
		{{template "base/alert" .}}
		<div class="navbar">
			{{template "repo/issue/navbar" .}}
		</div>
		<div class="ui divider"></div>
		{{range .IssueTemplates}}
			<div class="ui attached segment">
				<div class="ui two column grid">
					<div class="column left aligned">
						<strong>{{.Name | RenderEmojiPlain}}</strong>
						<br/>{{.About | RenderEmojiPlain}}
					</div>
					<div class="column right aligned">
						<a href="{{$.RepoLink}}/issues/new?template={{.FileName}}{{if $.milestone}}&milestone={{$.milestone}}{{end}}{{if $.project}}&project={{$.project}}{{end}}" class="ui green button">{{$.locale.Tr "repo.issues.choose.get_started"}}</a>
					</div>
				</div>
			</div>
		{{end}}
		<div class="ui attached segment">
			<div class="ui two column grid">
				<div class="column left aligned">
					<strong>{{.locale.Tr "repo.issues.choose.blank"}}</strong>
					<br/>{{.locale.Tr "repo.issues.choose.blank_about"}}
				</div>
				<div class="column right aligned">
					<a href="{{.RepoLink}}/issues/new?{{if .milestone}}&milestone={{.milestone}}{{end}}{{if $.project}}&project={{$.project}}{{end}}" class="ui green button">{{$.locale.Tr "repo.issues.choose.get_started"}}</a>
				</div>
			</div>
		</div>
	</div>
</div>
{{template "base/footer" .}}