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