socialforge/app/views/messages/show.html.erb

10 lines
403 B
Plaintext
Raw Normal View History

2014-08-12 10:24:27 +08:00
<% if @project %>
<%= render :partial => 'project_show', locals: {project: @project} %>
<% elsif @course %>
<%= render :partial => 'course_show', locals: {course: @course} %>
2016-12-30 16:37:20 +08:00
<% elsif @contest %>
<%= render :partial => 'contest_show', locals: {contest: @contest} %>
<% else %>
<%= render :partial => 'org_subfield_show', :locals => {:org_subfield => @org_subfield} %>
2014-08-12 10:24:27 +08:00
<% end %>