Commit aebbb2a4 authored by Jens Jacobsen's avatar Jens Jacobsen

Show the correct state of the version, not the state of the last extension version

parent 73b40e43
Pipeline #2047 passed with stages
in 1 minute and 24 seconds
......@@ -20,7 +20,7 @@
</td>
<td class="align-middle">
<strong>{version.versionString}</strong> /
<span class="ter-ext-state-{extension.lastVersion.state}">{extension.lastVersion.state}</span>
<span class="ter-ext-state-{version.state}">{version.state}</span>
<br />
<small>
<f:format.date format="F d, Y">{version.uploadDate}</f:format.date>
......@@ -84,7 +84,7 @@
<tr{f:if(condition:'{version} == {version.extension.lastVersion}',then:' class="table-success"')}{f:if(condition:'{version.reviewState} == -1',then:' class="table-danger"')}>
<td class="align-middle">
<strong>{version.versionString}</strong> /
<span class="ter-ext-state-{extension.lastVersion.state}">{extension.lastVersion.state}</span>
<span class="ter-ext-state-{version.state}">{version.state}</span>
<br />
<small>
<f:format.date format="F d, Y">{version.uploadDate}</f:format.date>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment