pentamedia-comments.js: new_link jetzt doch aus JSONP + style

This commit is contained in:
Astro 2010-06-02 17:27:21 +02:00
parent 5051b5a7d0
commit c93af6680c
2 changed files with 10 additions and 0 deletions

View File

@ -60,4 +60,10 @@ function ShowComments(r) {
if (a.attr("href").substr(0, 1) == "/")
a.attr("href", PENTAMEDIA + a.attr("href"));
});
var new_p = $("<p class='new_comment'/>");
var new_a = $("<a>Kommentar schreiben</a>");
new_a.attr("href", PENTAMEDIA + r.new_link);
new_p.append(new_a);
$("#content").append(new_p);
}

View File

@ -204,6 +204,10 @@ pre {
#content div.comment .date {
padding-left: 2em;
}
#content p.new_comment a:before {
content: url(../images/bullet.png);
padding-right: 4px;
}
/* -- News -- */
#news {