File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 32
32
< div class ="flex flex-wrap gap-1 ">
33
33
< span class ="font-bold "> Subscription:</ span >
34
34
{{ range . }}
35
- < span > {{ . }}</ span >
36
35
< span class ="icon-svg ">
37
36
{{ $icon := index $subscriptionIcons . }}
38
37
{{ if $icon }}
41
40
{{ partial "icon" "default_icon" }}
42
41
{{ end }}
43
42
</ span >
43
+ < span > {{ . }}</ span >
44
44
{{ end }}
45
45
</ div >
46
46
{{ end }}
55
55
{{ end }}
56
56
< span class ="font-bold "> Availability:</ span >
57
57
< span >
58
- {{ $availabilityText }}.
58
+ {{ $availabilityText }}
59
59
</ span >
60
- < div > < span class =""> {{ $text | markdownify }}</ span > </ div >
60
+ < div >
61
+ < span >
62
+ {{- if $text -}}
63
+ . {{ $text | markdownify }}
64
+ {{- end -}}
65
+ </ span >
66
+ </ div >
61
67
</ div >
62
68
{{ end }}
63
69
64
70
{{ with $feature.requires }}
65
71
< div class ="flex flex-wrap gap-1 ">
66
- < span class ="font-bold "> Requires:</ span >
67
- < span > {{ . | markdownify }}</ span >
68
72
< span class ="icon-svg ">
69
73
{{ partial "icon" $requiresIcon }}
70
74
</ span >
75
+ < span class ="font-bold "> Requires:</ span >
76
+ < span > {{ . | markdownify }}</ span >
71
77
</ div >
72
78
{{ end }}
73
79
74
80
{{ with $feature.for }}
75
81
< div class ="flex flex-wrap gap-1 ">
76
- < span class ="font-bold "> For:</ span >
77
- < span > {{ . }}</ span >
78
82
{{ if eq . "Administrators" }}
79
83
< span class ="icon-svg ">
80
84
{{ partial "icon" $forIcon }}
81
85
</ span >
82
86
{{ end }}
87
+ < span class ="font-bold "> For:</ span >
88
+ < span > {{ . }}</ span >
83
89
</ div >
84
90
{{ end }}
85
91
</ div >
You can’t perform that action at this time.
0 commit comments