Wyświetlanie wg. repozytoriów.
[redakcja_redmine.git] / app / views / publications / refresh.erb
index cf972ca..1968a92 100644 (file)
@@ -1,8 +1,9 @@
+<% @match_status.each do |repo_status| %>
+<h2>Repozytorium: <%= repo_status[:repo].url %></h2>
 <table>
-
 <tr><th>Ścieżka zasobu</th><th>Rozpoznano</th><th>ID zasobu</th></tr>
 
-<% @match_status.each do |status| %>
+<% repo_status[:status].each do |status| %>
 <tr>
 <td><%= status[:path] %></td>
 <td><%= (status[:matched] && 'Tak') || 'Nie' %></td>
@@ -10,3 +11,4 @@
 </tr>
 <% end %>
 </table>
+<% end %>