Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
6db235cf3c
|
@ -460,6 +460,7 @@ module ApplicationHelper
|
||||||
project_tree(projects) do |project, level|
|
project_tree(projects) do |project, level|
|
||||||
name_prefix = (level > 0 ? ' ' * 2 * level + '» ' : '').html_safe
|
name_prefix = (level > 0 ? ' ' * 2 * level + '» ' : '').html_safe
|
||||||
tag_options = {:value => project.id}
|
tag_options = {:value => project.id}
|
||||||
|
tag_options[:title] = project.name
|
||||||
if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project))
|
if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project))
|
||||||
tag_options[:selected] = 'selected'
|
tag_options[:selected] = 'selected'
|
||||||
else
|
else
|
||||||
|
|
|
@ -2835,3 +2835,7 @@ div.repos_explain{
|
||||||
|
|
||||||
.projects-index{min-height: 350px}
|
.projects-index{min-height: 350px}
|
||||||
.school-index{min-height: 400px}
|
.school-index{min-height: 400px}
|
||||||
|
#membership_project_id option
|
||||||
|
{
|
||||||
|
width: 190px;
|
||||||
|
}
|
Loading…
Reference in New Issue