]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - webapp/ui_modules.py
planet: Slight face-lift and add hottest posts
[people/shoehn/ipfire.org.git] / webapp / ui_modules.py
index b85fac47fcd6b6e91908a65e009fe5f7129818ad..454557cf8bf915e397f5fb276d56e805053ce332 100644 (file)
@@ -303,6 +303,11 @@ class DownloadButtonModule(UIModule):
                        release=release, image=best_image)
 
 
+class PlanetAuthorBoxModule(UIModule):
+       def render(self, author):
+               return self.render_string("planet/modules/author-box.html", author=author)
+
+
 class PlanetEntryModule(UIModule):
        def render(self, entry, show_avatar=True):
                return self.render_string("modules/planet-entry.html",