blessing-skin-server/resources/views/user/profile.twig
2019-09-17 23:10:44 +08:00

13 lines
294 B
Twig

{% extends 'user.base' %}
{% block title %}{{ trans('general.profile') }}{% endblock %}
{% block before_foot %}
<script>
Object.defineProperty(blessing, 'extra', {
configurable: false,
get: () => Object.freeze({{ extra|json_encode|raw }}),
})
</script>
{% endblock %}