appview/pages: rename template block from pullList to stackedPullList #774

merged
opened by oppi.li targeting master from push-nwtnqorztmlr
Changed files
+2 -2
appview
pages
templates
repo
pulls
+2 -2
appview/pages/templates/repo/pulls/pulls.html
···
{{ i "chevrons-down-up" "w-4 h-4" }} hide {{ len $otherPulls }} pull{{$s}} in this stack
</div>
</summary>
-
{{ block "pullList" (list $otherPulls $) }} {{ end }}
</details>
{{ end }}
{{ end }}
···
</div>
{{ end }}
-
{{ define "pullList" }}
{{ $list := index . 0 }}
{{ $root := index . 1 }}
<div class="grid grid-cols-1 rounded-b border-b border-t border-gray-200 dark:border-gray-900 divide-y divide-gray-200 dark:divide-gray-900">
···
{{ i "chevrons-down-up" "w-4 h-4" }} hide {{ len $otherPulls }} pull{{$s}} in this stack
</div>
</summary>
+
{{ block "stackedPullList" (list $otherPulls $) }} {{ end }}
</details>
{{ end }}
{{ end }}
···
</div>
{{ end }}
+
{{ define "stackedPullList" }}
{{ $list := index . 0 }}
{{ $root := index . 1 }}
<div class="grid grid-cols-1 rounded-b border-b border-t border-gray-200 dark:border-gray-900 divide-y divide-gray-200 dark:divide-gray-900">