blob: 59d67bb190dd312bd71aa8c75a3c973a65c06a8b (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
{% extends 'admin.twig' %}
{% set title %}{{ 'CoreAdminHome_MenuGeneralSettings'|translate }}{% endset %}
{% block content %}
{% set feedbackHelp %}
<div piwik-content-block content-title="Need help?">
<div>
There are different ways you can get help. There is free support via the Piwik Community and paid support
provided by the Piwik team and partners of Piwik. Or maybe do you have a bug to report or want to suggest a new
feature?
<br />
<br />
<a href="{{ linkTo({'module': 'Feedback', 'action': 'index'}) }}">Learn more</a>
</div>
</div>
{% endset %}
{% if isSuperUser %}
<div class="row">
<div class="col s12 {% if isFeedbackEnabled %}m4{% else %}m6{% endif %}">
<div piwik-content-block content-title="{{ 'CoreHome_SystemSummaryWidget'|translate }}">
<div piwik-widget-loader='{"module":"CoreHome","action":"getSystemSummary"}'></div>
</div>
</div>
<div class="col s12 {% if isFeedbackEnabled %}m4{% else %}m6{% endif %}">
<div piwik-content-block content-title="{{ 'Installation_SystemCheck'|translate }}">
<div piwik-widget-loader='{"module":"Installation","action":"getSystemCheck"}'></div>
</div>
</div>
{% if isFeedbackEnabled %}
<div class="col s12 m4">
{{ feedbackHelp|raw }}
</div>
{% endif %}
</div>
{% else %}
{{ feedbackHelp|raw }}
{% endif %}
{% if isMarketplaceEnabled %}
<div piwik-content-block content-title="Latest Marketplace Updates">
<div piwik-widget-loader='{"module":"CorePluginsAdmin","action":"getNewPlugins", "isAdminPage": "1"}'></div>
</div>
{% endif %}
{{ postEvent('Template.adminHome') }}
<style type="text/css">
#content .piwik-donate-call {
padding: 0;
border: 0;
max-width: none;
}
.theWidgetContent .rss {
margin: -10px -15px;
}
</style>
{% if hasDonateForm or hasPiwikBlog %}
<div class="row">
{% if hasDonateForm %}
<div class="col s12 {% if hasPiwikBlog %}m6{% endif %}">
<div piwik-content-block content-title="{{ 'CoreHome_SupportPiwik'|translate }}">
<div piwik-widget-loader='{"module":"CoreHome","action":"getDonateForm","widget": "0"}'></div>
</div>
</div>
{% endif %}
{% if hasPiwikBlog %}
<div class="col s12 {% if hasDonateForm %}m6{% endif %}">
<div piwik-content-block content-title="Piwik.org Blog">
<div piwik-widget-loader='{"module":"ExampleRssWidget","action":"rssPiwik"}'></div>
</div>
</div>
{% endif %}
</div>
{% endif %}
{% endblock %}
|