mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 16:38:37 +00:00
fix
This commit is contained in:
parent
ff36248419
commit
52959c988c
|
@ -2,7 +2,10 @@
|
||||||
<div class="panel-heading file-head">
|
<div class="panel-heading file-head">
|
||||||
{{if .ReadmeExist}}
|
{{if .ReadmeExist}}
|
||||||
<i class="icon fa fa-book"></i>
|
<i class="icon fa fa-book"></i>
|
||||||
|
{{.FileName}}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
<i class="icon fa fa-file-text-o"></i>
|
||||||
|
{{.FileName}} {{FileSize .FileSize}}
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
<a class="btn btn-default hidden" href="#">Edit</a>
|
<a class="btn btn-default hidden" href="#">Edit</a>
|
||||||
<a class="btn btn-default" href="{{.FileLink}}">Raw</a>
|
<a class="btn btn-default" href="{{.FileLink}}">Raw</a>
|
||||||
|
@ -10,8 +13,7 @@
|
||||||
<a class="btn btn-default hidden" href="#">History</a>
|
<a class="btn btn-default hidden" href="#">History</a>
|
||||||
<a class="btn btn-danger hidden" href="#">Delete</a>
|
<a class="btn btn-danger hidden" href="#">Delete</a>
|
||||||
</div>
|
</div>
|
||||||
<i class="icon fa fa-file-text-o"></i>
|
{{end}}
|
||||||
{{end}}{{.FileName}} {{FileSize .FileSize}}
|
|
||||||
</div>
|
</div>
|
||||||
{{if not .FileIsText}}
|
{{if not .FileIsText}}
|
||||||
<div class="panel-footer text-center">
|
<div class="panel-footer text-center">
|
||||||
|
|
Loading…
Reference in a new issue