nitx: display MEntitiesListArticle in console templates
authorAlexandre Terrasa <alexandre@moz-code.org>
Sat, 30 May 2015 01:35:15 +0000 (21:35 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Sat, 30 May 2015 01:37:37 +0000 (21:37 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/doc/console_templates/console_templates.nit

index 98b5c71..6e8f03e 100644 (file)
@@ -129,3 +129,11 @@ redef class DefinitionArticle
                super
        end
 end
                super
        end
 end
+
+redef class MEntitiesListArticle
+       redef fun render_body do
+               for mentity in mentities do
+                       addn mentity.cs_short_list_item
+               end
+       end
+end