1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-16 22:48:27 +00:00

Fix empty container layer history and UI (#21251) (#21278)

Backport of #21251
This commit is contained in:
KN4CK3R
2022-09-27 17:10:19 +02:00
committed by GitHub
parent 43b4c38d4f
commit 790770aef3
4 changed files with 15 additions and 3 deletions

View File

@@ -43,7 +43,7 @@
{{if .PackageDescriptor.Metadata.ImageLayers}}
<h4 class="ui top attached header">{{.i18n.Tr "packages.container.layers"}}</h4>
<div class="ui attached segment">
<table id="notice-table" class="ui very basic compact table">
<table class="ui very basic compact table">
<tbody>
{{range .PackageDescriptor.Metadata.ImageLayers}}
<tr>
@@ -57,7 +57,7 @@
{{if .PackageDescriptor.Metadata.Labels}}
<h4 class="ui top attached header">{{.i18n.Tr "packages.container.labels"}}</h4>
<div class="ui attached segment">
<table id="notice-table" class="ui very basic compact table">
<table class="ui very basic compact table container-labels">
<thead>
<tr>
<th>{{.i18n.Tr "packages.container.labels.key"}}</th>