添加项目主页文件数,版本库描述强制换行!
This commit is contained in:
parent
3022dc1057
commit
3285f1afd2
|
@ -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>
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue