Needed to wrap in a div, second div will get lost (jquery issue).

This commit is contained in:
Martin Edenhofer 2014-07-24 00:27:42 +02:00
parent 82538bb7ed
commit 92be13cb30

View file

@ -1,37 +1,39 @@
<div class="page-header horizontal"> <div>
<div class="page-header-title"> <div class="page-header horizontal">
<h2 class="can-move"><%- @T( @overview.name ) %> <small><a href="#" data-type="settings" class="glyphicon glyphicon-edit"></a></small></h2> <div class="page-header-title">
</div> <h2 class="can-move"><%- @T( @overview.name ) %> <small><a href="#" data-type="settings" class="glyphicon glyphicon-edit"></a></small></h2>
<div class="page-header-meta horizontal"> </div>
<div class="pagination-counter"> <div class="page-header-meta horizontal">
<span class="pagination-items-range"><%- @tickets_from %>-<%- @tickets_till %></span> <%- @T("of") %> <span class="pagination-total-items"><%- @tickets_count %></span> <div class="pagination-counter">
<span class="pagination-items-range"><%- @tickets_from %>-<%- @tickets_till %></span> <%- @T("of") %> <span class="pagination-total-items"><%- @tickets_count %></span>
</div>
<ul class="pagination">
<li>
<% if @start_page != 1: %>
<a class="centered" href="#" data-id="<%= @start_page - 1 %>" data-type="page">
<span class="left arrow icon"></span>
</a>
<% else: %>
<a class="disabled centered" href="#" data-id="<%= @start_page %>" data-type="page">
<span class="disabled left arrow icon"></span>
</a>
<% end %>
</li>
<% for item in [1..@pages_total]: %>
<% end %>
<li>
<% if @start_page != @pages_total: %>
<a class="centered" href="#" data-id="<%= @start_page + 1 %>" data-type="page">
<span class="right arrow icon"></span>
</a>
<% else: %>
<a class="disabled centered" href="#" data-id="<%= @start_page %>" data-type="page">
<span class="disabled right arrow icon"></span>
</a>
</li>
<% end %>
</ul>
</div> </div>
<ul class="pagination">
<li>
<% if @start_page != 1: %>
<a class="centered" href="#" data-id="<%= @start_page - 1 %>" data-type="page">
<span class="left arrow icon"></span>
</a>
<% else: %>
<a class="disabled centered" href="#" data-id="<%= @start_page %>" data-type="page">
<span class="disabled left arrow icon"></span>
</a>
<% end %>
</li>
<% for item in [1..@pages_total]: %>
<% end %>
<li>
<% if @start_page != @pages_total: %>
<a class="centered" href="#" data-id="<%= @start_page + 1 %>" data-type="page">
<span class="right arrow icon"></span>
</a>
<% else: %>
<a class="disabled centered" href="#" data-id="<%= @start_page %>" data-type="page">
<span class="disabled right arrow icon"></span>
</a>
</li>
<% end %>
</ul>
</div> </div>
</div> <div class="table-overview"></div>
<div class="table-overview"></div> </div>