Mercurial > pub > Impl
annotate _test/Resources/view/layout/header.tt @ 359:833e663796c4
TTView: added view variable to pass rendering context between controls
TTView: display function renamed to display_for
WebResource: resources now marked with roles for searching a desired resource by a role in the resource chain
author | sergey |
---|---|
date | Mon, 25 Nov 2013 02:19:31 +0400 |
parents | cfd7570c2af2 |
children |
rev | line source |
---|---|
350 | 1 <!DOCTYPE HTML> |
2 <html> | |
3 <head> | |
4 <title>$document.title</title> | |
351
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
5 <script> |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
6 [% |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
7 IF document.dojo.modules.size; |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
8 modules = []; |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
9 FOREACH module IN document.dojo.modules.unique; |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
10 modules.push('"' _ module _ '"'); |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
11 END; |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
12 %] |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
13 require([ [% modules.join(', ') %] ]); |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
14 [% |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
15 END; |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
16 %] |
cfd7570c2af2
working on TTView: created TTView class for rendering models
cin
parents:
350
diff
changeset
|
17 </script> |
350 | 18 </head> |
19 <body> |