We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d977e7e commit 81a995cCopy full SHA for 81a995c
templates/repo/projects/new.tmpl
@@ -54,7 +54,7 @@
54
<div class="ui selection dropdown">
55
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
56
{{range $element := .CardTypes}}
57
- {{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))}}
58
<input type="hidden" name="card_type" value="{{$element.CardType}}">
59
<div class="default text">{{$.locale.Tr $element.Translation}}</div>
60
{{end}}
0 commit comments