Skip to content

Commit 01dda30

Browse files
committed
Adding other notice for support stuff
1 parent cbe5bc8 commit 01dda30

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

app/views/questions/index.html.haml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
- content_for :title do
22
-if @support
33
Support Questions
4-
-else
4+
-else
55
Questions
66

77
- content_for :sidebar do
88
= render :partial => "shared/ask"
9-
= render :partial => "shared/support"
9+
- if @support
10+
= render :partial => "shared/questions_blurb"
11+
- else
12+
= render :partial => "shared/support_blurb"
1013

1114
%ul.questions
1215
= render :partial => "list", :collection => collection

app/views/questions/show.html.haml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010

1111

1212
= render :partial => "shared/ask"
13-
= render :partial => "shared/support"
13+
- if @support
14+
= render :partial => "shared/questions_blurb"
15+
- else
16+
= render :partial => "shared/support_blurb"
1417

1518
.meta
1619
Asked
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
%section.support
2+
%h2 Ruby Questions
3+
%p Programming problem got you stumped? Find Ruby a bit confusing? Check out the #{link_to "questions section", questions_path}.

0 commit comments

Comments
 (0)