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 @attachtype==0 && @contenttype=='0' %>
|
||||||
<% if @project%>
|
<% if @project%>
|
||||||
$("#all_browse_div").html('<%= j(render partial: "show_all_attachment")%>');
|
$("#all_browse_div").html('<%= j(render partial: "show_all_attachment")%>');
|
||||||
<% elsif @course%>
|
<% elsif @course%>
|
||||||
$("#all_browse_div").html('<%= j(render partial: "course_show_all_attachment")%>');
|
$("#all_browse_div").html('<%= j(render partial: "course_show_all_attachment")%>');
|
||||||
<%end%>
|
<%end%>
|
||||||
<%else%>
|
<%else%>
|
||||||
<% if @project%>
|
<% if @project%>
|
||||||
$("#all_browse_div").html('<%= j(render partial: "sort_by_attachtypel")%>')
|
$("#all_browse_div").html('<%= j(render partial: "sort_by_attachtypel")%>')
|
||||||
<% elsif @course%>
|
<% elsif @course%>
|
||||||
$("#all_browse_div").html('<%= j(render partial: "course_sort_by_attachtypel")%>')
|
$("#all_browse_div").html('<%= j(render partial: "course_sort_by_attachtypel")%>')
|
||||||
<%end%>;
|
<%end%>;
|
||||||
<%end%>
|
<%end%>
|
||||||
|
Loading…
Reference in new issue