-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP implementation of WagtailCharts on Browse page
- Loading branch information
1 parent
3f74aa8
commit 13ce245
Showing
4 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% load wagtailcore_tags wagtailcharts_tags %} | ||
|
||
{% block content %} | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-6"> | ||
<h1>{{self.title}}</h1> | ||
<div class="excerpt">{{self.excerpt|richtext}}</div> | ||
</div> | ||
</div> | ||
{% for block in self.body %} | ||
{% include_block block %} | ||
{% endfor %} | ||
</div> | ||
{% endblock %} | ||
|
||
{% block extra_js %} | ||
{% render_charts %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters