diff options
author | Eric Wong <e@80x24.org> | 2016-01-07 00:14:21 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-01-07 01:33:35 +0000 |
commit | 73c6144ed3dc04a124d499fd19ca44c2ec5a13f7 (patch) | |
tree | 15f1187ce97dc16818016e916aec54f926b1b533 | |
parent | 6512f0e38be76b7ffa2f19fb41aee07cdda5b41c (diff) | |
download | olddoc-73c6144ed3dc04a124d499fd19ca44c2ec5a13f7.tar.gz |
Not every project uses git, and some misguided ones even allow HTML email (not sure why those projects would be interested in olddoc, though). Anyways, the olddoc-public@80x24.org account will always be configured to reject HTML email (or it'll be eaten by a spam filter).
-rw-r--r-- | lib/oldweb/_tail.rhtml | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/lib/oldweb/_tail.rhtml b/lib/oldweb/_tail.rhtml index 522c312..0879572 100644 --- a/lib/oldweb/_tail.rhtml +++ b/lib/oldweb/_tail.rhtml @@ -3,27 +3,19 @@ public_email = @old_cfg['public_email'] private_email = @old_cfg['private_email'] ml_url = @old_cfg['ml_url'] nntp_url = @old_cfg['nntp_url'] -git_doc = 'https://kernel.org/pub/software/scm/git/docs/' -se_url = "#{git_doc}git-send-email.html" -rp_url = "#{git_doc}git-request-pull.html" -if public_email && ml_url %><hr /><p> -We love to hear from you!<br /> -Email patches (using <a -href="<%= se_url %>">git send-email</a>), -pull requests (formatted using <a -href="<%= rp_url %>">git request-pull</a>), questions, bug reports, -suggestions, etc. to us publically at:<br /><a -href="mailto:<%= public_email %>"><%= public_email %></a><br /> -Mail archives are available at: <a -href="<%= ml_url %>"><%= ml_url %></a><br /> -Please send plain-text email only and do not waste bandwidth on HTML mail, -HTML mail will not be read.<br /> -Quote as little as reasonable and do not <a -href="http://catb.org/jargon/html/T/top-post.html">top post</a>.<br /><% end -if nntp_url %>NNTP archives are available at: <a -href="<%= nntp_url %>"><%= nntp_url %></a><% end -if private_email %> -For sensitive topics, email us privately at: -<a -href="mailto:<%= private_email %>"><%= private_email %></a><% end %> +if public_email && ml_url %><hr /><pre> +mail archives: <a +href="<%= ml_url %>"><%= ml_url %></a> mailto:<a +href="mailto:<%= public_email %>"><%= +public_email +%></a> +<% end +if nntp_url %>NNTP archives: <a +href="<%= nntp_url %>"><%= nntp_url %></a> +<% +end +if private_email +%>private mail: <a +href="mailto:<%= private_email %>"><%= private_email %></a><% +end %></pre> |