diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-09-25 16:07:19 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-09-25 16:07:19 -0300 |
commit | 89307fe2cee0bb0205d159f67a61a70e92ebe8a3 (patch) | |
tree | 64edfd91d43b259b74efc879ead5868198ce55d0 /railties/lib | |
parent | 3f1d04e3bb04d240792112b5b45a9062c72e0df4 (diff) | |
parent | be0206e4e2c18575e22361c19925ee5a48a34965 (diff) | |
download | rails-89307fe2cee0bb0205d159f67a61a70e92ebe8a3.tar.gz rails-89307fe2cee0bb0205d159f67a61a70e92ebe8a3.tar.bz2 rails-89307fe2cee0bb0205d159f67a61a70e92ebe8a3.zip |
Merge pull request #17024 from buddhamagnet/amend-welcome-page
Amend welcome page
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/info.rb | 18 | ||||
-rw-r--r-- | railties/lib/rails/templates/rails/welcome/index.html.erb | 7 |
2 files changed, 11 insertions, 14 deletions
diff --git a/railties/lib/rails/info.rb b/railties/lib/rails/info.rb index 9502876ebb..1ff1eb0e97 100644 --- a/railties/lib/rails/info.rb +++ b/railties/lib/rails/info.rb @@ -61,6 +61,11 @@ module Rails end end + # The Rails version. + property 'Rails version' do + Rails.version.to_s + end + # The Ruby version and platform, e.g. "2.0.0-p247 (x86_64-darwin12.4.0)". property 'Ruby version' do "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_PLATFORM})" @@ -75,23 +80,10 @@ module Rails ::Rack.release end - # The Rails version. - property 'Rails version' do - Rails.version.to_s - end - property 'JavaScript Runtime' do ExecJS.runtime.name end - # Versions of each Rails framework (Active Record, Action Pack, - # Action Mailer, and Active Support). - frameworks.each do |framework| - property "#{framework.titlecase} version" do - framework_version(framework) - end - end - property 'Middleware' do Rails.configuration.middleware.map(&:inspect) end diff --git a/railties/lib/rails/templates/rails/welcome/index.html.erb b/railties/lib/rails/templates/rails/welcome/index.html.erb index eb620caa00..e6feda8c97 100644 --- a/railties/lib/rails/templates/rails/welcome/index.html.erb +++ b/railties/lib/rails/templates/rails/welcome/index.html.erb @@ -95,7 +95,12 @@ padding-top: 3px; padding-bottom: 3px; } - #about-content td.name {color: #555} + #about-content td.name { + font-weight: bold; + vertical-align: top; + color: #555 + } + #about-content td.value {color: #000} #about-content ul { |