master
ブランチ master
LittleBeast / view / gitler / pullfiles.maron
1.4 KB、24行 生 Blame 履歴
1{@ include(common/header) @}
2{@ include(gitler/repohead) @}
3{@ include(gitler/pullhead) @}
4{@ if ($stats !== null) @}
5 <p>{{ $stats['files'] }}個のファイル、<span class="gl-add">+{{ $stats['add'] }}</span> <span class="gl-del">-{{ $stats['del'] }}</span>{{ $stats['truncated'] ? '(多過ぎるので途中まで)' : '' }}</p>
6{@ endif @}
7{@ if ($canReview) @}
8 <details class="gl-edit gl-reviewform"{{{ $pending > 0 ? ' open="open"' : '' }}}>
9 <summary>レビューを出す{{ $pending > 0 ? '(下書きのコメント'.$pending.'件)' : '' }}</summary>
10 <form method="post" action="{{ $filesUrl }}" class="gl-form">
11 <input type="hidden" name="csrf_token" value="{{ $csrf }}" />
12 <textarea name="body" rows="4" placeholder="まとめ(Markdown)"></textarea>
13 <label><input type="radio" name="state" value="commented" checked="checked" /> コメント</label>
14{@ if ($canApprove) @}
15 <label><input type="radio" name="state" value="approved" /> 承認</label>
16 <label><input type="radio" name="state" value="changes" /> 変更を依頼</label>
17{@ endif @}
18 <button name="do" value="review">レビューを出す</button>
19 </form>
20 </details>
21 <p class="gl-muted"><small>行番号を押すとその行にコメント出来ます。</small></p>
22{@ endif @}
23{@ include(gitler/diffs) @}
24{@ include(common/footer) @}