Use "Download" consistently instead of "Snapshot" on package page
This commit is contained in:
parent
06aabf182f
commit
29a2b07b20
2
TODO.md
2
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 be able to specify subdirs in git repos
|
||||||
you should check the existence of repos/github repos/urls/etc via XHR
|
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
|
don't let people enter blank version numbers
|
||||||
|
|
||||||
Much more input validation is needed
|
Much more input validation is needed
|
||||||
|
|
|
@ -560,7 +560,11 @@
|
||||||
`(a ((class "btn btn-default btn-lg")
|
`(a ((class "btn btn-default btn-lg")
|
||||||
(href ,(@ default-version source_url)))
|
(href ,(@ default-version source_url)))
|
||||||
(span ((class "glyphicon glyphicon-download")))
|
(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")
|
`(a ((class "btn btn-default btn-lg")
|
||||||
(href ,(@ default-version source_url)))
|
(href ,(@ default-version source_url)))
|
||||||
(span ((class "glyphicon glyphicon-link")))
|
(span ((class "glyphicon glyphicon-link")))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user