mirror of
https://github.com/Quiq/docker-registry-ui.git
synced 2025-09-16 06:38:31 +00:00
Major rewrite with just breaking changes
This commit is contained in:
10
templates/breadcrumb.html
Normal file
10
templates/breadcrumb.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ block breadcrumb() }}
|
||||
<li><a href="{{ basePath }}/">{{ registryHost }}</a></li>
|
||||
{{if . != nil}}
|
||||
{{x := ""}}
|
||||
{{range _, p := split(., "/")}}
|
||||
{{x = x + "/" + p}}
|
||||
<li><a href="{{ basePath }}{{ x }}">{{ p }}</a></li>
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{ end }}
|
Reference in New Issue
Block a user