From b98a284f6f243c18f73935526cc7f99ca8a4fac3 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 30 May 2023 09:09:04 +0200 Subject: Wrap attachments in notes behind a "details". --- html.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'html.c') diff --git a/html.c b/html.c index d3a6e58..82700f6 100644 --- a/html.c +++ b/html.c @@ -348,8 +348,12 @@ d_char *html_top_controls(snac *snac, d_char *s) "\n" "

%s: \n" "

%s: \n" + + "

%s\n" "

%s: \n" "

%s: \n" + "

\n" + "

\n" "

\n" "\n" @@ -446,6 +450,7 @@ d_char *html_top_controls(snac *snac, d_char *s) snac->actor, L("Sensitive content"), L("Only for mentioned people"), + L("Attach..."), L("File"), L("File description"), L("Post"), @@ -617,8 +622,11 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch "

%s: \n" "

%s: \n" + + "

%s\n" "

%s: \n" "

%s: \n" + "

\n" "\n" "

\n" @@ -633,6 +641,7 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch id, L("Sensitive content"), L("Only for mentioned people"), + L("Attach..."), L("File"), L("File description"), md5, @@ -657,8 +666,11 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch "

%s: \n" "

%s: \n" + + "

%s\n" "

%s: \n" "

%s: \n" + "

\n" "\n" "

\n" @@ -673,6 +685,7 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch id, L("Sensitive content"), L("Only for mentioned people"), + L("Attach..."), L("File"), L("File description"), md5, -- cgit v1.2.3