This commit is contained in:
sw 2014-10-25 15:40:50 +08:00
commit 6db235cf3c
2 changed files with 6 additions and 1 deletions

View File

@ -460,6 +460,7 @@ module ApplicationHelper
project_tree(projects) do |project, level|
name_prefix = (level > 0 ? ' ' * 2 * level + '» ' : '').html_safe
tag_options = {:value => project.id}
tag_options[:title] = project.name
if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project))
tag_options[:selected] = 'selected'
else

View File

@ -2834,4 +2834,8 @@ div.repos_explain{
.list .tableth{background-color:#EEEEEE; padding: 4px; white-space:pre;}
.projects-index{min-height: 350px}
.school-index{min-height: 400px}
.school-index{min-height: 400px}
#membership_project_id option
{
width: 190px;
}