diff --git a/app/views/friends/index.rhtml b/app/views/friends/index.rhtml
index c094a0f..71b8777 100644
--- a/app/views/friends/index.rhtml
+++ b/app/views/friends/index.rhtml
@@ -3,9 +3,12 @@
<%= _("%s's friends") % profile.name %>
-<% @friends.each do |friend| %>
- -
- <%= profile_image_link friend %>
+ <% @friends.each do |friend| %>
+
-
+
+ <%= link_to_profile(profile_image(friend) + '
' + friend.name, friend.identifier) %>
+
+
<%= link_to content_tag('span',_('remove')),
{ :action => 'remove', :id => friend.id },
@@ -13,8 +16,9 @@
:title => _('remove'),
:help => _('Clicking on this button will remove your friend relation with %s.') % friend.name %>
-
-<% end %>
+
+
+ <% end %>
<% if @friends.empty? %>
diff --git a/public/stylesheets/controller_friends.css b/public/stylesheets/controller_friends.css
index 2f8f6dc..cadbd7e 100644
--- a/public/stylesheets/controller_friends.css
+++ b/public/stylesheets/controller_friends.css
@@ -8,7 +8,7 @@
#content #manage_friends li {
float: left;
width: 200px;
- height: 68px;
+ height: 100px;
margin: 5px;
padding: 5px;
border: 2px solid #B8CFE7;
@@ -21,8 +21,11 @@
background: #729FCF;
}
-.profile-list img {
+#content #manage_friends li center {
float: left;
+}
+
+.profile-list img {
border: none;
}
@@ -36,12 +39,6 @@
overflow: hidden;
}
-.controll {
- position: absolute;
- right: 5px;
- bottom: 10px;
-}
-
#manage_friends .button-bar {
clear: both;
padding-top: 20px;
--
libgit2 0.21.2