Fix BaseURL usage in template
This commit is contained in:
parent
067569e0c3
commit
d4ac72ff39
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user