From: Drew Crampsie Date: Thu, 3 Nov 2005 07:30:15 +0000 (-0800) Subject: slot presesntation enhancements X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/commitdiff_plain/1e936a4d6201432cbb347ee621377523749c6b65?hp=598f1fa8d4a53d8b531ee283b69bba52f3a4bd13 slot presesntation enhancements darcs-hash:20051103073015-5417e-e136fdfb6e76b594239c09e94c8d77570ed0d10b.gz --- diff --git a/src/slot-presentations.lisp b/src/slot-presentations.lisp index b90128e..4dcbecc 100644 --- a/src/slot-presentations.lisp +++ b/src/slot-presentations.lisp @@ -43,7 +43,8 @@ :documentation "When nil, the instance is syncronised with the database. When T, only the default value for primary keys and the joins are updated.") - (show-label-p :accessor show-label-p :initarg :show-label-p :initform t)) + (show-label-p :accessor show-label-p :initarg :show-label-p :initform t) + (creatablep :accessor creatablep :initarg :creatablep :initform t)) (:documentation "The superclass of all Mewa slot presentations")) ;;;; this has to be in the eval when i would think @@ -250,7 +251,7 @@ Calendar.setup({ :linkedp t :editablep nil))) (<:as-html string)))) - (<:table + (<:table :cellpadding 10 (<:tr (<:th) ;empty col for (view) link (dolist (s (slots presentation)) @@ -347,7 +348,8 @@ Calendar.setup({ :initargs `(:attributes ,(attributes slot))) )))) - (