doc/book/en/standard_theme/layout.html
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 07 Apr 2014 18:04:56 +0200
changeset 9636 e35ae8617c03
parent 5258 9ff357e82e36
permissions -rw-r--r--
Fix constraint sync during migration - restore constraints lost during merge in test schema. - use constraint_by_eid in BeforeDeleteCWConstraintHook as done in 3.17.14 for BeforeDeleteConstrainedByHook. Fixes handling of multiple constraints of the same type. - make sync_schema_props_perms() delete the CWConstraint entity instead of the constrained_by relation. In 3.19, the latter doesn't automatically result in the former just because the relation is composite. Simplify the constraint migration to delete all removed constraints and recreate new ones even if they share the same type; that optimization made the code more complicated for (AFAICT) no significant reason.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5258
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     1
{% extends "basic/layout.html" %}
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     2
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     3
{% block header %}
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     4
<div class="header">
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     5
 <a href="http://www.cubicweb.org">
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     6
  <img alt="cubicweb logo" src="{{ pathto('_static/cubicweb.png', 1) }}"/>
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     7
 </a>
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     8
</div>
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
     9
{% endblock %}
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    10
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    11
{# puts the sidebar into "sidebar1" block i.e. before the document body #}
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    12
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
9ff357e82e36 [doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
diff changeset
    13
{% block sidebar2 %}{% endblock %}