implement activity RSS feed

This commit is contained in:
ghost 2023-10-13 23:06:20 +03:00
parent 60a5593446
commit 35b84546ff
58 changed files with 834 additions and 162 deletions

View file

@ -1,10 +1,10 @@
{% extends 'default/layout.html.twig' %}
{% block title %}{{'Edit sensitive'|trans }} - {{'Torrent'|trans }} #{{ torrentId }} - {{ name }}{% endblock %}
{% block title %}{{ 'Edit sensitive status' | trans }} - {{ 'Torrent' | trans }} #{{ torrentId }} - {{ name }}{% endblock %}
{% block main_content %}
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night">
<div class="margin-b-24-px padding-b-16-px border-bottom-default">
<h1>
{{'Edit sensitive status for torrent'|trans }}
{{'Edit sensitive status for torrent' | trans }}
<a href="{{ path('torrent_info', { torrentId : torrentId }) }}">#{{ torrentId }}</a>
</h1>
</div>
@ -12,7 +12,7 @@
<div class="margin-y-16-px">
<input type="checkbox" name="sensitive" id="sensitive" value="true" {% if form.sensitive.attribute.value %}checked="checked"{% endif %} />
<label for="sensitive">
{{'Sensitive'|trans }}
{{'Sensitive' | trans }}
</label>
<sub class="opacity-0 parent-hover-opacity-09" title="{{ 'Mark torrent content as sensitive' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
@ -23,7 +23,7 @@
<div class="padding-t-4-px margin-b-16-px border-bottom-default"></div>
<div class="text-right">
<a class="margin-r-8-px" href="{{ path('torrent_info', { torrentId : torrentId }) }}">
{{'cancel'|trans }}
{{'cancel' | trans }}
</a>
<input class="button-green" type="submit" value="{{'Submit'|trans }}" />
</div>
@ -38,7 +38,7 @@
{{ edition.added | format_ago }}
</a>
{% endif %}
{{ 'by'|trans }}
{{ 'by' | trans }}
<a href="{{ path('user_info', { userId : edition.user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ edition.user.identicon }}" alt="{{'identicon'|trans }}" />
</a>