Browse Source

Adding hilighting type and lines count to file view header

pull/4300/head
brian.paulson 8 years ago
parent
commit
38c50834ec
  1. 2
      templates/repo/view_file.tmpl

2
templates/repo/view_file.tmpl

@ -2,7 +2,7 @@
<h4 class="ui top attached header" id="{{if .ReadmeExist}}repo-readme{{else}}repo-read-file{{end}}"> <h4 class="ui top attached header" id="{{if .ReadmeExist}}repo-readme{{else}}repo-read-file{{end}}">
{{if .ReadmeExist}} {{if .ReadmeExist}}
<i class="book icon ui left"></i> <i class="book icon ui left"></i>
{{if .ReadmeInList}} {{if or (.ReadmeInList) (not .LineCount)}}
<strong>{{.FileName}}</strong> <strong>{{.FileName}}</strong>
{{else}} {{else}}
<div class="ui large breadcrumb"> <div class="ui large breadcrumb">

Loading…
Cancel
Save