Skip to content

Commit

Permalink
Display server software
Browse files Browse the repository at this point in the history
  • Loading branch information
cal0pteryx committed Sep 7, 2023
1 parent 97cd5a7 commit a718b8d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions themes/xmpp-providers/layouts/shortcodes/provider-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,18 @@ <h2>Service</h2>
{{ end }}
</td>
</tr>
<tr>
<td class="text-center">
<i class="fa-solid fa-terminal px-2 text-body-secondary"></i>
</td>
<td>
{{ if .serverSoftwareName }}
<span class="d-block text-truncate" title="{{ .serverSoftwareName }} {{ .serverSoftwareVersion }}" style="max-width: 20rem;">Server software: {{ .serverSoftwareName }} {{ .serverSoftwareVersion }}</span>
{{ else }}
Unknown
{{ end }}
</td>
</tr>
</table>
<h2>Account</h2>
<table class="mb-4">
Expand Down
10 changes: 10 additions & 0 deletions themes/xmpp-providers/layouts/shortcodes/provider-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
<th>
Run by a<br>Company
</th>
<th>
Server<br>Software
</th>
<th>
Registration
</th>
Expand Down Expand Up @@ -190,6 +193,13 @@
No
{{ end }}
</td>
<td>
{{ if .serverSoftwareName }}
<span class="d-block text-truncate" title="{{ .serverSoftwareName }} {{ .serverSoftwareVersion }}" style="max-width: 12rem;">{{ .serverSoftwareName }} {{ .serverSoftwareVersion }}</span>
{{ else }}
Unknown
{{ end }}
</td>
<td>
{{ if .inBandRegistration }}
App
Expand Down

0 comments on commit a718b8d

Please sign in to comment.