添加项目主页文件数,版本库描述强制换行!

This commit is contained in:
huangjingquan 2013-08-14 22:03:36 +08:00
parent 3022dc1057
commit 3285f1afd2
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@
<td class="font_index"><%=link_to "#{@project.members.count}", project_member_path(@project) %></td> <td class="font_index"><%=link_to "#{@project.members.count}", project_member_path(@project) %></td>
<td class="font_index"><%=link_to "#{@project.issues.count}", project_issues_path(@project) %></td> <td class="font_index"><%=link_to "#{@project.issues.count}", project_issues_path(@project) %></td>
<td class="font_index"><%=link_to "#{@project.attachments.count}", project_files_path(@project) %></td>
<tr class="font_aram"> <tr class="font_aram">
<td align="center" width="80px"> <%= l(:label_member) %></td> <td align="center" width="80px"> <%= l(:label_member) %></td>
<td align="center" width="80px"> <%= l(:label_project_issues) %></td> <td align="center" width="80px"> <%= l(:label_project_issues) %></td>

View File

@ -9,7 +9,7 @@
<%= render :partial => 'breadcrumbs', <%= render :partial => 'breadcrumbs',
:locals => { :path => @path, :kind => 'dir', :revision => @rev } %> :locals => { :path => @path, :kind => 'dir', :revision => @rev } %>
<% if @repositories.size > 1 %> <% if @repositories.size > 1 %>
<p style="margin:0;"> <p style=" word-wrap: break-word; word-break: break-all">
(所有版本:<%= @repositories.sort.collect {|repo| (所有版本:<%= @repositories.sort.collect {|repo|
link_to h(repo.name), link_to h(repo.name),
{:controller => 'repositories', :action => 'show', {:controller => 'repositories', :action => 'show',