1234567891011121314151617181920212223 |
- {*
- * Refbadges
- *
- * Ref badges template
- *
- * @author Christopher Han <xiphux@gmail.com>
- * @copyright Copyright (c) 2010 Christopher Han
- * @package GitPHP
- * @subpackage Template
- *}
- <span class="refs">
- {foreach from=$commit->GetHeads() item=commithead}
- <span class="head">
- <a href="{geturl project=$project action=shortlog hash=$commithead}">{$commithead->GetName()}</a>
- </span>
- {/foreach}
- {foreach from=$commit->GetTags() item=committag}
- <span class="tag">
- <a href="{geturl project=$project action=tag tag=$committag}" {if !$committag->LightTag()}class="tagTip"{/if}>{$committag->GetName()}</a>
- </span>
- {/foreach}
- </span>
|