parent
78af80394a
commit
dde40ed3b3
@ -0,0 +1,13 @@
|
||||
<% if @attachtype==0 && @contenttype=='0' %>
|
||||
<% if @project%>
|
||||
<%= render partial: "show_all_attachment"%>
|
||||
<% elsif @course%>
|
||||
<%= render partial: "course_show_all_attachment"%>
|
||||
<%end%>
|
||||
<%else%>
|
||||
<% if @project%>
|
||||
<%= render partial: "sort_by_attachtypel"%>
|
||||
<% elsif @course%>
|
||||
<%= render partial: "course_sort_by_attachtypel"%>
|
||||
<%end%>;
|
||||
<%end%>
|
@ -1,13 +1,13 @@
|
||||
<% if @attachtype==0 && @contenttype=='0' %>
|
||||
<% if @project%>
|
||||
$("#all_browse_div").html('<%= j(render partial: "show_all_attachment")%>');
|
||||
<% elsif @course%>
|
||||
$("#all_browse_div").html('<%= j(render partial: "course_show_all_attachment")%>');
|
||||
<%end%>
|
||||
<% if @project%>
|
||||
$("#all_browse_div").html('<%= j(render partial: "show_all_attachment")%>');
|
||||
<% elsif @course%>
|
||||
$("#all_browse_div").html('<%= j(render partial: "course_show_all_attachment")%>');
|
||||
<%end%>
|
||||
<%else%>
|
||||
<% if @project%>
|
||||
$("#all_browse_div").html('<%= j(render partial: "sort_by_attachtypel")%>')
|
||||
<% elsif @course%>
|
||||
$("#all_browse_div").html('<%= j(render partial: "course_sort_by_attachtypel")%>')
|
||||
<%end%>;
|
||||
<% if @project%>
|
||||
$("#all_browse_div").html('<%= j(render partial: "sort_by_attachtypel")%>')
|
||||
<% elsif @course%>
|
||||
$("#all_browse_div").html('<%= j(render partial: "course_sort_by_attachtypel")%>')
|
||||
<%end%>;
|
||||
<%end%>
|
||||
|
Loading…
Reference in new issue