| <%= render :partial => 'notifier/header' %> |
| <p> |
| <%= link_to ENV['EPFWIKI_APP_NAME'], "http://#{ENV['EPFWIKI_HOST']}/" %> |
| </p> |
| <hr> |
| <p> |
| <strong>General Summary</strong> |
| <ul> |
| <% @items.each do |itm| %> |
| <% if itm.class.name == 'Upload' %> |
| <li><%= link_to itm.filename, itm.url(true) %> was uploaded by <%= itm.user.name %> at <%= itm.created_on.strftime(TIME_FORMAT) %></li> |
| <% elsif itm.class.name == 'User' %> |
| <li><%= itm.name %> registered as a new user at <%= itm.created_on.strftime(TIME_FORMAT) %></li> |
| <% end %> |
| <% end %> |
| </ul> |
| </p> |
| <% @wikis.each do |w| %> |
| <hr> |
| <p> |
| <strong><%= link_to w.title, w.url(true) %> Summary</strong> |
| <ul> |
| <% @items.each do |itm| %> |
| <% if itm.class.name == 'Version' && itm.wiki == w %> |
| <li><%= link_to itm.presentation_name, itm.page.url(true) %> was changed by <%= itm.user.name %> at <%= itm.created_on.strftime(TIME_FORMAT) %></li> |
| <% elsif itm.class.name == 'Comment' && itm.site == w %> |
| <li><%= link_to itm.page.presentation_name, itm.page.url(true) %> was discussed by <%= itm.user.name %> at <%= itm.created_on.strftime(TIME_FORMAT) %></li> |
| <% elsif itm.class.name == 'Update' && itm.wiki == w %> |
| <li><%= link_to itm.wiki.title, itm.wiki.url(true) %> was updated with <%= link_to itm.baseline_process.title, itm.baseline_process.url(true) %> by <%= itm.user.name %> at <%= itm.created_on.strftime(TIME_FORMAT) %></li> |
| <% elsif itm.class.name == 'Wiki' && itm == w %> |
| <li><%= link_to itm.title, itm.url(true) %> was created by <%= itm.user.name %> at <%= itm.created_on.strftime(TIME_FORMAT) %></li> |
| <% elsif itm.class.name == 'Checkout' && itm.site == w %> |
| <li><%= link_to itm.page.presentation_name, itm.page.url(true) %> was checked out by <%= itm.user.name %> at <%= itm.created_on.strftime(TIME_FORMAT) %></li> |
| <% elsif itm.class.name == 'WikiPage' && itm.site == w %> |
| <li><%= link_to itm.presentation_name, itm.url(true) %> was created by <%= itm.user.name %> at <%= itm.created_on.strftime(TIME_FORMAT) %></li> |
| <% end %> |
| <% end %> |
| </ul> |
| </p> |
| <% end %> |
| |
| <p>Generated on: <strong><%= @runtime.to_s %></strong><br> |
| Showing from <strong><%= @starttime.to_s %></strong> to <strong><%= @endtime.to_s %></strong></p> |
| <%= render :partial => 'notifier/footer' %> |