pollished team index
This commit is contained in:
parent
863e5eb7d6
commit
8aa5076d68
2 changed files with 16 additions and 13 deletions
|
@ -9,6 +9,14 @@ a {
|
||||||
&.btn {
|
&.btn {
|
||||||
color: $style_color;
|
color: $style_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.dark {
|
||||||
|
color: $style_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.lined {
|
||||||
|
text-decoration:underlined;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,6 +40,10 @@ a:focus {
|
||||||
color: $link_color !important;
|
color: $link_color !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dlink {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.pills a:hover {
|
.pills a:hover {
|
||||||
background-color:#ccc;
|
background-color:#ccc;
|
||||||
}
|
}
|
||||||
|
@ -700,12 +712,6 @@ input.git_clone_url {
|
||||||
width:475px;
|
width:475px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team_member_row {
|
|
||||||
img {
|
|
||||||
width:60px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.merge-request-form-holder {
|
.merge-request-form-holder {
|
||||||
select {
|
select {
|
||||||
width:300px;
|
width:300px;
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
- user = member.user
|
- user = member.user
|
||||||
- allow_admin = can? current_user, :admin_project, @project
|
- allow_admin = can? current_user, :admin_project, @project
|
||||||
%li{:id => dom_id(member), :class => "team_member_row wll"}
|
%li{:id => dom_id(member), :class => "team_member_row wll"}
|
||||||
.left
|
|
||||||
= link_to project_team_member_path(@project, member), :title => user.name do
|
|
||||||
= image_tag gravatar_icon(user.email, 60), :class => "styled_image"
|
|
||||||
.row
|
.row
|
||||||
.span8
|
.span8
|
||||||
%h4
|
= link_to project_team_member_path(@project, member), :title => user.name, :class => "dark" do
|
||||||
= truncate(user.name, :lenght => 24)
|
= image_tag gravatar_icon(user.email, 40), :class => "avatar"
|
||||||
%br
|
%strong= truncate(user.name, :lenght => 40)
|
||||||
%small= truncate user.email, :lenght => 24
|
.prepend-top-10= user.email
|
||||||
|
|
||||||
.span3
|
.span3
|
||||||
= form_for(member, :as => :team_member, :url => project_team_member_path(@project, member)) do |f|
|
= form_for(member, :as => :team_member, :url => project_team_member_path(@project, member)) do |f|
|
||||||
|
|
Loading…
Reference in a new issue