123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- {*
- * heads.tpl
- * gitphp: A PHP git repository browser
- * Component: Head view template
- *
- * Copyright (C) 2009 Christopher Han <xiphux@gmail.com>
- *}
- {extends file='projectbase.tpl'}
- {block name=links append}
- {if $page > 0}
- <link rel="prev" href="{geturl project=$project action=heads page=$page-1}" />
- {/if}
- {if $hasmoreheads}
- <link rel="next" href="{geturl project=$project action=heads page=$page+1}" />
- {/if}
- {/block}
- {block name=main}
- {* Nav *}
- <div class="page_nav">
- {include file='nav.tpl' commit=$head treecommit=$head}
- <br />
- {if $page > 0}
- <a href="{geturl project=$project action=heads}">{t}first{/t}</a>
- {else}
- {t}first{/t}
- {/if}
- ⋅
- {if $page > 0}
- <a href="{geturl project=$project action=heads page=$page-1}">{t}prev{/t}</a>
- {else}
- {t}prev{/t}
- {/if}
- ⋅
- {if $hasmoreheads}
- <a href="{geturl project=$project action=heads page=$page+1}">{t}next{/t}</a>
- {else}
- {t}next{/t}
- {/if}
- </div>
- {include file='title.tpl' target='summary'}
- {include file='headlist.tpl'}
- {/block}
|