From: Bill Erickson Date: Mon, 9 Dec 2013 15:33:07 +0000 (-0500) Subject: web staff : log templates (in progress) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a318027acdd5115e958281c6f7c1b34330493d71;p=working%2FEvergreen.git web staff : log templates (in progress) Signed-off-by: Bill Erickson --- diff --git a/web-staff-log.txt b/web-staff-log.txt index 49949d2a71..fb29dee544 100644 --- a/web-staff-log.txt +++ b/web-staff-log.txt @@ -822,9 +822,9 @@ that just increases the network overhead. Inline Angular Template ~~~~~~~~~~~~~~~~~~~~~~~ -Modal dialogs in Angular have to be represented as separate, addressable -Angular templates. To give a chunk of HTML an "address", it can be -inserted into a ----------------------------------------------------------------------------- -The modal dialog is then invoked like so: +The address is simply the ID, so in this example, the modal dialog is +invoked like so: [source,js] ----------------------------------------------------------------------------- -// typically, templateURL refers to a (duh) URL, but inline -// templates can be loaded by ID. $modal.open({templateUrl : 'uncat_alert_dialog', controller : [...]}); ----------------------------------------------------------------------------- @@ -861,7 +860,8 @@ move the template to it's own web-accessible file: [source,html] ----------------------------------------------------------------------------- - + +