Skip to content

Commit 583dd50

Browse files
committed
Fix syntax error
1 parent 89661ad commit 583dd50

File tree

5 files changed

+23
-64
lines changed

5 files changed

+23
-64
lines changed

app/views/blog_post_page/index.html.haml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
= scrivito_image_tag @obj, :image, class: "img-responsive"
1212
= scrivito_tag :div, @obj, :body
1313
%hr/
14-
= content_tag :div, scrivito_value(@obj.last_changed.strftime("更新日: %Y年%m月%d日")), |
15-
class: "text-muted text-right h5" |
14+
= content_tag :div, scrivito_value(@obj.last_changed.strftime("更新日: %Y年%m月%d日")), class: "text-muted text-right h5"
1615
%div{:style => "margin-left: 0px; padding-bottom: 30px;"}
1716
= render 'shared/sitemap_sotechsha' if @sts_posts

app/views/image_widget/show.html.haml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
= scrivito_image_tag widget, :image, style:'padding-top:-50px;', |
2-
:class => "img-responsive" |
1+
= scrivito_image_tag widget, :image, style:'padding-top:-50px;', class: "img-responsive"

app/views/sotechsha_overview_page/index.html.haml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
.container-fluid
22
#top.col-md-6
3-
= image_tag "sotechsha-1_book-cover.png", |
4-
class: "img-responsive center-block", |
5-
alt: "Scratchでつくる! たのしむ! プログラミング道場", |
6-
style: "width: 90%" |
3+
= image_tag "sotechsha-1_book-cover.png", class: "img-responsive center-block", alt: "Scratchでつくる! たのしむ! プログラミング道場", style: "width: 90%"
74
%div{:style => "text-align: center; font-size: 19.2px;"}
85
= scrivito_tag :div, @obj, :body, class: "img-responsive center-block"
96
.col-md-6
107
- @sts_posts.each do |sts_post|
118
%h3= content_tag(:strong, scrivito_value(sts_post.title))
12-
= content_tag(:p, truncate(scrivito_value(sts_post.abstract), |
13-
:length => 250, :escape => false)) |
9+
= content_tag(:p, truncate(scrivito_value(sts_post.abstract), :length => 250, :escape => false))
1410
= link_to("もっと見る", scrivito_path(sts_post), :class => "btn btn-warning btn-block")
1511
%hr/
1612
= render 'shared/social_buttons'
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
%body
2-
%li.dojo
3-
%header
4-
%a{:href => "#{dojo.url}"}
5-
%span.dojo-picture{:style => "background-image: url(#{dojo.logo});"}
6-
%span.dojo-name= dojo.name
7-
%ul.tags
8-
- dojo.tags.each do |tag|
9-
%li= tag
10-
%p= dojo.description
1+
%li.dojo
2+
%header
3+
%a{:href => "#{dojo.url}"}
4+
%span.dojo-picture{:style => "background-image: url(#{dojo.logo});"}
5+
%span.dojo-name= dojo.name
6+
%ul.tags
7+
- dojo.tags.each do |tag|
8+
%li= tag
9+
%p= dojo.description

app/views/static_pages/home.html.haml

Lines changed: 10 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -102,57 +102,23 @@
102102
「これまでの成り立ちを知りたい」「地元で道場を立ち上げてみたい」といった場合には
103103
%a{:href => "/kata"} CoderDojo Kata
104104
を参照してみてください。
105-
= link_to image_tag("coderdojo-kata_cover.png", alt: 'CoderDojo Kata', |
106-
class: 'cursor-pointer', style: 'margin-bottom: 15px;'), '/kata' |
105+
= link_to image_tag("coderdojo-kata_cover.png", alt: 'CoderDojo Kata', class: 'cursor-pointer', style: 'margin-bottom: 15px;'), '/kata'
107106
%section#partners.detail-introduction.partners_logo.text-center
108107
%h2 パートナー
109108
:javascript
110109
$(function () {
111110
$('[data-toggle="tooltip"]').tooltip();
112111
})
113112
%ul
114-
%li= link_to image_tag('logos/case-shinjuku.png', alt: 'CASE Shinjuku', |
115-
height: '110px', |
116-
data: { toggle: 'tooltip', placement: 'bottom' }, |
117-
title: 'オフィスの提供'), |
118-
'https://case-shinjuku.com/' |
119-
%li= link_to image_tag("logos/osscafe.png", alt: "下北沢オープンソースCafe", |
120-
data: { toggle: 'tooltip', placement: 'bottom' }, |
121-
title: 'ドメイン代の支援'), |
122-
'http://www.osscafe.net/' |
123-
%li= link_to image_tag('logos/scrivito.png', alt: 'Scrivito', |
124-
data: { toggle: 'tooltip', placement: 'bottom' }, |
125-
title: 'Cloud-Based CMS の提供'), |
126-
'https://scrivito.com/' |
127-
%li= link_to image_tag('logos/yasslab.png', alt: 'YassLab', |
128-
data: { toggle: 'tooltip', placement: 'bottom' }, |
129-
title: 'Web開発およびサーバー代の支援'), |
130-
'https://yasslab.jp/' |
131-
%li= link_to image_tag('logos/mitou-foundation.png', alt: 'Mitou Foundation', |
132-
style: 'margin-top: 20px; margin-bottom: 140px', |
133-
data: { toggle: 'tooltip', placement: 'bottom' }, |
134-
title: '活動資金の継続的な支援'), |
135-
'http://www.mitou.org/' |
136-
%li= link_to image_tag('logos/magikcraft.png', alt: 'magiccraft', |
137-
style: 'margin-top: 0px; margin-bottom: 135px', |
138-
data: { toggle: 'tooltip', placement: 'bottom' }, |
139-
title: 'サーバー環境(Minecraft)の提供'), |
140-
'https://www.magikcraft.io/' |
141-
%li= link_to image_tag('logos/JetBrains.svg', alt: 'JetBrains', height: '110px', |
142-
style: 'margin-top: -30px; margin-bottom: 150px', |
143-
data: { toggle: 'tooltip', placement: 'bottom' }, |
144-
title: '統合開発環境 (IDE) の提供'), |
145-
'http://www.jetbrains.com/' |
146-
%li= link_to image_tag('logos/esa.png', alt: 'esa LLC', |
147-
style: 'margin-top: -40px; margin-bottom: 150px', |
148-
data: { toggle: 'tooltip', placement: 'bottom' }, |
149-
title: 'ドキュメント共有サービスの提供'), |
150-
'https://esa.io/' |
151-
%li= link_to image_tag('logos/sakura-internet.png', alt: 'さくらインターネット', |
152-
style: 'margin-top: -40px; margin-bottom: 150px', |
153-
data: { toggle: 'tooltip', placement: 'bottom' }, |
154-
title: 'サーバー環境(クラウド)の提供'), |
155-
'https://www.sakura.ad.jp/' |
113+
%li= link_to image_tag('logos/case-shinjuku.png', alt: 'CASE Shinjuku', height: '110px', data: { toggle: 'tooltip', placement: 'bottom' }, title: 'オフィスの提供'), 'https://case-shinjuku.com/'
114+
%li= link_to image_tag("logos/osscafe.png", alt: "下北沢オープンソースCafe", data: { toggle: 'tooltip', placement: 'bottom' }, title: 'ドメイン代の支援'), 'http://www.osscafe.net/'
115+
%li= link_to image_tag('logos/scrivito.png', alt: 'Scrivito', data: { toggle: 'tooltip', placement: 'bottom' }, title: 'Cloud-Based CMS の提供'), 'https://scrivito.com/'
116+
%li= link_to image_tag('logos/yasslab.png', alt: 'YassLab', data: { toggle: 'tooltip', placement: 'bottom' }, title: 'Web開発およびサーバー代の支援'), 'https://yasslab.jp/'
117+
%li= link_to image_tag('logos/mitou-foundation.png', alt: 'Mitou Foundation', style: 'margin-top: 20px; margin-bottom: 140px', data: { toggle: 'tooltip', placement: 'bottom' }, title: '活動資金の継続的な支援'), 'http://www.mitou.org/'
118+
%li= link_to image_tag('logos/magikcraft.png', alt: 'magiccraft', style: 'margin-top: 0px; margin-bottom: 135px', data: { toggle: 'tooltip', placement: 'bottom' }, title: 'サーバー環境(Minecraft)の提供'), 'https://www.magikcraft.io/'
119+
%li= link_to image_tag('logos/JetBrains.svg', alt: 'JetBrains', height: '110px', style: 'margin-top: -30px; margin-bottom: 150px', data: { toggle: 'tooltip', placement: 'bottom' }, title: '統合開発環境 (IDE) の提供'), 'http://www.jetbrains.com/'
120+
%li= link_to image_tag('logos/esa.png', alt: 'esa LLC', style: 'margin-top: -40px; margin-bottom: 150px', data: { toggle: 'tooltip', placement: 'bottom' }, title: 'ドキュメント共有サービスの提供'), 'https://esa.io/'
121+
%li= link_to image_tag('logos/sakura-internet.png', alt: 'さくらインターネット', style: 'margin-top: -40px; margin-bottom: 150px', data: { toggle: 'tooltip', placement: 'bottom' }, title: 'サーバー環境(クラウド)の提供'), 'https://www.sakura.ad.jp/'
156122
.text-center.grayscale-bg
157123
%section.detail-introduction
158124
%h2 お問い合わせ

0 commit comments

Comments
 (0)