mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Use the new pagination style for the calendars view (#27346).
Patch by Bernhard Rohloff. git-svn-id: https://svn.redmine.org/redmine/trunk@22235 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f41f18be45
commit
006c6a4e01
@ -15,9 +15,15 @@
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<p class="contextual">
|
||||
<%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %> | <%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %>
|
||||
</p>
|
||||
<span class="contextual pagination">
|
||||
<ul class="pages">
|
||||
<li class="previous page">
|
||||
<%= link_to_previous_month(@year, @month, :accesskey => accesskey(:previous)) %>
|
||||
</li><li class="next page">
|
||||
<%= link_to_next_month(@year, @month, :accesskey => accesskey(:next)) %>
|
||||
</li>
|
||||
</ul>
|
||||
</span>
|
||||
|
||||
<p class="buttons">
|
||||
<%= label_tag('month', l(:label_month)) %>
|
||||
|
||||
@ -1116,6 +1116,7 @@ table.cal .starting a.issue, p.cal.legend .starting {background: url(../images/b
|
||||
table.cal .ending a.issue, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
|
||||
table.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
|
||||
p.cal.legend span {display:block;}
|
||||
.controller-calendars p.buttons {margin-top: unset;}
|
||||
|
||||
/***** Tooltips ******/
|
||||
.tooltip{position:relative;z-index:24;}
|
||||
|
||||
@ -57,7 +57,7 @@ class CalendarsControllerTest < Redmine::ControllerTest
|
||||
assert_select 'div#query_form_content' do
|
||||
assert_select 'fieldset#filters.collapsible'
|
||||
end
|
||||
assert_select 'p.contextual'
|
||||
assert_select 'span.contextual.pagination'
|
||||
assert_select 'p.buttons'
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user