fix widgets imports (#1387)
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
{% import "macros/widgets.html.twig" as widgets %}
|
||||
{% import "macros/progressbar.html.twig" as progress %}
|
||||
|
||||
{% set projectStats = data %}
|
||||
{% set title = options.title|default('label.my_team_projects') %}
|
||||
{% set widgetId = options.id %}
|
||||
@@ -9,6 +6,8 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
|
||||
{% import "macros/widgets.html.twig" as widgets %}
|
||||
{% import "macros/progressbar.html.twig" as progress %}
|
||||
{% block box_attributes %}id="{{ widgetId }}"{% endblock %}
|
||||
{% block box_title %}
|
||||
{% if not title is empty %}{{ title|trans }}{% endif %}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{% import "macros/widgets.html.twig" as widgets %}
|
||||
|
||||
{% set teams = data %}
|
||||
{% set title = options.title|default(title|default('label.teams')) %}
|
||||
{% set widgetId = options.id %}
|
||||
|
||||
Reference in New Issue
Block a user