From 2f658de6d0246ec8b236e61c7e8dc27839553059 Mon Sep 17 00:00:00 2001 From: basnal Date: Tue, 22 Jul 2014 16:12:25 +0530 Subject: [PATCH] Sidebar removed #11 --- app/views/layouts/application.html.haml | 9 +-------- app/views/newsletters/index.html.haml | 6 +++++- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index cf8c868..1186580 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -36,9 +36,6 @@ %a{role: "menuitem", tabindex: "-1", href: "#{new_user_path}"}Add Manually %li %a{role: "menuitem", tabindex: "-2", href: "#{spreadsheets_path}"}Google Spreadsheets - %li - %a{href: "#{sendmailer_path}"} - %h4 Send Mail %ul.nav.navbar-nav.navbar-right %li.active @@ -48,8 +45,4 @@ =User.count %div.container %div.row - %div.col-sm-9= yield - %div.col-sm-3 - %center - %h3 Insight of LightAir - %p LightAir is a mass Mailer designed to send newsletters designed in html to be sent to a few hundered to a tens of thousands of subscribers. It has an inbuilt HTML editor to create a newsletter online. + %div= yield \ No newline at end of file diff --git a/app/views/newsletters/index.html.haml b/app/views/newsletters/index.html.haml index c252262..731913a 100644 --- a/app/views/newsletters/index.html.haml +++ b/app/views/newsletters/index.html.haml @@ -1,6 +1,10 @@ +%a.pull-right{href: "#{sendmailer_path}"} + %button.btn.btn-danger + Send Mail %table.table.table-striped %tr - %strong Newsletters + %h4 + %strong Newsletters -@newsletters.each do |news| %tr %td