mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Replace getter and setter for user & user notif setting value
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
{% for notification in nots %}
|
||||
<li>
|
||||
<label class="checkbox" for="notif_{{ notification["id"] }}">
|
||||
<input type="checkbox" id="notif_{{ notification["id"] }}" name="notifications[{{ notification["id"] }}]" {% if not app["authentication"].getUser().get_notifications_preference(app, notification["id"]) == "0" %}checked{% endif %} value="1"/>
|
||||
<input type="checkbox" id="notif_{{ notification["id"] }}" name="notifications[{{ notification["id"] }}]" {% if app["authentication"].getUser().getNotificationSettingValue(notification["id"]) %}checked{% endif %} value="1"/>
|
||||
{{ notification["description"] }}
|
||||
</label>
|
||||
<p class="form_alert help-block"></p>
|
||||
|
Reference in New Issue
Block a user