|
25 | 25 | </div>
|
26 | 26 | {% else %}
|
27 | 27 | {% if hasSubscribed %}
|
28 |
| - <a class="btn btn-primary" href="{{ _path('claro_forum_unsubscribe', {'forum': _resource.getId()}) }}"> |
| 28 | + <a class="btn btn-primary" href="{{ path('claro_forum_unsubscribe', {'forum': _resource.getId()}) }}"> |
29 | 29 | {{ 'unsubscribe_mail_list'|trans({}, 'forum') }}
|
30 | 30 | </a>
|
31 | 31 | {% else %}
|
32 |
| - <a class="btn btn-primary" href="{{ _path('claro_forum_subscribe', {'forum': _resource.getId()}) }}"> |
| 32 | + <a class="btn btn-primary" href="{{ path('claro_forum_subscribe', {'forum': _resource.getId()}) }}"> |
33 | 33 | {{ 'subscribe_mail_list'|trans({}, 'forum') }}
|
34 | 34 | </a>
|
35 | 35 | {% endif %}
|
|
54 | 54 | </div>
|
55 | 55 | <div id="bottom-div" class="panel">
|
56 | 56 | {% if isModerator %}
|
57 |
| - <a class="btn btn-primary" href="{{ _path('claro_forum_form_category_creation', {'forum': _resource.getId()}) }}"> |
| 57 | + <a class="btn btn-primary" href="{{ path('claro_forum_form_category_creation', {'forum': _resource.getId()}) }}"> |
58 | 58 | <i class="fa fa-plus"></i> {{ 'new_category'|trans({}, 'forum') }}
|
59 | 59 | </a>
|
60 | 60 |
|
61 | 61 | {% if is_mailer_available() %}
|
62 | 62 |
|
63 | 63 | {% if _resource.getActivateNotifications() %}
|
64 | 64 | <a class="btn btn-primary"
|
65 |
| - href="{{ _path('claro_forum_disable_global_notifications', {'forum': _resource.getId()}) }}"> |
| 65 | + href="{{ path('claro_forum_disable_global_notifications', {'forum': _resource.getId()}) }}"> |
66 | 66 | {{ 'disable_global_notifications'|trans({}, 'forum') }}
|
67 | 67 | </a>
|
68 | 68 | {% else %}
|
69 | 69 | <a class="btn btn-primary"
|
70 |
| - href="{{ _path('claro_forum_activate_global_notifications', {'forum': _resource.getId()}) }}"> |
| 70 | + href="{{ path('claro_forum_activate_global_notifications', {'forum': _resource.getId()}) }}"> |
71 | 71 | {{ 'activate_global_notifications'|trans({}, 'forum') }}
|
72 | 72 | </a>
|
73 | 73 | {% endif %}
|
74 | 74 |
|
75 | 75 | {% if hasSubscribed %}
|
76 |
| - <a class="btn btn-primary" href="{{ _path('claro_forum_unsubscribe', {'forum': _resource.getId()}) }}"> |
| 76 | + <a class="btn btn-primary" href="{{ path('claro_forum_unsubscribe', {'forum': _resource.getId()}) }}"> |
77 | 77 | {{ 'unsubscribe_mail_list'|trans({}, 'forum') }}
|
78 | 78 | </a>
|
79 | 79 | {% else %}
|
80 |
| - <a class="btn btn-primary" href="{{ _path('claro_forum_subscribe', {'forum': _resource.getId()}) }}"> |
| 80 | + <a class="btn btn-primary" href="{{ path('claro_forum_subscribe', {'forum': _resource.getId()}) }}"> |
81 | 81 | {{ 'subscribe_mail_list'|trans({}, 'forum') }}
|
82 | 82 | </a>
|
83 | 83 | {% endif %}
|
|
0 commit comments