|
@@ -25,14 +25,21 @@
|
|
* @see template_preprocess_block()
|
|
* @see template_preprocess_block()
|
|
*/
|
|
*/
|
|
#}
|
|
#}
|
|
-{{ dump(user) }}
|
|
|
|
-<div{{ attributes }}>
|
|
|
|
- {{ title_prefix }}
|
|
|
|
- {% if label %}
|
|
|
|
- <h2{{ title_attributes }}>{{ label }}</h2>
|
|
|
|
- {% endif %}
|
|
|
|
- {{ title_suffix }}
|
|
|
|
- {% block content %}
|
|
|
|
- {{ content }}
|
|
|
|
- {% endblock %}
|
|
|
|
|
|
+<div{{ attributes.addClass('panel panel-default') }}>
|
|
|
|
+ <ul>
|
|
|
|
+ <li>Id: {{ user.id }}</li>
|
|
|
|
+ <li>Name: {{ user.getAccountName }}</li>
|
|
|
|
+ <li>Display name: {{ user.getDisplayName }}</li>
|
|
|
|
+ <li>Email: {{ user.getEmail }}</li>
|
|
|
|
+ <li>Language: {{ user.getPreferredLangcode }}</li>
|
|
|
|
+ <li>Last access: {{ user.getLastAccessedTime }}</li>
|
|
|
|
+ <li>Roles:
|
|
|
|
+ <ul>
|
|
|
|
+ {% for role in user.getRoles(true) %}
|
|
|
|
+ <li>{{ role }}</li>
|
|
|
|
+ {% endfor %}
|
|
|
|
+ </ul></li>
|
|
|
|
+ <li>Time zone: {{ user.getTimezone }}</li>
|
|
|
|
+ <li>Username: {{ user.getUsername }}</li>
|
|
|
|
+ </ul>
|
|
</div>
|
|
</div>
|