EP-39734: altered creation date in table column with tag.

This commit is contained in:
Suhal Vemu 2024-02-29 10:16:56 +05:30
parent 6c3c27e215
commit 417f9a6fc7
No known key found for this signature in database
GPG Key ID: 18832091D9EAF95A
1 changed files with 17 additions and 25 deletions

View File

@ -30,20 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<table style="border: none">
<thead>
<tr>
<th
class="creation-date { (state.desc && state.orderType === 'date') ? 'material-card-th-sorted-descending' : 'material-card-th-sorted-ascending' }"
onclick="{() => onPageReorder('date') }"
>
Creation date
</th>
<th
class="image-size { (state.desc && state.orderType === 'size') ? 'material-card-th-sorted-descending' : 'material-card-th-sorted-ascending' }"
onclick="{() => onPageReorder('size') }"
>
Size
</th>
<th id="image-content-digest-header" if="{ props.showContentDigest }">Content Digest</th>
<th
id="image-tag-header"
class="{ props.asc ? 'material-card-th-sorted-ascending' : 'material-card-th-sorted-descending' }"
@ -51,6 +37,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
>
Tag
</th>
<th
class="image-size { (state.desc && state.orderType === 'size') ? 'material-card-th-sorted-descending' : 'material-card-th-sorted-ascending' }"
onclick="{() => onPageReorder('size') }"
>
Size
</th>
<th id="image-content-digest-header" if="{ props.showContentDigest }">Content Digest</th>
<th class="architectures">Arch</th>
<th class="show-tag-history">History</th>
<th
@ -82,8 +77,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</thead>
<tbody>
<tr each="{ image in getPage(props.tags, props.page) }" if="{ matchSearch(props.filterResults, image.tag) }">
<td class="creation-date">
<image-date image="{ image }"></image-date>
<td>
<image-tag image="{ image }"></image-tag>
<copy-to-clipboard
target="tag"
image="{ image }"
pull-url="{ props.pullUrl }"
on-notify="{ props.onNotify }"
></copy-to-clipboard>
</td>
<td class="image-size">
<image-size image="{ image }"></image-size>
@ -97,15 +98,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
on-notify="{ props.onNotify }"
></copy-to-clipboard>
</td>
<td>
<image-tag image="{ image }"></image-tag>
<copy-to-clipboard
target="tag"
image="{ image }"
pull-url="{ props.pullUrl }"
on-notify="{ props.onNotify }"
></copy-to-clipboard>
</td>
<td class="architectures">
<architectures image="{ image }"></architectures>
</td>