lib/kamerling/views/project.slim in kamerling-0.0.2 vs lib/kamerling/views/project.slim in kamerling-0.0.3
- old
+ new
@@ -1,11 +1,15 @@
nav
ul#clients
- clients.each do |client|
li
- a data-busy=client.busy.to_s data-uuid=client.uuid href="/clients/#{client.uuid}" rel='client'
- = client.busy
+ a(data-busy=client.busy.to_s data-class='client' data-type=client.type
+ data-uuid=client.uuid href="/clients/#{client.uuid}")
+ = client.uuid
+ = "busy: #{client.busy.to_s}"
ul#tasks
- tasks.each do |task|
li
- a data-done=task.done.to_s data-uuid=task.uuid href="/tasks/#{task.uuid}" rel='task'
- = task.done
+ a(data-class='task' data-done=task.done.to_s data-uuid=task.uuid
+ href="/tasks/#{task.uuid}")
+ = task.uuid
+ = "done: #{task.done.to_s}"