Properly call blob info box for binary file blame Also include a message indicating that blame is not available, so this page is distinguishable from the normal file detail page. Change-Id: Iddb71f85b5cfa481e0beb0181dee9cc3dac93787
diff --git a/gitiles-servlet/src/main/resources/com/google/gitiles/templates/BlameDetail.soy b/gitiles-servlet/src/main/resources/com/google/gitiles/templates/BlameDetail.soy index 109a442..f64368e 100644 --- a/gitiles-servlet/src/main/resources/com/google/gitiles/templates/BlameDetail.soy +++ b/gitiles-servlet/src/main/resources/com/google/gitiles/templates/BlameDetail.soy
@@ -76,7 +76,12 @@ </div> {else} {call .header data="all" /} - {call .blobDetail data="all" /} + {call .blobDetail data="$data" /} + <div class="file-binary"> + {msg desc="blame not available for binary file"} + No blame information available + {/msg} + </div> {/if} {call .footer /}