File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3838 <input type="hidden" name="board_type" value="{{.type}}">
3939 <div class="default text">{{.locale.Tr "repo.projects.template.desc_helper"}}</div>
4040 <div class="menu">
41- {{range $element := .ProjectTypes }}
41+ {{range $element := .BoardTypes }}
4242 <div class="item" data-id="{{$element.BoardType}}" data-value="{{$element.BoardType}}">{{$.locale.Tr $element.Translation}}</div>
4343 {{end}}
4444 </div>
Original file line number Diff line number Diff line change 5454 <div class="ui selection dropdown">
5555 {{svg "octicon-triangle-down" 14 "dropdown icon"}}
5656 {{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 ))}}
5858 <input type="hidden" name="card_type" value="{{$element.CardType}}">
5959 <div class="default text">{{$.locale.Tr $element.Translation}}</div>
6060 {{end}}
You can’t perform that action at this time.
0 commit comments