1234567891011121314151617181920 |
- {*
- * blamedata.tpl
- * gitphp: A PHP git repository browser
- * Component: Blame data column template
- *
- * Copyright (C) 2010 Christopher Han <xiphux@gmail.com>
- *}
- {foreach from=$blob->GetData(true) item=blobline name=blob}
- {assign var=blamecommit value=$blame[$smarty.foreach.blob.iteration]}
- {if $blamecommit}
- {if $opened}</div>{/if}
- <div class="{cycle values="light,dark"}">
- {assign var=opened value=true}
- <a href="{geturl project=$project action=commit hash=$blamecommit}" title="{$blamecommit->GetTitle()|escape}" class="commitTip"><time datetime="{$blamecommit->GetAuthorEpoch()|date_format:"%Y-%m-%dT%H:%M:%S+00:00"}">{$blamecommit->GetAuthorEpoch()|date_format:"%Y-%m-%d %H:%M:%S"}</time></a>
- {$blamecommit->GetAuthorName()|escape}
- {/if}
- <br />
- {/foreach}
- {if $opened}</div>{/if}
|