From c1989e242fac6feb499629dbb9b91985e07847da Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Mon, 13 Feb 2023 01:01:46 +0100 Subject: [PATCH] add more data --- template.html | 102 +++++++++++++++++++++++++++++--------------------- 1 file changed, 60 insertions(+), 42 deletions(-) diff --git a/template.html b/template.html index d68e62f..9eb5379 100644 --- a/template.html +++ b/template.html @@ -6,53 +6,53 @@ Matomo {{ majorversion }} Plugins @@ -70,7 +70,8 @@
{% if plugin.supports_new %}✓{% else %}✗{% endif %}
- {{ name }} @@ -107,7 +108,24 @@
{{ plugin.lastUpdated }}
Supports Versions
{{ plugin.supports_version }}
+ {% if plugin.activity %} + {% if plugin.activity.lastCommitDate %} +
Last commit
+
{{ plugin.activity.lastCommitDate }}
+ {% endif %} + {% if plugin.activity.numCommits %} +
Number of commits
+
{{ plugin.activity.numCommits }}
+ {% endif %} + {% if plugin.activity.lastCommitDate %} +
Number of contributors
+
{{ plugin.activity.numContributors }}
+ {% endif %} + {% endif %} + {% if plugin.description %} +

{{ plugin.description }}

+ {% endif %} {% if plugin.issue is defined and plugin.issue and not plugin.supports_new %}

Github issue

{% endif %} @@ -116,10 +134,10 @@ Note: {{ plugin.note|safe }}

{% endif %} -
- Raw Data -
{{ plugin|tojson(indent=2) }}
-
+
+ Raw Data +
{{ plugin|tojson(indent=2) }}
+
{% endfor %}