File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -157,12 +157,12 @@ type Repository struct {
157
157
Units []* RepoUnit `xorm:"-"`
158
158
PrimaryLanguage * LanguageStat `xorm:"-"`
159
159
160
- IsFork bool `xorm:"INDEX NOT NULL DEFAULT false"`
161
- ForkID int64 `xorm:"INDEX"`
162
- BaseRepo * Repository `xorm:"-"`
163
- IsTemplate bool `xorm:"INDEX NOT NULL DEFAULT false"`
164
- TemplateID int64 `xorm:"INDEX"`
165
- // the size of git repository directory itself, not include lfs/package/attachment size
160
+ IsFork bool `xorm:"INDEX NOT NULL DEFAULT false"`
161
+ ForkID int64 `xorm:"INDEX"`
162
+ BaseRepo * Repository `xorm:"-"`
163
+ IsTemplate bool `xorm:"INDEX NOT NULL DEFAULT false"`
164
+ TemplateID int64 `xorm:"INDEX"`
165
+ // the size of git repository directory itself, not include lfs/package/attachment size
166
166
Size int64 `xorm:"NOT NULL DEFAULT 0"`
167
167
LFSSize int64 `xorm:"NOT NULL DEFAULT 0"`
168
168
CodeIndexerStatus * RepoIndexerStatus `xorm:"-"`
Original file line number Diff line number Diff line change 27
27
<span class="icon">{{svg "octicon-repo"}}</span>
28
28
{{end}}
29
29
<a class="name" href="{{$repo.Link}}">{{$repo.OwnerName}}/{{$repo.Name}}</a>
30
- <span {{if not (eq $repo.LFSSize 0)}}title ="git: {{FileSize $repo.Size}}, lfs: {{FileSize $repo.LFSSize}}"{{end}}>
30
+ <span class="ui {{if not (eq $repo.LFSSize 0)}} tooltip{{end}}"{{if not (eq $repo.LFSSize 0)}} data-content ="git: {{FileSize $repo.Size}}, lfs: {{FileSize $repo.LFSSize}}"{{end}}>
31
31
{{FileSize (Add $repo.Size $repo.LFSSize)}}
32
32
</span>
33
33
{{if $repo.IsFork}}
You can’t perform that action at this time.
0 commit comments