We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c1e248 commit fe89f58Copy full SHA for fe89f58
templates/repo/projects/new.tmpl
@@ -53,7 +53,7 @@
53
<div class="ui selection dropdown">
54
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
55
{{range $element := .CardTypes}}
56
- {{if or (eq $.card_type $element.CardType) (and (not $.card_type) (eq $element.CardType 2))}}
+ {{if or (eq $.card_type $element.CardType) (and (not $.PageIsEditProjects) (eq $element.CardType 1))}}
57
<input type="hidden" name="card_type" value="{{$element.CardType}}">
58
<div class="default text">{{$.locale.Tr $element.Translation}}</div>
59
{{end}}
0 commit comments