From 30e355fa35164aaf49b19fea2f8978d98e429b7b Mon Sep 17 00:00:00 2001 From: z9hang Date: Sat, 25 Oct 2014 15:34:38 +0800 Subject: [PATCH] =?UTF-8?q?#948=20admin=E9=85=8D=E7=BD=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86--=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8--=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=88=97=E8=A1=A8=EF=BC=9A=E5=A6=82=E5=9B=BE=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=A1=86=E6=98=BE=E7=A4=BA=E8=B6=85=E5=87=BA=E8=BE=B9?= =?UTF-8?q?=E6=A1=86=E4=B8=94=E9=A1=B9=E7=9B=AE=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=EF=BC=8C=E8=AF=B4=E5=B0=8F=E9=80=89=E9=A1=B9?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=EF=BC=8C=E6=B7=BB=E5=8A=A0title=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=EF=BC=8C=E9=BC=A0=E6=A0=87=E6=82=AC=E5=81=9C=E6=97=B6?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=80=89=E9=A1=B9=E7=9A=84=E5=AE=8C=E6=95=B4?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 1 + public/stylesheets/application.css | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2ba16c742..135bfa3fd 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index aed928ebe..1410b2781 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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} \ No newline at end of file +.school-index{min-height: 400px} +#membership_project_id option +{ + width: 190px; +} \ No newline at end of file