summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/new-post.php16
1 files changed, 15 insertions, 1 deletions
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 @@
</div>
<div class="reply-content">
<img src="" class="post-img hidden">
- <div class="author"><span class="name"></span> <span class="url"></span></div>
+ <div class="author"><div class="syndications"></div><span class="name"></span> <span class="url"></span></div>
<h4 class="post-name hidden"></h4>
<span class="content"></span>
</div>
@@ -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('<a href="'+syn.url+'"><img src="/images/services/'+syn.icon+'"></a>');
+ }
+ }
$(".reply-context").removeClass("hidden");
}