Revision: 3783
Author: ksprotte
URL: http://bknr.net/trac/changeset/3783
fixed determination of DOWNLOAD-ONLY in MAIL-TRANSFER
If the sponsor has paid less than *mail-certificate-threshold*, it is
download-only without further choice. - But now DOWNLOAD-ONLY will
still be T, if the sponsor did not want a print certificate.
(or (< (contract-price contract) *mail-certificate-threshold*)
(not want-print))
U trunk/projects/bos/web/tags.lisp
Modified: trunk/projects/bos/web/tags.lisp
===================================================================
--- trunk/projects/bos/web/tags.lisp 2008-09-03 15:14:41 UTC (rev 3782)
+++ trunk/projects/bos/web/tags.lisp 2008-09-03 16:19:44 UTC (rev 3783)
@@ -124,8 +124,9 @@
contract-id
name vorname strasse plz ort telefon want-print
email donationcert-yearly)
- (let* ((contract (store-object-with-id (parse-integer contract-id)))
- (download-only (< (contract-price contract) *mail-certificate-threshold*)))
+ (let* ((contract (store-object-with-id (parse-integer contract-id)))
+ (download-only (or (< (contract-price contract) *mail-certificate-threshold*)
+ (not want-print))))
(with-transaction (:prepare-before-mail)
(setf (contract-download-only contract) download-only)
(setf (sponsor-country (contract-sponsor contract)) country))
Revision: 3781
Author: hans
URL: http://bknr.net/trac/changeset/3781
Add empty directory for Google Earth resources.
A trunk/projects/bos/payment-website/ge/
Revision: 3778
Author: ksprotte
URL: http://bknr.net/trac/changeset/3778
link to show POI in microsite more prominent
U trunk/projects/bos/web/poi-handlers.lisp
Modified: trunk/projects/bos/web/poi-handlers.lisp
===================================================================
--- trunk/projects/bos/web/poi-handlers.lisp 2008-09-03 11:33:06 UTC (rev 3777)
+++ trunk/projects/bos/web/poi-handlers.lisp 2008-09-03 11:43:11 UTC (rev 3778)
@@ -66,12 +66,12 @@
(html (:h2 "This POI is not complete in the current language - Please check that "
"the location and all text fields are set and that at least 6 images "
"have been uploaded.")))
+ (:p (cmslink (format nil "/poi-xml/~D?lang=~A" (store-object-id poi) language)
+ (:format "show this POI in ~A microsite" (string-upcase language))))
((:form :method "POST" :enctype "multipart/form-data")
((:table :border "1")
(:tr (:td "name")
- (:td (:princ-safe (poi-name poi))
- " "
- (cmslink (format nil "/poi-xml/~D?lang=~A" (store-object-id poi) language) "[view]")))
+ (:td (:princ-safe (poi-name poi))))
(:tr (:td "published")
(:td (checkbox-field "published" "published" :checked (poi-published poi))))
(:tr (:td "title")