0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Simplify browser bugs inline shortcode

This commit is contained in:
Bjørn Erik Pedersen 2019-02-05 21:59:01 +02:00 committed by XhmikosR
parent 142af24018
commit b1860eca05

View File

@ -15,17 +15,20 @@ See also:
* [Mozilla bug 1230801: Fix the issues that affect Bootstrap](https://bugzilla.mozilla.org/show_bug.cgi?id=1230801) * [Mozilla bug 1230801: Fix the issues that affect Bootstrap](https://bugzilla.mozilla.org/show_bug.cgi?id=1230801)
* [WebKit bug 159753: [meta] Issues affecting Bootstrap](https://bugs.webkit.org/show_bug.cgi?id=159753) * [WebKit bug 159753: [meta] Issues affecting Bootstrap](https://bugs.webkit.org/show_bug.cgi?id=159753)
{{< bug.inline >}}
{{- $type := .Get "type" | default "bug" -}}
{{- $data := .Get "data" | default "browser-bugs" -}}
<table class="bd-browser-bugs table table-bordered table-hover"> <table class="bd-browser-bugs table table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th>Browser(s)</th> <th>Browser(s)</th>
<th>Summary of bug</th> <th>Summary of {{ $type }}</th>
<th>Upstream bug(s)</th> <th>Upstream issue(s)</th>
<th>Bootstrap issue(s)</th> <th>Bootstrap issue(s)</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{{< bug.inline >}}
{{- range (index $.Site.Data $data) }} {{- range (index $.Site.Data $data) }}
<tr> <tr>
<td>{{ .browser | chomp }}</td> <td>{{ .browser | chomp }}</td>
@ -34,9 +37,9 @@ See also:
<td>{{ partial "bugify" .origin }}</td> <td>{{ partial "bugify" .origin }}</td>
</tr> </tr>
{{- end }} {{- end }}
{{< /bug.inline >}}
</tbody> </tbody>
</table> </table>
{{< /bug.inline >}}
# Most wanted features # Most wanted features
@ -44,25 +47,4 @@ There are several features specified in Web standards which would allow us to ma
We publicly list these "most wanted" feature requests here, in the hopes of expediting the process of getting them implemented. We publicly list these "most wanted" feature requests here, in the hopes of expediting the process of getting them implemented.
<table class="bd-browser-bugs table table-bordered table-hover"> {{< bug.inline data="browser-features" type="feature" />}}
<thead>
<tr>
<th>Browser(s)</th>
<th>Summary of feature</th>
<th>Upstream issue(s)</th>
<th>Bootstrap issue(s)</th>
</tr>
</thead>
<tbody>
{{< feat.inline >}}
{{ range (index $.Site.Data "browser-features") }}
<tr>
<td>{{ .browser }}</td>
<td>{{ .summary | markdownify }}</td>
<td>{{ partial "bugify" .upstream_bug }}</td>
<td>{{ partial "bugify" .origin }}</td>
</tr>
{{ end }}
{{< /feat.inline >}}
</tbody>
</table>