This commit is contained in:
Mike McLean 2025-03-17 19:03:17 -04:00 committed by Tomas Kopecek
parent 0321b7128b
commit 4e407c7f1b
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@
</td>
</tr>
<tr>
#set epoch = (rpm.epoch != None and str(rpm.epoch) + ':' or '')
#set epoch = ( rpm.epoch ~ ':' if rpm.epoch is not none else '')
<th>RPM</th><td><a href="rpminfo?rpmID={{ rpm.id }}">{{ rpm.name }}-{{ epoch }}{{ rpm.version }}-{{ rpm.release }}.{{ rpm.arch }}.rpm</a></td>
</tr>
#elif archive

View file

@ -100,7 +100,7 @@ owned by <a href="userinfo?userID={{ user.id }}">{{ user.name }}</a>
#if tag or user
<td><a href="taginfo?tagID={{ package.tag_id }}">{{ package.tag_name }}</a></td>
<td class="user-{{ package.owner_name }}"><a href="userinfo?userID={{ package.owner_id }}">{{ package.owner_name }}</a></td>
<td class="{{ str(not package.blocked) }}.lower()">{{ util.imageTag('no') if package.blocked else util.imageTag('yes') }}</td>
<td class="{{ (not package.blocked)|lower }}">{{ util.imageTag('no') if package.blocked else util.imageTag('yes') }}</td>
#endif
</tr>
#endfor