diff --git a/resources/views/macros/base.twig b/resources/views/macros/base.twig index f3598ea4..3c07ea59 100644 --- a/resources/views/macros/base.twig +++ b/resources/views/macros/base.twig @@ -6,6 +6,10 @@ {% endmacro %} +{% macro icon(icon) %} + +{% endmacro %} + {% macro alert(message, type) %}
{{ message }}
{% endmacro %} @@ -19,7 +23,7 @@ {% endmacro %} {% macro button(label, url, type, size, title) %} - + {{ label }} {% endmacro %} diff --git a/resources/views/pages/news/overview.twig b/resources/views/pages/news/overview.twig index b3198427..b0b5dbd7 100644 --- a/resources/views/pages/news/overview.twig +++ b/resources/views/pages/news/overview.twig @@ -9,7 +9,7 @@

{{ block('title') }} {%- if has_permission_to('admin_news') and is_overview|default(false) -%} - {{ m.button(m.glyphicon('plus'), url('admin/news', only_meetings ? {'meeting': 1} : {})) }} + {{ m.button(m.icon('plus-lg'), url('admin/news', only_meetings ? {'meeting': 1} : {}), 'secondary') }} {%- endif %}