diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-02 19:53:09 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-02 19:53:09 +0100 |
commit | 25c63d05302fef11f79c30270a6e911da9010a38 (patch) | |
tree | 3dff86e0200dc6ac672093fb853acd095002203f /public | |
parent | fce17c9733eb38636603e8c508c2e7936426bf2c (diff) | |
download | alps-25c63d05302fef11f79c30270a6e911da9010a38.tar.gz alps-25c63d05302fef11f79c30270a6e911da9010a38.zip |
Add basic message view
Diffstat (limited to 'public')
-rw-r--r-- | public/mailbox.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/public/mailbox.html b/public/mailbox.html index efae0d9..282f462 100644 --- a/public/mailbox.html +++ b/public/mailbox.html @@ -2,6 +2,8 @@ <h1>koushin</h1> +<h2>{{.Mailbox.Name}}</h2> + <p>Mailboxes:</p> <ul> {{range .Mailboxes}} @@ -12,7 +14,9 @@ <p>Messages:</p> <ul> {{range .Messages}} - <li>{{.Envelope.Subject}}</li> + <li><a href="/message/{{$.Mailbox.Name}}/{{.Uid}}?part={{.TextPartName}}"> + {{.Envelope.Subject}} + </a></li> {{end}} </ul> |