This commit is contained in:
Robert Janetzko 2022-04-22 07:39:15 +00:00
parent 95eff6118a
commit 26cedf3339
3 changed files with 8 additions and 3 deletions

View File

@ -5,6 +5,11 @@
"HistoricalEventAddHfSiteLink": {
"Site": "SiteId"
},
"HistoricalEventDiplomatLost": {
"Entity": "SiteId",
"Involved": "SiteId",
"Site": "SiteId"
},
"HistoricalEventPeaceAccepted": {
"Site": "SiteId"
},

View File

@ -55,8 +55,8 @@ a {
}
.json {
color: #aaa;
font-size: 50%;
color: #ddd;
font-size: 80%;
}
/*

View File

@ -1,7 +1,7 @@
<ul>
{{- range $event := . }}
<li>
[{{ $event.Id }}] In {{ if gt $event.Seconds72 -1 }}{{ season $event.Seconds72 }} of {{ end }}{{ $event.Year }} {{
[{{ $event.Id }}] In {{ if gt $event.Seconds72 -1 }}{{ season $event.Seconds72 }} of {{ end }}{{ $event.Year }}, {{
html $event.Details.Html }} {{ json $event.Details }}
</li>
{{- end}}