~emersion/alps-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH 1/2] base HTML: fix nil on emails without a text part

Details
Message ID
<090d439707c22eccd921e674bfcd3f230397342d.1594648032.git.nabijaczleweli@nabijaczleweli.xyz>
DKIM signature
pass
Download raw message
Patch: +1 -1
P.a. to 50e131244ad78fd1e4c216770ff69471a6fcb03b which solved
https://todo.sr.ht/~emersion/alps/100

Closes: https://todo.sr.ht/~emersion/alps/102
---
 plugins/base/public/mailbox.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/base/public/mailbox.html b/plugins/base/public/mailbox.html
index ff2e3a9..51a78d8 100644
--- a/plugins/base/public/mailbox.html
+++ b/plugins/base/public/mailbox.html
@@ -27,7 +27,7 @@
  <ul>
    {{range .Messages}}
      <li>
        <a href="{{.TextPart.URL false}}">
        <a href="{{if .TextPart}}{{.TextPart.URL false}}{{else}}{{.URL}}{{end}}">
          {{if .Envelope.Subject}}
            {{.Envelope.Subject}}
          {{else}}
-- 
2.20.1

[PATCH 2/2] sourcehut theme: fix nil on emails without a text part

Details
Message ID
<d4e6fa959a336dbb26a5e49216fb8bcf22b63dc9.1594648032.git.nabijaczleweli@nabijaczleweli.xyz>
In-Reply-To
<090d439707c22eccd921e674bfcd3f230397342d.1594648032.git.nabijaczleweli@nabijaczleweli.xyz> (view parent)
DKIM signature
pass
Download raw message
Patch: +1 -1
P.a. to 50e131244ad78fd1e4c216770ff69471a6fcb03b which solved
https://todo.sr.ht/~emersion/alps/100

Closes: https://todo.sr.ht/~emersion/alps/102
---
 themes/sourcehut/mailbox.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/sourcehut/mailbox.html b/themes/sourcehut/mailbox.html
index 1175cbe..70b0635 100644
--- a/themes/sourcehut/mailbox.html
+++ b/themes/sourcehut/mailbox.html
@@ -53,7 +53,7 @@
          <li class="nav-item">
            <a
              class="nav-link"
              href="{{.TextPart.URL false}}"
              href="{{if .TextPart}}{{.TextPart.URL false}}{{else}}{{.URL}}{{end}}"
            >
            <span class="text-muted date">
              {{ .Envelope.Date | formatdate }}
-- 
2.20.1

Re: [PATCH 2/2] sourcehut theme: fix nil on emails without a text part

Details
Message ID
<-bdCy5Mk3s9v99AOzjHfQOdwIjaY33Az7bSQI1A7I1i9mtALEH3y87lMy9_a9n0jD3mVavBWDjC8iYgNsmMD5Dd6emZh0WYahkQp2mMPIUs=@emersion.fr>
In-Reply-To
<d4e6fa959a336dbb26a5e49216fb8bcf22b63dc9.1594648032.git.nabijaczleweli@nabijaczleweli.xyz> (view parent)
DKIM signature
pass
Download raw message
Both pushed, thanks!
Reply to thread Export thread (mbox)