From db65ef5b5d9b979d4a15bef6b54227904119ef66 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Mon, 25 Sep 2017 16:07:09 -0700 Subject: show syndication links with icons in reply context --- views/new-post.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'views/new-post.php') diff --git a/views/new-post.php b/views/new-post.php index f84f231..726a671 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -16,7 +16,7 @@
-
+
@@ -244,6 +244,13 @@ width: 48px; margin-right: 4px; } +.reply-context .syndications { + float: right; + padding-right: 4px; +} +.reply-context .syndications img { + width: 16px; +} .reply-context .author { color: #777; font-weight: bold; @@ -582,6 +589,13 @@ $(function(){ } else { $("#form_rsvp").addClass("hidden"); } + if(data.syndications) { + $(".reply-context .syndications").html(''); + for(var i in data.syndications) { + var syn = data.syndications[i]; + $(".reply-context .syndications").append(''); + } + } $(".reply-context").removeClass("hidden"); } -- cgit v1.2.3