mirror of
https://github.com/Quiq/docker-registry-ui.git
synced 2025-07-19 08:36:33 +00:00
Last events were not shown when viewing a repo of non-default namespace.
This commit is contained in:
parent
4db9ceb0a6
commit
16fd6d944f
@ -3,6 +3,7 @@
|
|||||||
### Unreleased
|
### Unreleased
|
||||||
|
|
||||||
* When using MySQL for event storage, do not leak connections.
|
* When using MySQL for event storage, do not leak connections.
|
||||||
|
* Last events were not shown when viewing a repo of non-default namespace.
|
||||||
|
|
||||||
### 0.6
|
### 0.6
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -196,7 +196,7 @@ func (a *apiClient) viewTags(c echo.Context) error {
|
|||||||
data.Set("repo", repo)
|
data.Set("repo", repo)
|
||||||
data.Set("tags", tags)
|
data.Set("tags", tags)
|
||||||
data.Set("deleteAllowed", deleteAllowed)
|
data.Set("deleteAllowed", deleteAllowed)
|
||||||
data.Set("events", a.eventListener.GetEvents(repo))
|
data.Set("events", a.eventListener.GetEvents(repoPath))
|
||||||
|
|
||||||
return c.Render(http.StatusOK, "tags.html", data)
|
return c.Render(http.StatusOK, "tags.html", data)
|
||||||
}
|
}
|
||||||
|
@ -23,12 +23,16 @@
|
|||||||
{{block body()}}
|
{{block body()}}
|
||||||
<div style="float: right">
|
<div style="float: right">
|
||||||
<select id="namespace" class="form-control input-sm" style="height: 36px">
|
<select id="namespace" class="form-control input-sm" style="height: 36px">
|
||||||
<option value="" disabled>-- Namespace --</option>
|
|
||||||
{{range namespace := namespaces}}
|
{{range namespace := namespaces}}
|
||||||
<option value="{{ namespace }}">{{ namespace }}</option>
|
<option value="{{ namespace }}">{{ namespace }}</option>
|
||||||
{{end}}
|
{{end}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="float: right">
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li class="active">Namespace</li>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li><a href="/">Home</a></li>
|
<li><a href="/">Home</a></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user