[logaling-commit] logaling/logaling-server [master] Add about page

Back to archive index

SUZUKI Miho null+****@clear*****
Mon Oct 15 11:24:51 JST 2012


SUZUKI Miho	2012-10-15 11:24:51 +0900 (Mon, 15 Oct 2012)

  New Revision: efff57826ac8add365883035a2e2937ea7768318
  https://github.com/logaling/logaling-server/commit/efff57826ac8add365883035a2e2937ea7768318

  Log:
    Add about page

  Added files:
    app/views/pages/about.html.haml
  Modified files:
    app/controllers/pages_controller.rb
    app/views/top/index.html.haml
    config/routes.rb

  Modified: app/controllers/pages_controller.rb (+1 -0)
===================================================================
--- app/controllers/pages_controller.rb    2012-10-15 10:12:27 +0900 (4b7f948)
+++ app/controllers/pages_controller.rb    2012-10-15 11:24:51 +0900 (d27df76)
@@ -1,4 +1,5 @@
 #coding: utf-8
 class PagesController < ApplicationController
   def lisence; end
+  def about; end
 end

  Added: app/views/pages/about.html.haml (+23 -0) 100644
===================================================================
--- /dev/null
+++ app/views/pages/about.html.haml    2012-10-15 11:24:51 +0900 (85c63c0)
@@ -0,0 +1,23 @@
+- @title = 'logaling けんさくについて'
+.container
+  %h1
+    = @title
+
+  %h2
+    logaling けんさくについて
+  %p
+    logaling けんさくは、翻訳作業に欠かせない訳語の確認や選定をサポートする検索サービスです。
+    さまざまな翻訳プロジェクトで、用語をどのように訳しているかを簡単に検索することができます。
+  %p
+    翻訳プロジェクトに参加している人や個人で翻訳作業を行なっている人は、
+    logaling けんさくに対訳用語集を登録しておくことで、用語集の検索や管理、共有を簡単に行なうことができます。
+  %p
+    logaling けんさくは、logaling プロジェクトの一環として開発、運営されています。
+
+  %h2
+    logaling プロジェクトとは
+  %p
+    logaling プロジェクトはオープンな言語情報資源の拡充や言語間コミュニケーションの促進を目的としたプロジェクトです。
+    現在は、その一環として logaling-command の開発を行っています。
+    = link_to "さらに詳しく »", "http://logaling.github.com/", :class => 'learnMore'
+

  Modified: app/views/top/index.html.haml (+1 -1)
===================================================================
--- app/views/top/index.html.haml    2012-10-15 10:12:27 +0900 (3c81b1c)
+++ app/views/top/index.html.haml    2012-10-15 11:24:51 +0900 (3aac1b2)
@@ -4,7 +4,7 @@
     %h1
       Use logaling and translate the world.
     %p
-      = link_to 'Learn more »', 'http://logaling.github.com/', :class => 'learnMore'
+      = link_to 'Learn more »', about_path, :class => 'learnMore'
 
 .container
   .row

  Modified: config/routes.rb (+3 -1)
===================================================================
--- config/routes.rb    2012-10-15 10:12:27 +0900 (f63223a)
+++ config/routes.rb    2012-10-15 11:24:51 +0900 (8ef81c9)
@@ -1,7 +1,9 @@
 LogalingServer::Application.routes.draw do
   get "search", :as => :search, :controller => 'search', :action => :index
 
-  get "lisence", to: 'pages#lisence', as: :lisence
+  %w(lisence about).each do |page_name|
+    get page_name, to: "pages##{page_name}", as: page_name
+  end
 
   resources :github_projects,
             :path => 'github',
-------------- next part --------------
An HTML attachment was scrubbed...
Descargar 



More information about the logaling-commit mailing list
Back to archive index