-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(relations): put relations in a block
so that overriding col-one when customising the relations table is not necessary.
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
apis_core/relations/templates/apis_core/apis_entities/abstractentity_detail.html
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
{% extends "apis_core/apis_entities/abstractentity_detail.html" %} | ||
|
||
{% block col-one %} | ||
{% include "relations/list_relations_include.html" %} | ||
{% block relations-include %} | ||
{% include "relations/list_relations_include.html" %} | ||
{% endblock relations-include %} | ||
|
||
{{ block.super }} | ||
{% endblock col-one %} |
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