1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 21:45:08 +01:00
gitea/templates/repo/diff/stats.tmpl

5 lines
356 B
Go HTML Template
Raw Normal View History

{{Add .file.Addition .file.Deletion}}
<span class="diff-stats-bar poping up ml-2" data-content="{{.root.i18n.Tr "repo.diff.stats_desc_file" (Add .file.Addition .file.Deletion) .file.Addition .file.Deletion | Str2html}}" data-variation="wide">
<div class="diff-stats-add-bar" style="width: {{DiffStatsWidth .file.Addition .file.Deletion}}%"></div>
</span>