From 6ab3df7ad0c6f1b7cb617171e669967f0cc3b8c2 Mon Sep 17 00:00:00 2001 From: gautamig54 Date: Sat, 8 Jun 2019 19:17:14 +0530 Subject: [PATCH 1/3] fix question area in question shadow page --- app/views/questions/index_shadow.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/questions/index_shadow.html.erb b/app/views/questions/index_shadow.html.erb index e79356e27e..888e5e2754 100644 --- a/app/views/questions/index_shadow.html.erb +++ b/app/views/questions/index_shadow.html.erb @@ -28,7 +28,7 @@ -
+
@@ -39,7 +39,6 @@ margin:auto; width:70%; background-color: #F5F5F5; - height: 300px; border-radius: 10px; } From e46219f885e4c6ce233b7b68f521305d73141a3d Mon Sep 17 00:00:00 2001 From: gautamig54 Date: Fri, 14 Jun 2019 13:57:59 +0530 Subject: [PATCH 2/3] add modal for login and signup --- app/views/questions/index_shadow.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/questions/index_shadow.html.erb b/app/views/questions/index_shadow.html.erb index 888e5e2754..ee025ce315 100644 --- a/app/views/questions/index_shadow.html.erb +++ b/app/views/questions/index_shadow.html.erb @@ -17,7 +17,8 @@
What's your question?
<% if !current_user %> -

To ask a question, please log in or sign up first.

+

To ask a question, please <%= t('layout._header.login.login_title') %> or + <%= t('layout._header.join') %> first.

<% end %>
@@ -34,6 +35,7 @@
+ <%= render partial: "layouts/signupLoginModal" %>