diff --git a/DocApplication/head.skin b/DocApplication/head.skin index 1bd8e6a2..56c9c797 100644 --- a/DocApplication/head.skin +++ b/DocApplication/head.skin @@ -1,6 +1,6 @@ -
AppDoc <% this.name %>
-
- ->
+
AppDoc <% this.name %>
<% param.path %>
+-> AppManager | ">public
diff --git a/DocApplication/macros.js b/DocApplication/macros.js index a18e1142..beb71311 100644 --- a/DocApplication/macros.js +++ b/DocApplication/macros.js @@ -18,6 +18,24 @@ function href_macro(par) { } +/** + * macro rendering page head + */ +function head_macro(par) { + var obj = new Object(); + obj.path = this.getPath(); + this.renderSkin("head",obj); +} + + +/** + * utility function for head_macro, rendering link to app + */ +function getPath() { + return( '' + this.name + '' ); +} + + /** * link to the "real" application object (ie not the DocApplication) */ diff --git a/DocApplication/main.skin b/DocApplication/main.skin index 2a8c5681..72cbefc0 100644 --- a/DocApplication/main.skin +++ b/DocApplication/main.skin @@ -1,4 +1,4 @@ -<% this.skin name="head" %> +<% this.head %>