Compare commits

...

2 Commits

Author SHA1 Message Date
wpetit 4f55a80dbe Merge branch 'develop' into dist/ubuntu/bionic/develop 2021-01-22 11:42:24 +01:00
wpetit eb9f19eaa0 Normalize links in templates 2021-01-22 11:42:03 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -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}}

View File

@ -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}}