mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 12:17:28 +02:00
Align issue previous/next link styling with pagination buttons (#43885).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24543 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -205,7 +205,7 @@ class IssuesTest < Redmine::IntegrationTest
|
||||
|
||||
get '/issues/5'
|
||||
assert_response :success
|
||||
assert_select '.next-prev-links .position', :text => '5 of 6'
|
||||
assert_select '.next-prev-links .pagination .page.position', :text => '5 of 6'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -217,8 +217,8 @@ class IssuesTest < Redmine::IntegrationTest
|
||||
|
||||
get '/issues/5'
|
||||
assert_response :success
|
||||
assert_select '.next-prev-links .position', :text => '3 of 5'
|
||||
assert_select '.next-prev-links .position a[href^=?]', '/projects/ecookbook/issues?'
|
||||
assert_select '.next-prev-links .pagination .page.position', :text => '3 of 5'
|
||||
assert_select '.next-prev-links .pagination .page.position a[href^=?]', '/projects/ecookbook/issues?'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -236,7 +236,7 @@ class IssuesTest < Redmine::IntegrationTest
|
||||
|
||||
get '/issues/5'
|
||||
assert_response :success
|
||||
assert_select '.next-prev-links .position', :text => '6 of 8'
|
||||
assert_select '.next-prev-links .pagination .page.position', :text => '6 of 8'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user