Skip to content

Commit

Permalink
Update list_byrequests.html
Browse files Browse the repository at this point in the history
  • Loading branch information
wenguonideshou authored Apr 10, 2018
1 parent 86c731a commit c0a3ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/list_byrequests.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
{% for hash in hashs %}
<div class="search-item detail-width">
<div class="item-title">
<h3><a title="{{ hash.name }}" href="{{url_for('detail',info_hash=hash.info_hash)}}" target="_blank">{{ hash.name|replace(query, '<b>'~query~'</b>')|safe }}</a></h3>
<h3><a title="{{ hash.name }}" href="{{url_for('detail',info_hash=hash.info_hash)}}" target="_blank">{{ hash.name|replace(query, '<b>\\1</b>')|safe }}</a></h3>
</div>
<div class="item-list">
<ul>
{%for f in (hash.info_hash|filelist)[:10]%}
<li>{{f['path']|replace(query, '<span class="red">'~query~'</span>')|safe}}&nbsp;<span class="lightColor">{{ f['length']|filesizeformat }}</span></li>
<li>{{f['path']|replace(query, '<b>\\1</b>')|safe}}&nbsp;<span class="lightColor">{{ f['length']|filesizeformat }}</span></li>
{% endfor %}
</ul>
</div>
Expand Down

0 comments on commit c0a3ecd

Please sign in to comment.