Compare commits

..

2 Commits

Author SHA1 Message Date
wpetit 0c49035f28 Merge branch 'develop' into dist/ubuntu/bionic/develop 2021-01-22 11:28:25 +01:00
wpetit d4ac72ff39 Fix BaseURL usage in template 2021-01-22 11:28:08 +01:00
1 changed files with 3 additions and 2 deletions

View File

@ -23,10 +23,11 @@
</tr>
</thead>
<tbody>
{{ $baseURL := .BaseURL }}
{{range .Messages}}
<tr data-controller="inbox-entry"
data-action="click->outbox-entry#onClick"
data-inbox-entry-link="{{ .BaseURL }}/sms/{{ .ID }}">
data-inbox-entry-link="{{ $baseURL }}/sms/{{ .ID }}">
<td class="sms-from">
<span class="is-size-7">{{ .From }}</span>
</td>
@ -38,7 +39,7 @@
</td>
<td class="sms-actions">
<div class="buttons is-right">
<a href="{{ .BaseURL }}/sms/{{ .ID }}" class="button is-small is-link">👁️ See</a>
<a href="{{ $baseURL }}/sms/{{ .ID }}" class="button is-small is-link">👁️ See</a>
</div>
</td>
</tr>