And I click on "Grade" "link" in the "Submitted for grading" "table_row"
And I follow "Launch PDF editor..."
And I change window size to "large"
+ And I should see "Page 1 of 3"
And I click on ".navigate-next-button" "css_element"
+ And I should see "Page 2 of 3"
And I click on ".stampbutton" "css_element"
And I click on ".linebutton" "css_element"
And I click on ".commentcolourbutton" "css_element"
setup_navigation : function() {
var pageselect,
i,
+ strinfo,
option,
previousbutton,
nextbutton;
for (i = 0; i < this.pages.length; i++) {
option = Y.Node.create('<option/>');
option.setAttribute('value', i);
- option.setHTML(M.util.get_string('pagenumber', 'assignfeedback_editpdf', i+1));
+ strinfo = {page: i+1, total: this.pages.length};
+ option.setHTML(M.util.get_string('pagexofy', 'assignfeedback_editpdf', strinfo));
pageselect.append(option);
}
}