Skip to content

Commit

Permalink
Merge bf17251 into f2e2de8
Browse files Browse the repository at this point in the history
  • Loading branch information
hcarreras committed Nov 17, 2013
2 parents f2e2de8 + bf17251 commit 1071001
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
17 changes: 16 additions & 1 deletion app/assets/stylesheets/users.css.scss
Expand Up @@ -20,4 +20,19 @@
}
}
}
}
}

.title {
display: inline;
margin-right: 10px;
margin: 0px;
}

#user-list {
li {
list-style-type: none;
padding-bottom: 3px;
padding-top: 3px;
}
}

8 changes: 3 additions & 5 deletions app/views/users/index.html.haml
@@ -1,10 +1,8 @@
=link_to "Create a diffusion", mailer_path(:user => User.all)
%ul
%ul#user-list
- @users.each do |user|
%li
.info
.title= user.username
.categories
.btn.success= link_to "Email him", mailer_path(:user => user)
.title= user.username
= link_to "Email him", mailer_path(:user => user), :class => "btn small info"

= will_paginate @users

0 comments on commit 1071001

Please sign in to comment.