From 971e2c3bd6a63a9d75ee7b222b8ec1716f47fbb6 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 16 Jul 2016 12:45:13 +0800 Subject: Upgrade octicon to 4.3.0 --- templates/repo/branch_dropdown.tmpl | 2 +- templates/repo/header.tmpl | 18 +++++++++--------- templates/repo/home.tmpl | 4 ++-- templates/repo/release/list.tmpl | 4 ++-- templates/repo/user_cards.tmpl | 6 +++--- templates/repo/view_list.tmpl | 6 +++--- templates/repo/wiki/pages.tmpl | 2 +- 7 files changed, 21 insertions(+), 21 deletions(-) (limited to 'templates/repo') diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl index b97e504c86..5eb123241e 100644 --- a/templates/repo/branch_dropdown.tmpl +++ b/templates/repo/branch_dropdown.tmpl @@ -18,7 +18,7 @@
- {{.i18n.Tr "repo.branches"}} + {{.i18n.Tr "repo.branches"}} diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 1293fa4310..d9ac29fbf9 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -10,7 +10,7 @@
/
{{.Name}} {{if .IsMirror}}
{{$.i18n.Tr "repo.mirror_from"}} {{$.Mirror.Address}}
{{end}} - {{if .IsFork}}
{{$.i18n.Tr "repo.forked_from"}} {{SubStr .BaseRepo.RepoRelLink 1 -1}}
{{end}} + {{if .IsFork}}
{{$.i18n.Tr "repo.forked_from"}} {{SubStr .BaseRepo.RelLink 1 -1}}
{{end}}
@@ -33,7 +33,7 @@ {{if .CanBeForked}}
- {{$.i18n.Tr "repo.fork"}} + {{$.i18n.Tr "repo.fork"}} {{.NumForks}} @@ -50,33 +50,33 @@
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index cc12f18e03..f2cdfc1ca3 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -54,10 +54,10 @@

{{$.i18n.Tr "repo.release.downloads"}}

diff --git a/templates/repo/user_cards.tmpl b/templates/repo/user_cards.tmpl index 98b811d50e..6abbe5a185 100644 --- a/templates/repo/user_cards.tmpl +++ b/templates/repo/user_cards.tmpl @@ -12,11 +12,11 @@
{{if .Website}} - {{.Website}} + {{.Website}} {{else if .Location}} - {{.Location}} + {{.Location}} {{else}} - {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} + {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} {{end}}
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 4db9e39057..82fd5c92d9 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -20,7 +20,7 @@ {{if .HasParentPath}} - .. + .. {{end}} {{range $item := .Files}} @@ -29,7 +29,7 @@ {{if $entry.IsSubModule}} - + {{$refURL := $commit.RefURL AppUrl $.BranchLink}} {{if $refURL}} {{$entry.Name}} @ {{ShortSha $commit.RefID}} @@ -39,7 +39,7 @@ {{else}} - + {{$entry.Name}} {{end}} diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 602a49cb74..1cfbddce5a 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -13,7 +13,7 @@ {{range .Pages}} - + {{.Name}} {{$timeSince := TimeSince .Updated $.Lang}} -- cgit v1.2.3