master
ブランチ master
LittleBeast / view / gitler / refbar.maron
764 B、23行 生 Blame 履歴
1 <div class="gl-refbar">
2 <details class="gl-refs">
3 <summary>{{ $shortRef }}</summary>
4 <div>
5 <b>ブランチ</b>
6{@ foreach ($branches as $b) @}
7 <a href="{{ $refUrl($b) }}"{{{ $b === $ref ? ' class="active"' : '' }}}>{{ $b }}</a>
8{@ endforeach @}
9{@ if (!empty($tags)) @}
10 <b>タグ</b>
11{@ foreach ($tags as $t) @}
12 <a href="{{ $refUrl($t) }}"{{{ $t === $ref ? ' class="active"' : '' }}}>{{ $t }}</a>
13{@ endforeach @}
14{@ endif @}
15 </div>
16 </details>
17 <span class="gl-crumbs">
18 <a href="{{ $treeRoot }}">{{ $name }}</a>
19{@ foreach ($crumbs as $c) @}
20 / <a href="{{ $c['url'] }}">{{ $c['name'] }}</a>
21{@ endforeach @}
22 </span>
23 </div>