show check number and select correct elements
This commit is contained in:
parent
92c7fd43b1
commit
b400ba7cea
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ h2 2 Protokoll
|
||||||
- current_page_pos += 1
|
- current_page_pos += 1
|
||||||
- current_element_pos = 0
|
- current_element_pos = 0
|
||||||
/h3 = "2.#{current_page_pos} #{page.path}"
|
/h3 = "2.#{current_page_pos} #{page.path}"
|
||||||
- page.elements { |e| e.success_criteria.any? { _1.failed? } }.each do |element|
|
- page.elements.select { |e| e.success_criteria.any? { _1.failed? } }.each do |element|
|
||||||
- current_element_pos += 1
|
- current_element_pos += 1
|
||||||
- current_abs_element_pos += 1
|
- current_abs_element_pos += 1
|
||||||
- current_sc_pos = 0
|
- current_sc_pos = 0
|
||||||
|
|
@ -56,6 +56,7 @@ h2 2 Protokoll
|
||||||
- element.success_criteria.select{ _1.failed? }.each do |sc|
|
- element.success_criteria.select{ _1.failed? }.each do |sc|
|
||||||
- current_sc_pos += 1
|
- current_sc_pos += 1
|
||||||
h4 = "2.#{current_abs_element_pos}.#{current_sc_pos} #{sc.title}"
|
h4 = "2.#{current_abs_element_pos}.#{current_sc_pos} #{sc.title}"
|
||||||
|
small = sc.number
|
||||||
- if sc.test_comment?
|
- if sc.test_comment?
|
||||||
p = sc.test_comment
|
p = sc.test_comment
|
||||||
- safe_display(sc.quick_criterion) do
|
- safe_display(sc.quick_criterion) do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue