|
|
|
@ -43,7 +43,7 @@ module WatchersHelper
|
|
|
|
|
)
|
|
|
|
|
method = watched ? 'delete' : 'post'
|
|
|
|
|
|
|
|
|
|
link_to text, url, :remote => true, :method => method, :style => "color: #fff; display:block; padding: 0px 5px; margin-right: 10px; height: 22px; line-height: 22px; background: none repeat scroll 0% 0% #64BDD9; TES"
|
|
|
|
|
link_to text, url, :remote => true, :method => method, :style => "color: #fff; display:block; padding: 0px 5px; margin-right: 10px; height: 22px; line-height: 21px;padding-top:1px; background: none repeat scroll 0% 0% #64BDD9; TES"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
############## added by linchun
|
|
|
|
@ -278,11 +278,11 @@ module WatchersHelper
|
|
|
|
|
)
|
|
|
|
|
method = applied ? 'delete' : 'post'
|
|
|
|
|
|
|
|
|
|
link_to text, url, :remote => true, :method => method ,:style => "color: #fff; display:block; padding: 0px 5px; margin-right: 10px; height: 22px; line-height: 22px; background: none repeat scroll 0% 0% #64BDD9; TES"
|
|
|
|
|
link_to text, url, :remote => true, :method => method ,:style => "color: #fff; display:block; padding: 0px 5px; margin-right: 10px; height: 21px; line-height: 22px;padding-top:1px; background: none repeat scroll 0% 0% #64BDD9; TES"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def exit_project_link(project)
|
|
|
|
|
link_to(l(:label_exit_project),exit_cur_project_path(project.id),
|
|
|
|
|
:remote => true, :confirm => l(:lable_sure_exit_project), :style => "color: #fff; display:block; padding: 0px 5px; margin-right: 10px; height: 22px; line-height: 22px; background: none repeat scroll 0% 0% #64BDD9; TES" )
|
|
|
|
|
:remote => true, :confirm => l(:lable_sure_exit_project), :style => "color: #fff; display:block; padding: 0px 5px; margin-right: 10px; height: 21px; line-height: 22px; background: none repeat scroll 0% 0% #64BDD9; TES;padding-top:1px;" )
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|