#648: updated styles, added icons for filters
This commit is contained in:
parent
768f4b1dfb
commit
1e468b5073
Binary file not shown.
After Width: | Height: | Size: 621 B |
Binary file not shown.
After Width: | Height: | Size: 380 B |
|
@ -707,6 +707,12 @@ div.toolbar, table.dataTable {
|
|||
.group { background: image-url('group16.png') no-repeat 0 0 transparent; }
|
||||
}
|
||||
|
||||
.div-filter-labels {
|
||||
.group { background: image-url('group16b.png') no-repeat 0 0 transparent; }
|
||||
.user { background: image-url('user16b.png') no-repeat 0 0 transparent; }
|
||||
.user, .group { padding-left: 20px; }
|
||||
}
|
||||
|
||||
.root {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
|
|
@ -9,10 +9,11 @@ module ProjectsHelper
|
|||
:selected => false,
|
||||
:check_box_name => class_name.downcase.pluralize,
|
||||
:check_box_value => o.id,
|
||||
:name => o.uname,
|
||||
:name => content_tag(:div, content_tag(:span, o.uname, :class => class_name.downcase)),
|
||||
:uname => o.uname, # only for sorting
|
||||
:count => all_projects.where(:owner_id => o, :owner_type => class_name).count
|
||||
}
|
||||
end.sort_by{ |f| f[:name] }
|
||||
end.sort_by{ |f| f[:uname] }
|
||||
end
|
||||
|
||||
def git_repo_url(name)
|
||||
|
|
Loading…
Reference in New Issue