diff --git a/app/helpers/watchers_helper.rb b/app/helpers/watchers_helper.rb index 7f027009a..e2a5fa7fc 100644 --- a/app/helpers/watchers_helper.rb +++ b/app/helpers/watchers_helper.rb @@ -361,7 +361,7 @@ module WatchersHelper :object_id => (objects.size == 1 ? objects.first.id : objects.map(&:id).sort)) method = watched ? 'delete' : 'post' link_to text, url, :remote => true, :method => method, - :class => "sy_btn_pink mr5" ,:id=>id + :class => "pro_new_topbtn_left fl" ,:id=>id end # 申请加入项目 diff --git a/app/views/layouts/_base_project_top.html.erb b/app/views/layouts/_base_project_top.html.erb index 2610b585b..5bd30cd95 100644 --- a/app/views/layouts/_base_project_top.html.erb +++ b/app/views/layouts/_base_project_top.html.erb @@ -1,3 +1,40 @@ +
+
+ + <%=link_to "#{@project.owner.try(:show_name)}/".html_safe, user_path(@project.owner), :class => "pro_new_username" %> + <%=link_to @project.name, project_path(@project), :class => "pro_new_proname" %> +
+
+ +
+
+
+ +
+
+ + + + + +