Revision: 3787
Author: ksprotte
URL: http://bknr.net/trac/changeset/3787
clearer interface for kml-upload-handler
U trunk/projects/bos/web/kml-handlers.lisp
Modified: trunk/projects/bos/web/kml-handlers.lisp
===================================================================
--- trunk/projects/bos/web/kml-handlers.lisp 2008-09-04 09:49:18 UTC (rev 3786)
+++ trunk/projects/bos/web/kml-handlers.lisp 2008-09-04 10:40:59 UTC (rev 3787)
@@ -58,9 +58,22 @@
;; we want this after the processing
(:p (:format "last-change: ~A"
(format-date-time (store-object-last-change kml-root-data 0)))
+ " "
(cmslink (format nil "/kml-upload?lang=~A&action=download" language)
"download current version")))))
- (submit-button "upload" "upload"))))))
+ (submit-button "upload" "upload"))
+ (:p "Please note that the " (:b "download current version")
+ " links above show you the kml files exactly like you
+ uploaded them. These are not the KML files as seen by the
+ users.")
+ (:p "For the actually served kml files some automatic
+ replacements are being done. You can inspect those by the
+ following links:")
+ (:p (dolist (kml-root-data (class-instances 'kml-root-data))
+ (let ((language (language kml-root-data)))
+ (html (cmslink (format nil "/kml-root?lang=~A" language)
+ (:format "kml ~A" language))
+ " "))))))))
(defmethod handle-form ((handler kml-upload-handler) (action (eql :download)))
(with-query-params (lang)
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/