SUZUKI Miho
null+****@clear*****
Wed Sep 26 21:31:01 JST 2012
SUZUKI Miho 2012-09-26 21:31:01 +0900 (Wed, 26 Sep 2012) New Revision: 8a5b48fa5140cd0ec23dc0032025a905749377ab https://github.com/logaling/logaling-server/commit/8a5b48fa5140cd0ec23dc0032025a905749377ab Log: Apply design to github-project-show page Modified files: app/views/glossaries/_term.html.haml app/views/glossaries/show.html.haml Modified: app/views/glossaries/_term.html.haml (+13 -8) =================================================================== --- app/views/glossaries/_term.html.haml 2012-09-26 20:33:40 +0900 (535b399) +++ app/views/glossaries/_term.html.haml 2012-09-26 21:31:01 +0900 (2f2491b) @@ -1,8 +1,13 @@ -.term.well - %span.source-language.label= term[:source_language] - %span.source-term= term[:source_term] - %span.target-language.label= term[:target_language] - %span.target-term= term[:target_term] - - if term[:note].present? - %i.icon-pencil - %span.note= term[:note] +.term + .row + .span9 + %span.label<> + =term[:source_language] + = term[:source_term] + %span.label<> + =term[:target_language] + = term[:target_term] + - if term[:note].present? + %span.label<> + = "note" + = term[:note] Modified: app/views/glossaries/show.html.haml (+10 -10) =================================================================== --- app/views/glossaries/show.html.haml 2012-09-26 20:33:40 +0900 (968bed4) +++ app/views/glossaries/show.html.haml 2012-09-26 21:31:01 +0900 (e69d334) @@ -1,11 +1,11 @@ -%p#notice= notice - -.well - %h2= @github_project.full_name - %p= @github_project.remote_repository_url +.container + %h1 + = @github_project.full_name + =****@gloss*****_language + =****@gloss*****_language %p - %i.icon-folder-open - = "%s-%s" % [@glossary.source_language, @glossary.target_language] - --****@gloss***** do |term| - = render :partial => 'term', :locals => {:term => term} + = @github_project.remote_repository_url + %h2 + 登録されてる用語一覧 + -****@gloss***** do |term| + = render :partial => 'term', :locals => {:term => term} -------------- next part -------------- An HTML attachment was scrubbed... Télécharger