File tree 3 files changed +8
-0
lines changed
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -582,6 +582,7 @@ email_notifications.submit = Set Email Preference
582
582
owner = Owner
583
583
repo_name = Repository Name
584
584
repo_name_helper = Good repository names use short, memorable and unique keywords.
585
+ repo_size = Repository Size
585
586
template = Template
586
587
template_select = Select a template.
587
588
template_helper = Make repository a template
Original file line number Diff line number Diff line change 15
15
<label for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label>
16
16
<input id="repo_name" name="repo_name" value="{{.Repository.Name}}" data-repo-name="{{.Repository.Name}}" autofocus required>
17
17
</div>
18
+ <div class="inline field">
19
+ <label>{{.i18n.Tr "repo.repo_size"}}</label>
20
+ <span>{{SizeFmt .Repository.Size}}</span>
21
+ </div>
18
22
<div class="inline field">
19
23
<label>{{.i18n.Tr "repo.template"}}</label>
20
24
<div class="ui checkbox">
Original file line number Diff line number Diff line change 9
9
<div class="item{{if .PageIsBranches}} active{{end}}">
10
10
<a class="ui" href="{{.RepoLink}}/branches/"><i class="octicon octicon-git-branch"></i> <b>{{.BranchesCount}}</b> {{.i18n.Tr (TrN .i18n.Lang .BranchesCount "repo.branch" "repo.branches") }}</a>
11
11
</div>
12
+ <div class="item">
13
+ <a class="ui" href="#"><i class="octicon octicon-database"></i> <b>{{SizeFmt .Repository.Size}}</b></a>
14
+ </div>
12
15
{{end}}
13
16
</div>
14
17
</div>
You can’t perform that action at this time.
0 commit comments