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": { "HistoricalEventAddHfSiteLink": {
"Site": "SiteId" "Site": "SiteId"
}, },
"HistoricalEventDiplomatLost": {
"Entity": "SiteId",
"Involved": "SiteId",
"Site": "SiteId"
},
"HistoricalEventPeaceAccepted": { "HistoricalEventPeaceAccepted": {
"Site": "SiteId" "Site": "SiteId"
}, },

View File

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

View File

@ -1,7 +1,7 @@
<ul> <ul>
{{- range $event := . }} {{- range $event := . }}
<li> <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 }} html $event.Details.Html }} {{ json $event.Details }}
</li> </li>
{{- end}} {{- end}}