~migadu/alps-devel

base HTML: fix migration to imap/v2 v1 APPLIED

Matthieu Rakotojaona: 1
 base HTML: fix migration to imap/v2

 1 files changed, 5 insertions(+), 5 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~migadu/alps-devel/patches/47968/mbox | git am -3
Learn more about email & git

[PATCH] base HTML: fix migration to imap/v2 Export this patch

---

Thanks for alps !
This is the same as 1e069e9, but for the base theme :)

 plugins/base/public/message.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/plugins/base/public/message.html b/plugins/base/public/message.html
index 38b41c5..26fa5b2 100644
--- a/plugins/base/public/message.html
+++ b/plugins/base/public/message.html
@@ -17,7 +17,7 @@
</h2>

<form method="post" action="/message/{{.Mailbox.Name | pathescape}}/move">
  <input type="hidden" name="uids" value="{{.Message.Uid}}">
  <input type="hidden" name="uids" value="{{.Message.UID}}">
  <label for="move-to">Move to:</label>
  <select name="to" id="move-to">
    {{range .Mailboxes}}
@@ -28,13 +28,13 @@
</form>

<form method="post" action="/message/{{.Mailbox.Name | pathescape}}/delete">
  <input type="hidden" name="uids" value="{{.Message.Uid}}">
  <input type="hidden" name="uids" value="{{.Message.UID}}">
  <input type="submit" value="Delete">
</form>

{{if .Flags}}
  <form method="post" action="/message/{{.Mailbox.Name | pathescape}}/flag">
    <input type="hidden" name="uids" value="{{.Message.Uid}}">
    <input type="hidden" name="uids" value="{{.Message.UID}}">
    <p>Flags:</p>
    {{range $name, $has := .Flags}}
      {{if ismutableflag $name}}
@@ -55,8 +55,8 @@
{{define "addr-list"}}
  {{range $i, $addr := .}}
    {{if $i}},{{end}}
    {{.PersonalName}}
    &lt;<a href="/compose?to={{.Address}}">{{.Address}}</a>&gt;
    {{.Name}}
    &lt;<a href="/compose?to={{.Addr}}">{{.Addr}}</a>&gt;
  {{end}}
{{end}}

-- 
2.43.0
Pushed, thanks!