Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //TrackerMembersBundle:Macros:bootstrap.html.twig
- {% macro icon_class( type ) %}
- {% set type_class_map = {
- likePoints: 'icon-user'
- } %}
- {{ type_class_map[type] }}
- {% endmacro %}
- //TrackerMembersBundle:_browsesnippet.html.twig
- {% import "TrackerMembersBundle:Macros:bootstrap.html.twig" as bootstrap %}
- {% set heading = pagination.sortable('likePoints', 'likePoints') %}
- <th class="{{ bootstrap.icon_class(heading) }}">{{ heading }}</th>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement