12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- {*
- * project.tpl
- * gitphp: A PHP git repository browser
- * Component: Project summary template
- *
- * Copyright (C) 2009 Christopher Han <xiphux@gmail.com>
- *}
- {extends file='projectbase.tpl'}
- {block name=main}
- <div class="page_nav">
- {include file='nav.tpl' commit=$head current='summary'}
- <br /><br />
- </div>
- {include file='title.tpl'}
- {* Project brief *}
- <table>
- <tr><td>{t}description{/t}</td><td>{$project->GetDescription()|escape}</td></tr>
- <tr><td>{t}owner{/t}</td><td>{$project->GetOwner()|escape:'html'}</td></tr>
- {if $head}
- <tr><td>{t}last change{/t}</td><td><time datetime="{$head->GetCommitterEpoch()|date_format:"%Y-%m-%dT%H:%M:%S+00:00"}">{$head->GetCommitterEpoch()|date_format:"%a, %d %b %Y %H:%M:%S %z"}</time></td></tr>
- {/if}
- {if $project->GetCloneUrl()}
- <tr><td>{t}clone url{/t}</td><td><a href="{$project->GetCloneUrl()}" rel="nofollow">{$project->GetCloneUrl()}</a></td></tr>
- {/if}
- {if $project->GetPushUrl()}
- <tr><td>{t}push url{/t}</td><td><a href="{$project->GetPushUrl()}" rel="nofollow">{$project->GetPushUrl()}</a></td></tr>
- {/if}
- {if $project->GetWebsite()}
- <tr><td>{t}website{/t}</td><td><a href="{$project->GetWebsite()}" rel="nofollow">{$project->GetWebsite()}</a></td></tr>
- {/if}
- </table>
- {if !$head}
- {include file='title.tpl' target='shortlog' disablelink=true}
- {else}
- {include file='title.tpl' target='shortlog'}
- {/if}
- {include file='shortloglist.tpl' source='summary'}
-
- {if $taglist}
-
- {include file='title.tpl' target='tags'}
- {include file='taglist.tpl' source=summary}
-
- {/if}
- {if $headlist}
- {include file='title.tpl' target='heads'}
- {include file='headlist.tpl' source=summary}
- {/if}
- {/block}
|