[PATCH] Another br after items in feed
Wald Commits
scm-commit at wald.intevation.org
Thu Apr 3 16:20:41 CEST 2014
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1396534836 -7200
# Node ID d3291e4150a21a83bc600fad0c08fdce0a5496ba
# Parent 9238e6fff8dab0c97a7b7bdc52580d948fa536f1
Another br after items in feed.
diff -r 9238e6fff8da -r d3291e4150a2 newsfeed.py
--- a/newsfeed.py Thu Apr 03 16:11:55 2014 +0200
+++ b/newsfeed.py Thu Apr 03 16:20:36 2014 +0200
@@ -60,11 +60,11 @@
oa('<br>')
actor = item["actor"]
#oa("<a href="+item["object"]["links"]["self"]["href"]+">more...</a>")
- oa('<span style="font-size:smaller; margin-bottom:1em">')
+ oa('<span style="font-size:smaller>')
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><br/>')
+ 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>')
@@ -72,6 +72,7 @@
date = time.strptime(item["updated"],"%Y-%m-%dT%H:%M:%SZ")
oa(time.strftime(" %d.%m.%Y um %H:%M:%S", date))
oa('</span>')
+ oa('<br>')
oa("</li>")
oa("</ul>")
More information about the Dive4Elements-commits
mailing list