Make list of APIs on the index a table.

This commit is contained in:
Jimmy Cuadra 2016-04-26 10:23:36 -04:00
parent 4b27d6a7a4
commit 5b18db9096
6 changed files with 50 additions and 9 deletions

View file

@ -176,3 +176,8 @@ class MatrixSections(Sections):
def render_common_state_event_fields(self):
return self._render_ce_type("state_event")
def render_apis(self):
template = self.env.get_template("apis.tmpl")
apis = self.units.get("apis")
return template.render(apis=apis)