Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only show web seed if there is one

  • Loading branch information...
commit b04096dab2c6355799a7911a33cac71b6632313d 1 parent cb2de45
@afresh1 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  OpenBSDtracker
View
2  OpenBSDtracker
@@ -140,7 +140,7 @@ __DATA__
% my $detail = $torrents->{$hash};
% my $status = $detail->{stats} || {};
% my $web_seed = '';
-% $web_seed = t span => class => 'additional-detail' => 'Web Seed' ;
+% $web_seed = t span => class => 'additional-detail' => 'Web Seed' if $detail->{'url-list'};
% my $row_class = $row % 2 ? 'odd' : 'even';
<tr data-hash="<%= $hash %>" class="torrent <%= $row_class %>">
<td><div class="detail_expander <%= $hash %>" style="float:left"></div>
Please sign in to comment.
Something went wrong with that request. Please try again.