diff --git a/app/views/questions/index.html.erb b/app/views/questions/index.html.erb index 4375dadc93a..3dd8786645b 100644 --- a/app/views/questions/index.html.erb +++ b/app/views/questions/index.html.erb @@ -1,6 +1,4 @@ -<%= render :partial => "sidebar/user" %> - -
+
<% if params[:action] == 'answered' %>

Recently Answered

@@ -11,28 +9,39 @@ <% elsif params[:action] == 'liked' %>

Liked Questions

<% else %> +

Questions and Answers

<%= t('questions.index.explanation') %>

<% end %>

New to Public Lab? Learn how this works »

+

- +
+
+

Ask a question here

+ +
+
+ <% if params[:controller] == 'questions' %> + <%= render partial: 'tag/sorting' %> + <% end %> +
+
+
<%= render :partial => "notes/format_toggle" %> diff --git a/app/views/sidebar/_user.html.erb b/app/views/sidebar/_user.html.erb index acbb5d6621b..db1f51ddc5d 100644 --- a/app/views/sidebar/_user.html.erb +++ b/app/views/sidebar/_user.html.erb @@ -5,10 +5,6 @@ <% if params[:controller] != 'questions' %> <%= feature('sidebar-feature') %> <% end %> - - <% if params[:controller] == 'questions' %> - <%= render partial: 'tag/sorting' %> - <% end %>
diff --git a/app/views/tag/_sorting.html.erb b/app/views/tag/_sorting.html.erb index 61811a8835b..5238db37846 100644 --- a/app/views/tag/_sorting.html.erb +++ b/app/views/tag/_sorting.html.erb @@ -1,34 +1,34 @@ -
-

Filter questions by topic

-

Refine questions by entering tags to search or answer questions on specific topics.

- -
-
- - -
-
-
+ + }); + +