content: delete legacy_unit_directories
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
{{- end -}}
</tr>
{{end}}
-
-{{define "legacy_unit_directories"}}
- <div class="UnitDirectories js-unitDirectories" id="section-directories">
- <h2 class="UnitDirectories-title">
- <img height="25px" width="20px" src="/static/img/pkg-icon-folder_20x16.svg" alt="">Directories
- </h2>
- {{if (or .Subdirectories .NestedModules) }}
- <table class="UnitDirectories-table" data-test-id="UnitDirectories-table">
- <tr class="UnitDirectories-tableHeader">
- <th>Path</th>
- <th>Synopsis</th>
- </tr>
- {{range .Subdirectories}}
- <tr>
- <td>
- <a href="{{.URL}}">{{.Suffix}}</a>
- </td>
- <td>{{.Synopsis}}</td>
- </tr>
- {{end}}
- {{range .NestedModules}}
- <tr>
- <td>
- <span class="UnitDirectories-moduleTag">MODULE</span>
- <a href="{{.URL}}">{{.Suffix}}</a>
- </td>
- <td></td>
- </tr>
- {{end}}
- </table>
- {{end}}
- </div>
-{{end}}
