Permalink
Browse files

Only show web seed if there is one

  • Loading branch information...
1 parent cb2de45 commit b04096dab2c6355799a7911a33cac71b6632313d @afresh1 committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 OpenBSDtracker
View
@@ -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>

0 comments on commit b04096d

Please sign in to comment.