diff --git a/app/assets/stylesheets/style.scss b/app/assets/stylesheets/style.scss index ab2c56a86..0947f137d 100644 --- a/app/assets/stylesheets/style.scss +++ b/app/assets/stylesheets/style.scss @@ -17,11 +17,13 @@ .ui-helper-clearfix{display:block;} #iso-wrapper{padding:0;margin-right:0;padding-left:15px;padding-right:15px;} #iso-wrapper h4{margin-top:4px;float:left} -#iso-wrapper div.changeiso{border:2px solid #7C92A4;min-height:50px;margin-bottom:10px;color:#999;cursor:pointer;-moz-border-radius:5px;-webkit-border-radius:5px;background:#ffffff asset-url('gradient-light-grey.png') repeat-x scroll bottom left;} -#iso-wrapper div.changeiso:hover{border:2px solid #690;} +#iso-wrapper div.changeiso h4{margin: 4px 0 2px 0;float:none} +#iso-wrapper div.changeiso{border:2px solid #7C92A4;min-height:50px;margin-bottom:10px;color:#999;-moz-border-radius:5px;-webkit-border-radius:5px;background:#ffffff asset-url('gradient-light-grey.png') repeat-x scroll bottom left;} +#iso-wrapper div.ui-accordion div.changeiso{cursor:pointer} +#iso-wrapper div.ui-accordion div.changeiso:hover{border:2px solid #690;} #iso-wrapper div.changeiso{border-color:#4987B3;-moz-box-shadow:0px 1px 4px #999;-webkit-box-shadow:0px 1px 4px #999;box-shadow:0px 1px 4px #999;color:#333;} #iso-wrapper div.changeiso div{padding-top:5px;padding-bottom:2px;margin-right:15px;min-height:55px;} -#iso-wrapper div.changeiso img{margin:5px 15px 0 7px;float:left;height:48px;} +#iso-wrapper div.changeiso img.medium_icon{margin:5px 15px 0 7px;float:left;height:48px;} .iso-warning{border:2px solid #690;padding: 6px;margin-bottom:10px;-moz-border-radius:5px;-webkit-border-radius:5px;background:#ffffff asset-url('gradient-light-grey.png') repeat-x scroll bottom left;} .iso-warning{-moz-box-shadow:0px 1px 4px #999;-webkit-box-shadow:0px 1px 4px #999;box-shadow:0px 1px 4px #999;} .download_buttonClass{-moz-box-shadow:0px 1px 2px #ccc;-webkit-box-shadow:0px 1px 2px #ccc;box-shadow:0px 1px 2px #ccc;color:#069;background-color:#eee;} diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index aaf2e72f4..0206c8b64 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -140,7 +140,8 @@ def set_release(release) elsif release == "421" @isos = {} @directory = "http://download.opensuse.org/distribution/leap/42.1" - # No iso for: + @leap = true + # leap means no iso for: # nonoss, dvd-32, net-32, rescue-XX, kde-XX, gnome-XX, lang-XX @isos["dvd-64"] = "Leap-42.1-DVD-x86_64" @isos["net-64"] = "Leap-42.1-NET-x86_64" @@ -148,33 +149,20 @@ def set_release(release) @releasenotes = _("https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/42.1/") @releasename = "openSUSE Leap 42.1" @repourl = "http://download.opensuse.org/distribution/leap/42.1" - @medium = "dvd" - @inline_signature = true @gpg = "22C0 7BA5 3417 8CD0 2EFE 22AA B88B 2FD4 3DBD C284" - elsif release == "developer" @isos = {} @directory = "http://download.opensuse.org/distribution/leap/42.1-RC1" - @isos["lang-32"] = nil - @isos["lang-64"] = nil - @isos["nonoss"] = nil - @isos["kde-64"] = nil - @isos["kde-32"] = nil - @isos["gnome-64"] = nil - @isos["gnome-32"] = nil + @leap = true + # leap means no iso for: + # nonoss, dvd-32, net-32, rescue-XX, kde-XX, gnome-XX, lang-XX @isos["dvd-64"] = "Leap-42.1-DVD-x86_64-Build0235-Media" - @isos["dvd-32"] = nil - @isos["rescue-32"] = nil - @isos["rescue-64"] = nil - @isos["net-32"] = nil @isos["net-64"] = "Leap-42.1-NET-x86_64-Build0235-Media" @releasenotes = _("https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/42.1/") @releasename = "openSUSE 42.1 RC 1" @repourl = "http://download.opensuse.org/distribution/leap/42.1" - @medium = "dvd" - @inline_signature = true @gpg = "22C0 7BA5 3417 8CD0 2EFE 22AA B88B 2FD4 3DBD C284" else flash[:warn] = _("#{release} is not a supported release.") diff --git a/app/views/main/_change_install.html.erb b/app/views/main/_change_install.html.erb index 4b71a61c9..3d14036b5 100644 --- a/app/views/main/_change_install.html.erb +++ b/app/views/main/_change_install.html.erb @@ -18,7 +18,7 @@
+ <%=_("openSUSE is available via http (direct link) or BitTorrent. The CD for network installation is only available via http.")%> +
++ <%=_("When downloading images other than the CD for network installation, it is strongly recommended to use a proper download manager to reduce the risk of corrupted data.")%> +
++ <%=_("Using BitTorrent is recommended on slow links, especially when downloading the DVD image. BitTorrent downloads have several benefits, the clients protect against data corruption and you help relieving the load on the servers by participating in the upload - if enough people participate it will also be faster than the centralized servers - for everybody. Whatsmore, it allows you to stop the download at any time and resume it later.")%> +
++ <%=_("Metalink is an open standard that bundles the various ways (FTP/HTTP/BitTorrent) to get files into one format for easier downloads. This makes it good for downloading ISOs; particularly for people who can't use P2P because of restrictions from their ISP or University. It can deliver very fast download speeds since most clients support multiple connections, to multiple mirrors, automatically. In addition, it can do automatic error detection, and correction. It needs a special client to handle it though.")%> +
++ <%=_("If you want to use a direct link but live in a place in the world where our download redirector has not enough information to redirect to the fastest mirror, you can pick a mirror yourself.")%> +
++ <%= _("openSUSE startup guide") %> + | + <%= (_("Release Notes") % @releasenotes).html_safe %> + | + <%= _('License')%> + | + <%= link_to _("openSUSE Derivatives"), "http://en.opensuse.org/Derivatives" %> +
+ ++ <%= _("More information on downloading openSUSE is available from the Download Help and Network Installation pages in our Documentation Wiki.") %> + <%= _("User manuals are available from activedoc.opensuse.org, for example the Official Start-Up Guide.") %> +
+ ++ <%=_("Choose an installation medium by clicking it and hit the Download button to start the download. Optionally choose your computer type or an alternative download method.") %> +
++ <%= _("More information on downloading openSUSE is available from the Download Help and Network Installation pages in our Documentation Wiki.") %> + <%= _("User manuals are available from activedoc.opensuse.org, for example the Official Start-Up Guide.") %> +
+ +<%=_('The installation process is available in many languages but, for most of them, the translation of the applications is not included in the image. If you want your openSUSE system to support some additional language, you need to download it from the Internet during the installation or any time after it. If you have easy access to the Internet you do not need this CD, but if you are planning to install openSUSE in some machine with no Internet connection, it will provide you access to all the available translations.')%>
<%=_('This CD contains free software distributed under proprietary licence not allowing its inclusion to main installation media together with free open-source software. All software from this CD could be downloaded from NON-OSS repository.')%>
- <%=_("openSUSE is available via http (direct link) or BitTorrent. The CD for network installation is only available via http.")%> -
-- <%=_("When downloading images other than the CD for network installation, it is strongly recommended to use a proper download manager to reduce the risk of corrupted data.")%> -
-- <%=_("Using BitTorrent is recommended on slow links, especially when downloading the DVD image. BitTorrent downloads have several benefits, the clients protect against data corruption and you help relieving the load on the servers by participating in the upload - if enough people participate it will also be faster than the centralized servers - for everybody. Whatsmore, it allows you to stop the download at any time and resume it later.")%> -
-- <%=_("Metalink is an open standard that bundles the various ways (FTP/HTTP/BitTorrent) to get files into one format for easier downloads. This makes it good for downloading ISOs; particularly for people who can't use P2P because of restrictions from their ISP or University. It can deliver very fast download speeds since most clients support multiple connections, to multiple mirrors, automatically. In addition, it can do automatic error detection, and correction. It needs a special client to handle it though.")%> -
-- <%=_("If you want to use a direct link but live in a place in the world where our download redirector has not enough information to redirect to the fastest mirror, you can pick a mirror yourself.")%> -
-- <%=_("Choose an installation medium by clicking it and hit the Download button to start the download. Optionally choose your computer type or an alternative download method.") %> -
-- <%= _("More information on downloading openSUSE is available from the Download Help and Network Installation pages in our Documentation Wiki.") %> - <%= _("User manuals are available from activedoc.opensuse.org, for example the Official Start-Up Guide.") %> -
- -<%=_('The installation process is available in many languages but, for most of them, the translation of the applications is not included in the image. If you want your openSUSE system to support some additional language, you need to download it from the Internet during the installation or any time after it. If you have easy access to the Internet you do not need this CD, but if you are planning to install openSUSE in some machine with no Internet connection, it will provide you access to all the available translations.')%>
<%=_('This CD contains free software distributed under proprietary licence not allowing its inclusion to main installation media together with free open-source software. All software from this CD could be downloaded from NON-OSS repository.')%>