18 lines
1023 B
Plaintext
18 lines
1023 B
Plaintext
User <%= link_to(h(@user), {:only_path => false, :controller => "users", :action => "show", :id => @user }) %>
|
|
actualized DMSF files in project <%= @project.name %>:
|
|
<% @files.each do |file| %>
|
|
<p>
|
|
<%= link_to(h(file.dmsf_path_str),
|
|
{:only_path => false, :controller => "dmsf_files", :action => "show", :id => file,
|
|
:download => ""}) %> (<%= file.name %>),
|
|
<%= number_to_human_size(file.last_revision.size) %>,
|
|
version: <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>,
|
|
<%= "#{file.last_revision.workflow_str(true)}," unless file.last_revision.workflow_str(true).blank? %>
|
|
<%= link_to("Details",
|
|
{:only_path => false, :controller => "dmsf_files", :action => "show", :id => file}) %>
|
|
<% unless file.last_revision.comment.blank? %>
|
|
<br /><span style="font-size: 0.9em"> <em><%= h(file.last_revision.comment) %></em></span>
|
|
<% end %>
|
|
</p>
|
|
<% end %>
|
|
|