X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/68a53dce242a91b60aa9006db596987911082fec..d2dbe50f3600d000fb2fe294579f21a00dde99e8:/src/mewa/slot-presentations.lisp diff --git a/src/mewa/slot-presentations.lisp b/src/mewa/slot-presentations.lisp index 4254227..ef86dec 100644 --- a/src/mewa/slot-presentations.lisp +++ b/src/mewa/slot-presentations.lisp @@ -1,4 +1,4 @@ -(in-package :it.bese.ucw) +(in-package :mewa) (defun multiple-value-funcall->list (function &rest args) "The function to be called by m-v-bf" @@ -12,7 +12,6 @@ ;;;; ** Textarea Slot Presentation -;;;; This should really be in UCW. (defslot-presentation text-slot-presentation () ((rows :initarg :rows :accessor rows :initform nil) @@ -86,13 +85,13 @@ When T, only the default value for primary keys and the joins are updated.") (setf (presentation-slot-value slot instance) new-time )))) (defmethod label :around ((slot clsql-wall-time-slot-presentation)) - (concatenate 'string (call-next-method) " (mm/dd/yyyy)")) + (concatenate 'string (call-next-method) " (m/d/y)")) (defmethod present-slot ((slot clsql-wall-time-slot-presentation) instance) (let ((date (presentation-slot-value slot instance)) (input-id (string (gensym)))) (if (and date (not (editablep slot))) - (<:span (<:as-html date))) + (<:as-html date)) (when (editablep slot) (>"))