<% Layout.deletelink %> |
render a link for deleting the layout, but only if
layout is *not* the currently active layout |
Sourcecode in Layout/macros.js:
1: function deletelink_macro(param) { 2: if (this.isDefaultLayout() || this.sharedBy.size() > 0) 3: return; 4: Html.link({href: this.href("delete")}, 5: param.text ? param.text : getMessage("generic.delete")); 6: return; 7: } |