[hg] galaxy 2791: fix history grids
details: http://www.bx.psu.edu/hg/galaxy/rev/40c3c7798b64 changeset: 2791:40c3c7798b64 user: Kanwei Li <kanwei@gmail.com> date: Mon Sep 28 12:39:53 2009 -0400 description: fix history grids 2 file(s) affected in this change: templates/grid.mako templates/history/grid.mako diffs (100 lines): diff -r 4733c3b69226 -r 40c3c7798b64 templates/grid.mako --- a/templates/grid.mako Mon Sep 28 10:29:23 2009 -0400 +++ b/templates/grid.mako Mon Sep 28 12:39:53 2009 -0400 @@ -214,19 +214,19 @@ %endfor </tbody> %if grid.has_multiple_item_operations: - <tfoot> - <tr> - <td></td> - <td colspan="100"> - For <span class="grid-selected-count"></span> selected items: - %for operation in grid.operations: - %if operation.allow_multiple: - <input type="submit" name="operation" value="${operation.label}" class="action-button"> - %endif - %endfor - </td> - </tr> - </tfoot> + <tfoot> + <tr> + <td></td> + <td colspan="100"> + For <span class="grid-selected-count"></span> selected items: + %for operation in grid.operations: + %if operation.allow_multiple: + <input type="submit" name="operation" value="${operation.label}" class="action-button"> + %endif + %endfor + </td> + </tr> + </tfoot> %endif </table> </form> diff -r 4733c3b69226 -r 40c3c7798b64 templates/history/grid.mako --- a/templates/history/grid.mako Mon Sep 28 10:29:23 2009 -0400 +++ b/templates/history/grid.mako Mon Sep 28 12:39:53 2009 -0400 @@ -301,34 +301,34 @@ </tbody> <tfoot> %if num_pages > 1: - <tr> - <td></td> - <td colspan="100" style="font-size: 90%; text-align: right"> - Page: - %for page_index in range(1, num_pages + 1): - %if page_index == cur_page_num: - <span style="font-style: italic">${page_index}</span> - %else: - <% args = { "page" : page_index } %> - <span><a href="${url( args )}">${page_index}</a></span> - %endif - %endfor - </td> - </tr> + <tr> + <td></td> + <td colspan="100" style="font-size: 90%; text-align: right"> + Page: + %for page_index in range(1, num_pages + 1): + %if page_index == cur_page_num: + <span style="font-style: italic">${page_index}</span> + %else: + <% args = { "page" : page_index } %> + <span><a href="${url( args )}">${page_index}</a></span> + %endif + %endfor + </td> + </tr> %endif %if grid.operations: - <tr> - <td></td> - <td colspan="100"> - For <span class="grid-selected-count"></span> selected histories: - %for operation in grid.operations: - %if operation.allow_multiple: - <input type="submit" name="operation" value="${operation.label}" class="action-button"> - %endif - %endfor - </td> - </tr> + <tr> + <td></td> + <td colspan="100"> + For <span class="grid-selected-count"></span> selected histories: + %for operation in grid.operations: + %if operation.allow_multiple: + <input type="submit" name="operation" value="${operation.label}" class="action-button"> + %endif + %endfor + </td> + </tr> + %endif </tfoot> - %endif </table> </form>
participants (1)
-
Nate Coraor