diff options
author | Jason Long <jlong@github.com> | 2018-01-15 18:48:54 +0300 |
---|---|---|
committer | Jason Long <jlong@github.com> | 2018-01-15 18:48:54 +0300 |
commit | d4fb1a4ee124fb785036a1cc8031442e01f64935 (patch) | |
tree | c3a333ed71a64d702497dfe01a06971bb41b984e | |
parent | ae85cb031d4b84b765ac3abc322234d17bd597b4 (diff) |
Convert downloads/download_windws
-rw-r--r-- | app/views/downloads/download_windows.html.erb | 67 | ||||
-rw-r--r-- | app/views/downloads/download_windows.html.haml | 60 | ||||
-rw-r--r-- | app/views/downloads/downloading.html.erb | 2 |
3 files changed, 68 insertions, 61 deletions
diff --git a/app/views/downloads/download_windows.html.erb b/app/views/downloads/download_windows.html.erb new file mode 100644 index 00000000..086116f9 --- /dev/null +++ b/app/views/downloads/download_windows.html.erb @@ -0,0 +1,67 @@ +<%- @section = "downloads" %> +<%- @subsection = "" %> +<%- @page_title = "Git - Downloading Package" %> + +<% content_for :sidebar do %> + <%= render 'shared/book' %> +<% end %> + +<div id="main"> + <h1>Downloading Git</h1> + <div class="callout downloading"> + <h3>Your download is starting...</h3> + <p> + <%= raw "You are downloading the latest (<strong>#{@download.version.name}</strong>) <strong>#{@bitness}</strong> version of <strong>Git for Windows</strong>. This is the most recent <a href='#{@project_url}'>maintained build</a>. It was released <strong>#{time_ago_in_words @download.release_date} ago</strong>, on #{@download.release_date.strftime("%Y-%m-%d")}." %> + </p> + <p> + <%= raw "<strong>If your download hasn't started, <a href=\"#{@download.url}\">click here to download manually</a>.</strong>" %> + </p> + <h3>Other Git for Windows downloads</h3> + <h4>Git for Windows Setup</h4> + <p> + <%= raw "<strong><a href=\"#{@download32.url}\">32-bit Git for Windows Setup</a>.</strong>" %> + </p> + <p> + <%= raw "<strong><a href=\"#{@download64.url}\">64-bit Git for Windows Setup</a>.</strong>" %> + </p> + <h4>Git for Windows Portable ("thumbdrive edition")</h4> + <p> + <%= raw "<strong><a href=\"#{@download32portable.url}\">32-bit Git for Windows Portable</a>.</strong>" %> + </p> + <p> + <%= raw "<strong><a href=\"#{@download64portable.url}\">64-bit Git for Windows Portable</a>.</strong>" %> + </p> + <p class="small"> + <%= raw "The current source code release is version <strong>#{@latest.name}</strong>. If you want the newer version, you can build it from <a href=\"#{@source_url}\">the source code</a>." %> + </p> + <iframe frameborder="0" height="1" src="<%= @download.url %>" width="1"></iframe> + </div> + <h2>Now What?</h2> + <p> + Now that you have downloaded Git, it's time to start using it. + </p> + <ul id="download-next-steps"> + <li> + <a href="/book"> + <img src="/images/icons/nav-read-book.png" /> + <h3>Read the Book</h3> + <p>Dive into the Pro Git book and learn at your own pace.</p> + </a> + </li> + <li> + <a href="/downloads/guis"> + <img src="/images/icons/nav-download-gui.png" /> + <h3>Download a GUI</h3> + <p>Several free and commercial GUI tools are available for the #{@platform.capitalize} platform.</p> + </a> + </li> + <li> + <a href="/community"> + <img src="/images/icons/nav-get-involved.png" /> + <h3>Get Involved</h3> + <p>A knowledgeable Git community is available to answer your questions.</p> + </a> + </li> + </ul> +</div> + diff --git a/app/views/downloads/download_windows.html.haml b/app/views/downloads/download_windows.html.haml deleted file mode 100644 index ec1a2165..00000000 --- a/app/views/downloads/download_windows.html.haml +++ /dev/null @@ -1,60 +0,0 @@ -- @section = "downloads" -- @subsection = "" -- @page_title = "Git - Downloading Package" - -- content_for :sidebar do - = render 'shared/book' - -%div#main - %h1 Downloading Git - - %div.callout.downloading - %h3 Your download is starting... - - %p=raw "You are downloading the latest (<strong>#{@download.version.name}</strong>) <strong>#{@bitness}</strong> version of <strong>Git for Windows</strong>. This is the most recent <a href='#{@project_url}'>maintained build</a>. It was released <strong>#{time_ago_in_words @download.release_date} ago</strong>, on #{@download.release_date.strftime("%Y-%m-%d")}." - - %p=raw "<strong>If your download hasn't started, <a href=\"#{@download.url}\">click here to download manually</a>.</strong>" - - %h3 Other Git for Windows downloads - - %h4 Git for Windows Setup - - %p=raw "<strong><a href=\"#{@download32.url}\">32-bit Git for Windows Setup</a>.</strong>" - - %p=raw "<strong><a href=\"#{@download64.url}\">64-bit Git for Windows Setup</a>.</strong>" - - %h4 Git for Windows Portable ("thumbdrive edition") - - %p=raw "<strong><a href=\"#{@download32portable.url}\">32-bit Git for Windows Portable</a>.</strong>" - - %p=raw "<strong><a href=\"#{@download64portable.url}\">64-bit Git for Windows Portable</a>.</strong>" - - %p.small=raw "The current source code release is version <strong>#{@latest.name}</strong>. If you want the newer version, you can build it from <a href=\"#{@source_url}\">the source code</a>." - - %iframe{:width => 1, :height => 1, :frameborder => 0, :src => @download.url} - - %h2 Now What? - - %p - Now that you have downloaded Git, it's time to start using it. - - %ul#download-next-steps - %li - <a href="/book"> - <img src="/images/icons/nav-read-book.png" /> - <h3>Read the Book</h3> - <p>Dive into the Pro Git book and learn at your own pace.</p> - </a> - %li - <a href="/downloads/guis"> - <img src="/images/icons/nav-download-gui.png" /> - <h3>Download a GUI</h3> - <p>Several free and commercial GUI tools are available for the #{@platform.capitalize} platform.</p> - </a> - %li - <a href="/community"> - <img src="/images/icons/nav-get-involved.png" /> - <h3>Get Involved</h3> - <p>A knowledgeable Git community is available to answer your questions.</p> - </a> - diff --git a/app/views/downloads/downloading.html.erb b/app/views/downloads/downloading.html.erb index 85ccf3f9..3cb02307 100644 --- a/app/views/downloads/downloading.html.erb +++ b/app/views/downloads/downloading.html.erb @@ -7,7 +7,7 @@ <% end %> <div id="main"> - <h1>Downloading Git!!</h1> + <h1>Downloading Git</h1> <div class="callout downloading"> <h3>Your download is starting...</h3> <p> |