字符超出边界问题, 新建课程404问题

This commit is contained in:
yanxd 2014-01-24 15:32:18 +08:00
parent c26cb56193
commit f549645dce
2 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<td rowspan="2"> <td rowspan="2">
<% if User.current.logged?%> <% if User.current.logged?%>
<% if User.current.user_extensions.identity == 0 %> <% if User.current.user_extensions.identity == 0 %>
<%= link_to(l(:label_course_new), {:controller => 'projects', :action => 'new', :course => 1, :project_type => @project_type}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %></td> <%= link_to(l(:label_course_new), {:controller => 'projects', :action => 'new', :course => 1, :project_type => 1}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %></td>
<% end %> <% end %>
<% end %> <% end %>
</td> </td>

View File

@ -14,6 +14,10 @@
.clear_both{ .clear_both{
clear: both; clear: both;
} }
pre{
white-space: normal;
word-wrap: break-word;
}
.highlight { .highlight {
background-color: #fff34d; background-color: #fff34d;
-moz-border-radius: 3px; -moz-border-radius: 3px;