Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
commit
d1a84305da
@ -0,0 +1,8 @@
|
|||||||
|
<% if User.current.logged?%>
|
||||||
|
<% if User.current.user_extensions.identity == 0 %>
|
||||||
|
<%= link_to(l(:label_course_new), {:controller => 'courses', :action => 'new'},
|
||||||
|
:class => 'icon icon-add') if User.current.allowed_to?(:add_course,nil, :global => true) %>
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<%= link_to "更多>>", {:controller => 'courses', :action => 'index', :school_id => school_id} %>
|
@ -0,0 +1,42 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>File not found</title>
|
||||||
|
<style>
|
||||||
|
body{
|
||||||
|
font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
|
||||||
|
color:#303030;
|
||||||
|
}
|
||||||
|
div.container{
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
h1{
|
||||||
|
font-size:1.5em;
|
||||||
|
}
|
||||||
|
p{
|
||||||
|
font-size:0.8em;
|
||||||
|
}
|
||||||
|
.hidden{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container" >
|
||||||
|
<!--<h1>Sorry, this file can not be downloaded now. </h1>-->
|
||||||
|
<h1>该作业没有任何的附件可以下载</h1>
|
||||||
|
<h3> <a href="http://forge.trustie.net" style="">返回主页</a> </h3>
|
||||||
|
|
||||||
|
<div class="container" style="">
|
||||||
|
<div style="position: relative; right:0;text-align: right;">
|
||||||
|
<h4>Trustie开发团队.</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p class="hidden" >
|
||||||
|
<a href="javascript:history.back()">Back</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in new issue