Verified Commit 77be2c8c authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

hide 'Source package' field on packages versions that does not have a .dsc...

hide 'Source package' field on packages versions that does not have a .dsc (previous upload of the same version)
parent 5559796a
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
<td>${ package_version.uploaded.strftime("%Y-%m-%d %H:%M %Z")}</td> <td>${ package_version.uploaded.strftime("%Y-%m-%d %H:%M %Z")}</td>
</tr> </tr>
%if package_version.source_packages[0].package_files:
<tr> <tr>
<th>${ _('Source package') }:</th> <th>${ _('Source package') }:</th>
<td> <td>
...@@ -119,6 +120,7 @@ ...@@ -119,6 +120,7 @@
</td> </td>
</tr> </tr>
%endif
<tr class="pkg-list"> <tr class="pkg-list">
<th>${ _('Section') }:</th> <th>${ _('Section') }:</th>
......
Supports Markdown
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