diff --git a/admin/tool/models/templates/models_list.mustache b/admin/tool/models/templates/models_list.mustache
index 6c825272a66..0cb1965b900 100644
--- a/admin/tool/models/templates/models_list.mustache
+++ b/admin/tool/models/templates/models_list.mustache
@@ -30,6 +30,20 @@
Example context (json):
{
+ "models": [
+ {
+ "target": "Prevent devs at risk",
+ "enabled": 1,
+ "indicators": [
+ "Indicator 1",
+ "Indicator 2",
+ "Indicator 3",
+ "Indicator 4"
+ ],
+ "timesplitting": "Quarters",
+ "noinsights": "No insights available yet"
+ }
+ ]
}
}}
diff --git a/report/insights/templates/insight.mustache b/report/insights/templates/insight.mustache
index b24505eed4b..c7cad23df74 100644
--- a/report/insights/templates/insight.mustache
+++ b/report/insights/templates/insight.mustache
@@ -30,6 +30,10 @@
Example context (json):
{
+ "samplelink": "Link",
+ "sampledescription": "Sample description",
+ "predictionstyle": "alert alert-success",
+ "predictiondisplayvalue": "This dev will understand it"
}
}}
diff --git a/report/insights/templates/insight_details.mustache b/report/insights/templates/insight_details.mustache
index 77cd57cd3f3..0cc241c168b 100644
--- a/report/insights/templates/insight_details.mustache
+++ b/report/insights/templates/insight_details.mustache
@@ -27,6 +27,25 @@
Context variables required for this template:
* none
+
+ Example context (json):
+ {
+ "samplelink": "
Link",
+ "sampledescription": "Sample description",
+ "predictionstyle": "alert alert-success",
+ "predictiondisplayvalue": "This dev will success",
+ "calculations": [
+ {
+ "style": "alert alert-success",
+ "name": "Indicator 1",
+ "displayvalue": "yes"
+ }, {
+ "style": "alert alert-warning",
+ "name": "Indicator 2",
+ "displayvalue": "20%"
+ }
+ ]
+ }
}}
{{#str}}prediction, report_insights{{/str}}
diff --git a/report/insights/templates/insights_list.mustache b/report/insights/templates/insights_list.mustache
index 93c0c837969..efc179def9e 100644
--- a/report/insights/templates/insights_list.mustache
+++ b/report/insights/templates/insights_list.mustache
@@ -30,6 +30,19 @@
Example context (json):
{
+ "insights": [
+ {
+ "samplelink": "
Link",
+ "sampledescription": "Sample description",
+ "predictionstyle": "alert alert-success",
+ "predictiondisplayvalue": "This dev will understand it"
+ }, {
+ "samplelink": "
Any renderable",
+ "sampledescription": "Another sample description",
+ "predictionstyle": "alert alert-danger",
+ "predictiondisplayvalue": "This dev will not understand it"
+ }
+ ]
}
}}