2020-09-11 20:18:39 +05:30
{{ template "base/head" . }}
2023-02-02 04:26:10 +05:30
<div role="main" aria-label=" {{ .Title }} " class="page-content repository new issue">
2020-09-11 20:18:39 +05:30
{{ template "repo/header" . }}
<div class="ui container">
2022-09-02 13:28:49 +05:30
{{ template "base/alert" . }}
2020-09-11 20:18:39 +05:30
<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>
2023-03-27 21:35:51 +05:30
<br> {{ .About | RenderEmojiPlain }}
2020-09-11 20:18:39 +05:30
</div>
<div class="column right aligned">
2022-06-28 02:28:46 +05:30
<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>
2020-09-11 20:18:39 +05:30
</div>
</div>
</div>
{{ end }}
2023-03-28 23:52:07 +05:30
{{ range .IssueConfig .ContactLinks }}
<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=" {{ .URL }} " class="ui green button"> {{ svg "octicon-link-external" }} {{ $ .locale .Tr "repo.issues.choose.open_external_link" }} </a>
</div>
2020-09-16 07:37:09 +05:30
</div>
2023-03-28 23:52:07 +05:30
</div>
{{ end }}
{{ if .IssueConfig .BlankIssuesEnabled }}
<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>
2020-09-16 07:37:09 +05:30
</div>
</div>
2023-03-28 23:52:07 +05:30
{{ end }}
{{ - if .IssueConfigError }} {{ / * normal warning flash makes problems here * / }}
<div class="ui warning message">
<div class="text left">
<div> {{ .locale .Tr "repo.issues.choose.invalid_config" }} </div>
2023-06-14 23:47:58 +05:30
<div> {{ .IssueConfigError }} </div>
2023-03-28 23:52:07 +05:30
</div>
</div>
{{ end }}
2020-09-11 20:18:39 +05:30
</div>
</div>
{{ template "base/footer" . }}