File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 38
38
<input type="hidden" name="board_type" value="{{.type}}">
39
39
<div class="default text">{{.locale.Tr "repo.projects.template.desc_helper"}}</div>
40
40
<div class="menu">
41
- {{range $element := .ProjectTypes }}
41
+ {{range $element := .BoardTypes }}
42
42
<div class="item" data-id="{{$element.BoardType}}" data-value="{{$element.BoardType}}">{{$.locale.Tr $element.Translation}}</div>
43
43
{{end}}
44
44
</div>
Original file line number Diff line number Diff line change 54
54
<div class="ui selection dropdown">
55
55
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
56
56
{{range $element := .CardTypes}}
57
- {{if or (eq $.card_type $element.CardType) (and (not $.card_type ) (eq $element.CardType 2 ))}}
57
+ {{if or (eq $.card_type $element.CardType) (and (not $.PageIsEditProjects ) (eq $element.CardType 1 ))}}
58
58
<input type="hidden" name="card_type" value="{{$element.CardType}}">
59
59
<div class="default text">{{$.locale.Tr $element.Translation}}</div>
60
60
{{end}}
You can’t perform that action at this time.
0 commit comments