link to graph_edit view
This commit is contained in:
parent
66dabb3787
commit
5a9a15fffe
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
{% load i18n %}
|
||||
|
||||
<div class="list-group">
|
||||
{% for model in child_models %}
|
||||
<a href="{{ model.url }}" class="list-group-item">
|
||||
|
@ -5,4 +7,9 @@
|
|||
{{ model.title }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% if graph_url %}
|
||||
<a href="{{ graph_url }}" class="list-group-item">
|
||||
{% trans 'Graph' %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
</p>
|
||||
{% bootstrap_messages %}
|
||||
|
||||
{% include 'editor/fragment_child_models.html' %}
|
||||
{% url 'editor.levels.graph' level=level.pk as graph_url %}
|
||||
{% include 'editor/fragment_child_models.html' with graph_url=graph_url %}
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
|
|
|
@ -14,4 +14,5 @@
|
|||
</p>
|
||||
{% bootstrap_messages %}
|
||||
|
||||
{% include 'editor/fragment_child_models.html' %}
|
||||
{% url 'editor.spaces.graph' space=space.pk as graph_url %}
|
||||
{% include 'editor/fragment_child_models.html' with graph_url=graph_url %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue