mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-22 12:44:25 +00:00
add publisher link #11
This commit is contained in:
parent
4a6dd85c60
commit
ffa59d6f82
@ -57,6 +57,15 @@ class TorrentController extends AbstractController
|
||||
[
|
||||
'id' => $torrent->getId(),
|
||||
'added' => $torrent->getAdded(),
|
||||
'user' =>
|
||||
[
|
||||
'id' => $torrent->getUserId(),
|
||||
'identicon' => $userService->identicon(
|
||||
$userService->get(
|
||||
$torrent->getUserId()
|
||||
)->getAddress()
|
||||
),
|
||||
],
|
||||
'scrape' =>
|
||||
[
|
||||
'seeders' => (int) $torrent->getSeeders(),
|
||||
|
@ -177,6 +177,16 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ 'Publisher'|trans }}
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ path('user_info', { id : torrent.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ torrent.user.identicon }}" alt="{{'identicon'|trans }}" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<div class="padding-y-8-px border-bottom-default text-right">
|
||||
|
Loading…
x
Reference in New Issue
Block a user