版本配置

dev_repository_hjq
lizanle 10 years ago
parent 2987253303
commit 457b86a861

@ -22,7 +22,7 @@
<td > <td >
<a class="c_blue02"><%= 'shared' if version.project != @project %> <%= link_to_version version %></a> <a class="c_blue02"><%= 'shared' if version.project != @project %> <%= link_to_version version %></a>
</td> </td>
<td class="c_grey"><%= format_date(version.effective_date) %></td> <td class="description"><%= format_date(version.effective_date) %></td>
<td class="description" style="word-break:break-all;"><%=h version.description %></td> <td class="description" style="word-break:break-all;"><%=h version.description %></td>
<td class="status"><%= l("version_status_#{version.status}") %></td> <td class="status"><%= l("version_status_#{version.status}") %></td>
<td class="sharing"><%=h format_version_sharing(version.sharing) %></td> <td class="sharing"><%=h format_version_sharing(version.sharing) %></td>
@ -30,7 +30,7 @@
<%= link_to_if_authorized(h(truncate(version.wiki_page_title,:length=>20)), {:controller => 'wiki', <%= link_to_if_authorized(h(truncate(version.wiki_page_title,:length=>20)), {:controller => 'wiki',
:action => 'show', :action => 'show',
:project_id => version.project, :project_id => version.project,
:id => Wiki.titleize(version.wiki_page_title)}) || h(version.wiki_page_title) unless version.wiki_page_title.blank? || version.project.wiki.nil? %> :id => Wiki.titleize(version.wiki_page_title)},:class=>"c_blue02") || h(version.wiki_page_title) unless version.wiki_page_title.blank? || version.project.wiki.nil? %>
</td> </td>
<td > <td >
<% if version.project == @project && User.current.allowed_to?(:manage_versions, @project) %> <% if version.project == @project && User.current.allowed_to?(:manage_versions, @project) %>

Loading…
Cancel
Save