Merge "Fix startdash and startpanel management commands"
This commit is contained in:
commit
8e9e111f36
|
@ -1,11 +1,13 @@
|
|||
{% load horizon %}{% jstemplate %}[% extends 'base.html' %]
|
||||
{% templatetag openblock %} load horizon {% templatetag closeblock %}
|
||||
{% templatetag openblock %} jstemplate {% templatetag closeblock %}
|
||||
{% templatetag openblock %} extends 'base.html' {% templatetag closeblock %}
|
||||
|
||||
[% block sidebar %]
|
||||
[% include 'horizon/common/_sidebar.html' %]
|
||||
[% endblock %]
|
||||
{% templatetag openblock %} block sidebar {% templatetag closeblock %}
|
||||
{% templatetag openblock %} include 'horizon/common/_sidebar.html' {% templatetag closeblock %}
|
||||
{% templatetag openblock %} endblock {% templatetag closeblock %}
|
||||
|
||||
[% block main %]
|
||||
[% include "horizon/_messages.html" %]
|
||||
[% block {{ dash_name }}_main %][% endblock %]
|
||||
[% endblock %]
|
||||
{% endjstemplate %}
|
||||
{% templatetag openblock %} block main {% templatetag closeblock %}
|
||||
{% templatetag openblock %} include "horizon/_messages.html" {% templatetag closeblock %}
|
||||
{% templatetag openblock %} block {{ dash_name }}_main {% templatetag closeblock %}{% templatetag openblock %} endblock {% templatetag closeblock %}
|
||||
{% templatetag openblock %} endblock {% templatetag closeblock %}
|
||||
{% templatetag openblock %} endjstemplate {% templatetag closeblock %}
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
{% load horizon %}{% jstemplate %}[% extends 'base.html' %]
|
||||
[% load i18n %]
|
||||
[% block title %][% trans "{{ panel_name|title }}" %][% endblock %]
|
||||
{% templatetag openblock %} load horizon {% templatetag closeblock %}
|
||||
{% templatetag openblock %} jstemplate {% templatetag closeblock %}
|
||||
{% templatetag openblock %} extends 'base.html' {% templatetag closeblock %}
|
||||
|
||||
[% block page_header %]
|
||||
[% include "horizon/common/_page_header.html" with title=_("{{ panel_name|title }}") %]
|
||||
[% endblock page_header %]
|
||||
{% templatetag openblock %} load i18n {% templatetag closeblock %}
|
||||
{% templatetag openblock %} block title {% templatetag closeblock %}
|
||||
{% templatetag openblock %} trans "{{ panel_name|title }}" {% templatetag closeblock %}
|
||||
{% templatetag openblock %} endblock {% templatetag closeblock %}
|
||||
|
||||
[% block main %]
|
||||
[% endblock %]
|
||||
{% templatetag openblock %} block page_header {% templatetag closeblock %}
|
||||
{% templatetag openblock %} include "horizon/common/_page_header.html" with title=_("{{ panel_name|title }}") {% templatetag closeblock %}
|
||||
{% templatetag openblock %} endblock page_header {% templatetag closeblock %}
|
||||
|
||||
{% endjstemplate %}
|
||||
{% templatetag openblock %} block main {% templatetag closeblock %}
|
||||
{% templatetag openblock %} endblock {% templatetag closeblock %}
|
||||
|
||||
{% templatetag openblock %} endjstemplate {% templatetag closeblock %}
|
||||
|
|
Loading…
Reference in New Issue