Normalize links in templates
This commit is contained in:
parent
d4ac72ff39
commit
eb9f19eaa0
@ -2,7 +2,7 @@
|
||||
<div class="columns is-mobile">
|
||||
<div class="column is-narrow">
|
||||
<h1 class="is-size-3 title">
|
||||
<a href="{{ .BaseURL }}" rel="Inbox" class="has-text-grey-dark">
|
||||
<a href="{{ .BaseURL }}/" rel="Inbox" class="has-text-grey-dark">
|
||||
{{if or .Messages .SMS}}
|
||||
📳
|
||||
{{else}}
|
||||
|
@ -2,9 +2,9 @@
|
||||
{{define "header_buttons"}}
|
||||
<button class="button is-danger"
|
||||
data-controller="restful"
|
||||
data-restful-endpoint="{{ .BaseURL }}/{{ .SMS.ID }}"
|
||||
data-restful-endpoint="{{ .BaseURL }}/sms/{{ .SMS.ID }}"
|
||||
data-restful-method="DELETE"
|
||||
data-restful-redirect="{{ .BaseURL }}">
|
||||
data-restful-redirect="{{ .BaseURL }}/">
|
||||
🗑️ Delete
|
||||
</button>
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user