Skip to content

Commit

Permalink
Project mentorships bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
reddragon committed Sep 3, 2010
1 parent be2e936 commit e55cee2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/proposals/_list.html.erb
Expand Up @@ -51,7 +51,7 @@
<% end %>
</table>
<% else %>
<% if (current_user.project) %>
<% if logged_in? && (current_user.project) %>
<h3>You cannot submit proposals for this project </h3>
<% else %>
<h3>Empty proposals list</h3>
Expand Down
2 changes: 0 additions & 2 deletions app/views/users/_projects_mentored.html.haml
Expand Up @@ -47,8 +47,6 @@
- if can_delete_project?(project)
= link_to 'Delete', project, :confirm => 'Are you sure?', :method => :delete

%br
= render :partial => "proposals/list", :locals => { :proposals => user.proposal_mentorships }
- else
%h3
= link_to_remote image_tag('spindown-closed.gif'), :update => "projects_mentored", :url => {:action => "toggle_tab", :open => true, :partial => "projects_mentored", :user_id => user.id }
Expand Down

0 comments on commit e55cee2

Please sign in to comment.