Permalink
Browse files

Display users to be unfollowed.

  • Loading branch information...
1 parent 038ef06 commit 03035a5ff85f8d1b4f64888e780d48c78495fa5c @twe4ked committed May 7, 2012
Showing with 9 additions and 0 deletions.
  1. +4 −0 views/application.scss
  2. +5 −0 views/index.haml
View
@@ -28,6 +28,10 @@ body{
a{color:#000;}
+ ul{
+ li{margin-bottom:4px;}
+ }
+
form{
font-size:14px;
margin-bottom:20px;
View
@@ -9,3 +9,8 @@
%input{name: 'days', id: 'days', autocomplete: 'off', value: params[:days]}
days
%input{type: 'submit', value: 'tmp/follow'}
+
+ %ul
+ - Unfollow.all(oauth_token: session[:oauth_token], oauth_token_secret: session[:oauth_token_secret]).each do |unfollow|
+ %li
+ @#{unfollow.user} will be unfollowed on #{unfollow.date.strftime("%A, %b #{unfollow.date.day.ordinalize}")}

0 comments on commit 03035a5

Please sign in to comment.