diff --git a/TODO.md b/TODO.md index a85698d..26a7d6c 100644 --- a/TODO.md +++ b/TODO.md @@ -13,8 +13,6 @@ you should be able to specify git repos over http/https you should be able to specify subdirs in git repos you should check the existence of repos/github repos/urls/etc via XHR -change from "snapshot" to "zip file", depending. ("download" i guess if it's not a zip) - don't let people enter blank version numbers Much more input validation is needed diff --git a/src/main.rkt b/src/main.rkt index 1795456..03467ec 100644 --- a/src/main.rkt +++ b/src/main.rkt @@ -560,7 +560,11 @@ `(a ((class "btn btn-default btn-lg") (href ,(@ default-version source_url))) (span ((class "glyphicon glyphicon-download"))) - " Snapshot") + " Download" + ;; ,(if (regexp-match? "(?i:\\.zip$)" (or (@ default-version source_url) "")) + ;; " Zip file" + ;; " Download") + ) `(a ((class "btn btn-default btn-lg") (href ,(@ default-version source_url))) (span ((class "glyphicon glyphicon-link")))