[PATCH] Added extra break in newfeed after the author of an entry

Wald Commits scm-commit at wald.intevation.org
Thu Apr 3 16:08:19 CEST 2014


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1396534095 -7200
# Node ID f00a8a8d922512046dec6de01a51db68771311e1
# Parent  c1c0f073b4e28f1602215264cbcb6370611ef0c6
Added extra break in newfeed after the author of an entry.

diff -r c1c0f073b4e2 -r f00a8a8d9225 newsfeed.py
--- a/newsfeed.py	Thu Apr 03 14:13:26 2014 +0200
+++ b/newsfeed.py	Thu Apr 03 16:08:15 2014 +0200
@@ -64,7 +64,7 @@
     oa('<a href="'+actor["url"]+'">'+actor["displayName"]+'</a>')
     #oa(item["content"])
     if verb == "share":
-        oa(' via <a href="'+item["object"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a>')
+        oa(' via <a href="'+item["object"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a><br/>')
     #if verb == "share":
     #   oa(' via <a href="'+item["object"]["author"]["url"]+'">'+item["object"]["author"]["displayName"]+'</a>')
 


More information about the Dive4Elements-commits mailing list