unify naming: concept_macros means macros, not template
This commit is contained in:
parent
dae9610e2e
commit
814f10ae51
2 changed files with 1 additions and 5 deletions
|
@ -73,10 +73,6 @@ class PersonalInfo(ConceptView):
|
||||||
def macro(self):
|
def macro(self):
|
||||||
return organize_macros.macros['conceptdata']
|
return organize_macros.macros['conceptdata']
|
||||||
|
|
||||||
@Lazy
|
|
||||||
def concept_macros(self):
|
|
||||||
return concept_macros
|
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def view(self):
|
def view(self):
|
||||||
return self
|
return self
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
</metal:block>
|
</metal:block>
|
||||||
</tal:person>
|
</tal:person>
|
||||||
<tal:person condition="not:item/person">
|
<tal:person condition="not:item/person">
|
||||||
<metal:block use-macro="item/concept_macros/macros/concepttitle" /><br />
|
<metal:block use-macro="view/concept_macros/concepttitle" /><br />
|
||||||
<div i18n:translate="">No Person object associated with your user account.</div>
|
<div i18n:translate="">No Person object associated with your user account.</div>
|
||||||
</tal:person>
|
</tal:person>
|
||||||
</metal:data>
|
</metal:data>
|
||||||
|
|
Loading…
Add table
Reference in a new issue