Move titlebar to component template
[gitphp.git] / templates / blame.tpl
blob:a/templates/blame.tpl -> blob:b/templates/blame.tpl
--- a/templates/blame.tpl
+++ b/templates/blame.tpl
@@ -19,21 +19,9 @@
     | blame
    <br />
  </div>
- <div class="title">
-   <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hashbase->GetHash()}" class="title">{$hashbase->GetTitle()}</a>
-   <span class="refs">
-   {foreach from=$hashbase->GetHeads() item=hashhead}
-     <span class="head">
-       <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=shortlog&h=refs/heads/{$hashhead->GetName()}">{$hashhead->GetName()}</a>
-     </span>
-   {/foreach}
-   {foreach from=$hashbase->GetTags() item=hashtag}
-     <span class="tag">
-       <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=tag&h={$hashtag->GetName()}">{$hashtag->GetName()}</a>
-     </span>
-   {/foreach}
-   </span>
- </div>
+
+ {include file='title.tpl' titlecommit=$hashbase}
+ 
  <div class="page_path">
    {* The path to the file, with directories broken into tree links *}
    <b>

comments