blob: d75b273d9d13abe219fb7e0661ae79ed61a82973 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<div id="{{ widget.uniqueId }}"
ng-show="view.showWidget"
class="{{widget.viewDataTable}}"
ng-class="{'smallTopMargin': (!widget.isFirstInPage && (!widget.name || widgetized))}"
>
<!--smallTopMargin: we display small margin if it's not the first widget on the page and if there's no headline -->
<h2 ng-if="!widget.parameters.widget && widget.name && !widgetized"
piwik-enriched-headline
ng-class="{'noTopMargin': widget.isFirstInPage}"
inline-help="{{widget.documentation}}"
feature-name="{{widget.name}}">{{widget.name}}</h2>
<h2 ng-if="widget.parameters.widget && widget.name && !widgetized">{{widget.name}}</h2>
<div ng-if="!widget.isContainer && widget.parameters"
piwik-widget-loader="widget.parameters"></div>
<div ng-if="widget.isContainer && widget.layout!='ByDimension'">
<div piwik-widget-container="widget"></div>
</div>
<div ng-if="widget.isContainer && widget.layout=='ByDimension'">
<div piwik-widget-by-dimension-container="widget"></div>
</div>
</div>
|