master
ブランチ master
LittleBeast / view / gitler / blame.maron
948 B、20行 生 Blame 履歴
1{@ include(common/header) @}
2{@ include(gitler/repohead) @}
3{@ include(gitler/refbar) @}
4 <div class="gl-filebar"><span>Blame</span><span><a href="{{ $blobUrl }}">ファイル</a></span></div>
5 <div class="gl-code">
6 <table class="gl-lines gl-blame">
7 <tbody>
8{@ foreach ($groups as $g) @}
9{@ foreach ($g['lines'] as $j => $l) @}
10 <tr{{{ $j === 0 ? ' class="gl-blame-start"' : '' }}}>
11 <td class="gl-blame-info">{@ if ($j === 0) @}<a href="{{ $g['commit']['url'] }}" title="{{ $g['commit']['subject'] }}">{{ mb_strimwidth($g['commit']['subject'], 0, 40, '…') }}</a><br /><small>{{ $g['commit']['author'] }}、{{ $g['commit']['date'] }}</small>{@ endif @}</td>
12 <td class="gl-ln">{{ $l['n'] }}</td>
13 <td class="gl-src">{{ $l['text'] }}</td>
14 </tr>
15{@ endforeach @}
16{@ endforeach @}
17 </tbody>
18 </table>
19 </div>
20{@ include(common/footer) @}