app/views/flyboy/tasks/index.xls.erb in flyboy-0.0.6 vs app/views/flyboy/tasks/index.xls.erb in flyboy-1.0.0

- old
+ new

@@ -5,17 +5,21 @@ xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"> <Worksheet ss:Name="Sheet1"> <Table> <Row> - <Cell><Data ss:Type="String">Action</Data></Cell> - <Cell><Data ss:Type="String">Titre</Data></Cell> + <Cell><Data ss:Type="String">Dossier</Data></Cell> + <Cell><Data ss:Type="String">Avancement dossier</Data></Cell> + <Cell><Data ss:Type="String">Tâche</Data></Cell> + <Cell><Data ss:Type="String">Avancement tâche</Data></Cell> <Cell><Data ss:Type="String">Echéance</Data></Cell> </Row> <% @tasks.each do |task| %> <Row> <Cell><Data ss:Type="String"><%= task.goal.title %></Data></Cell> + <Cell><Data ss:Type="String"><%= percentage(task.goal.progress) %></Data></Cell> <Cell><Data ss:Type="String"><%= task.title %></Data></Cell> + <Cell><Data ss:Type="String"><%= percentage(task.progress) %></Data></Cell> <Cell><Data ss:Type="String"><%= l task.term %></Data></Cell> </Row> <% end %> </Table> </Worksheet>