{% extends "settings/layout.html.twig" %} {% trans_default_domain "Settings" %} {% block settings_content %}

{{ 'notifications.title'|trans }}

{{ 'notifications.subtitle'|trans }}

{{ 'notifications.group_social'|trans }}

{% set socialRows = [ { key: 'new_follower', label: 'notifications.new_follower_label', desc: 'notifications.new_follower_desc' }, { key: 'post_liked', label: 'notifications.post_liked_label', desc: 'notifications.post_liked_desc' }, { key: 'post_commented', label: 'notifications.post_commented_label', desc: 'notifications.post_commented_desc' }, { key: 'comment_replied', label: 'notifications.comment_replied_label', desc: 'notifications.comment_replied_desc' }, { key: 'paper_shared', label: 'notifications.paper_shared_label', desc: 'notifications.paper_shared_desc' }, { key: 'wall_question', label: 'notifications.wall_question_label', desc: 'notifications.wall_question_desc' } ] %} {% for row in socialRows %}
{{ row.label|trans }}
{{ row.desc|trans }}
{{ 'notifications.inapp'|trans }}
{{ 'notifications.email'|trans }}
{% endfor %}

{{ 'notifications.group_email_only'|trans }}

{% set emailRows = [ { key: 'weekly_digest', label: 'notifications.weekly_digest_label', desc: 'notifications.weekly_digest_desc' }, { key: 'recommendation', label: 'notifications.recommendation_label', desc: 'notifications.recommendation_desc' }, { key: 'marketing', label: 'notifications.marketing_label', desc: 'notifications.marketing_desc' } ] %} {% for row in emailRows %}
{{ row.label|trans }}
{{ row.desc|trans }}
{{ 'notifications.email'|trans }}
{% endfor %}
{% endblock %}