<% HopObject.creator %> |
macro renders the name of the creator of an object
either as link or as plain text |
Sourcecode in HopObject/macros.js:
1: function creator_macro(param) { 2: if (!this.creator) 3: return; 4: if (param.as == "link" && this.creator.url) 5: Html.link({href: this.creator.url}, this.creator.name); 6: else 7: res.write(this.creator.name); 8: return; 9: } |