diff options
author | Unknwon <u@gogs.io> | 2016-07-16 12:45:13 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-07-16 12:45:13 +0800 |
commit | 971e2c3bd6a63a9d75ee7b222b8ec1716f47fbb6 (patch) | |
tree | 8010e3196c794357d7b410ede0554c374c5c80b9 /templates/user | |
parent | c083d7656794ec0b4d856994daddd27e98841d70 (diff) | |
download | gitea-971e2c3bd6a63a9d75ee7b222b8ec1716f47fbb6.tar.gz gitea-971e2c3bd6a63a9d75ee7b222b8ec1716f47fbb6.zip |
Upgrade octicon to 4.3.0
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/dashboard/dashboard.tmpl | 16 | ||||
-rw-r--r-- | templates/user/dashboard/navbar.tmpl | 2 | ||||
-rw-r--r-- | templates/user/profile.tmpl | 16 |
3 files changed, 17 insertions, 17 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index eb4d7542ca..f04cd6af3b 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -29,10 +29,10 @@ {{range .Repos}} <li {{if .IsPrivate}}class="private"{{end}}> <a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}"> - <i class="icon octicon octicon-{{if .IsFork}}repo-forked{{else if .IsPrivate}}lock{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i> + <i class="octicon octicon-{{if .IsFork}}repo-forked{{else if .IsPrivate}}lock{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i> <strong class="text truncate item-name">{{.Name}}</strong> <span class="ui right text light grey"> - <i class="octicon octicon-star"></i>{{.NumStars}} + {{.NumStars}} <i class="octicon octicon-star rear"></i> </span> </a> </li> @@ -49,12 +49,12 @@ {{range .CollaborativeRepos}} <li {{if .IsPrivate}}class="private"{{end}}> <a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}"> - <i class="icon octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i> + <i class="octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i> <span class="text truncate owner-and-repo"> <span class="text truncate owner-name">{{.Owner.Name}}</span> / <strong>{{.Name}}</strong> </span> <span class="ui right text light grey"> - <i class="octicon octicon-star"></i>{{.NumStars}} + {{.NumStars}} <i class="octicon octicon-star rear"></i> </span> </a> </li> @@ -80,10 +80,10 @@ {{range .ContextUser.Orgs}} <li> <a href="{{AppSubUrl}}/{{.Name}}"> - <i class="icon octicon octicon-organization"></i> + <i class="octicon octicon-organization"></i> <strong class="text truncate item-name">{{.Name}}</strong> <span class="ui right text light grey"> - <i class="octicon octicon-repo"></i>{{.NumRepos}} + {{.NumRepos}} <i class="octicon octicon-repo rear"></i> </span> </a> </li> @@ -108,10 +108,10 @@ {{range .Mirrors}} <li {{if .IsPrivate}}class="private"{{end}}> <a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}"> - <i class="icon octicon octicon-repo-clone"></i> + <i class="octicon octicon-repo-clone"></i> <strong class="text truncate item-name">{{.Name}}</strong> <span class="ui right text light grey"> - <i class="octicon octicon-sync"></i>{{.Interval}}H + {{.Interval}}H <i class="octicon octicon-sync rear"></i> </span> </a> </li> diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index 094bca5247..ff05b15155 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -22,7 +22,7 @@ {{end}} </div> <a class="item" href="{{AppSubUrl}}/org/create"> - <i class="octicon octicon-repo-create"></i> {{.i18n.Tr "new_org"}} + <i class="octicon octicon-plus"></i> {{.i18n.Tr "new_org"}} </a> </div> </div> diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index b2e6814047..8f68e932cb 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -20,23 +20,23 @@ <div class="extra content"> <ul class="text black"> {{if .Owner.Location}} - <li><i class="icon octicon octicon-location"></i> {{.Owner.Location}}</li> + <li><i class="octicon octicon-location"></i> {{.Owner.Location}}</li> {{end}} {{if and .Owner.Email .IsSigned}} <li> - <i class="icon octicon octicon-mail"></i> + <i class="octicon octicon-mail"></i> <a href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a> </li> {{end}} {{if .Owner.Website}} <li> - <i class="icon octicon octicon-link"></i> + <i class="octicon octicon-link"></i> <a target="_blank" href="{{.Owner.Website}}">{{.Owner.Website}}</a> </li> {{end}} - <li><i class="icon octicon octicon-clock"></i> {{.i18n.Tr "user.join_on"}} {{DateFmtShort .Owner.Created}}</li> + <li><i class="octicon octicon-clock"></i> {{.i18n.Tr "user.join_on"}} {{DateFmtShort .Owner.Created}}</li> <li> - <i class="icon octicon octicon-person"></i> + <i class="octicon octicon-person"></i> <a href="{{.Owner.HomeLink}}/followers"> {{.Owner.NumFollowers}} {{.i18n.Tr "user.followers"}} </a> @@ -47,7 +47,7 @@ </li> {{/* <li> - <i class="icon octicon octicon-star"></i> + <i class="octicon octicon-star"></i> <a href="{{.Owner.HomeLink}}/stars"> {{.Owner.NumStars}} {{.i18n.Tr "user.starred"}} </a> @@ -76,11 +76,11 @@ <div class="ui eleven wide column"> <div class="ui secondary pointing menu"> <a class="{{if ne .TabName "activity"}}active{{end}} item" href="{{.Owner.HomeLink}}"> - <i class="icon octicon octicon-repo"></i> {{.i18n.Tr "user.repositories"}} + <i class="octicon octicon-repo"></i> {{.i18n.Tr "user.repositories"}} </a> <a class="item"> <a class="{{if eq .TabName "activity"}}active{{end}} item" href="{{.Owner.HomeLink}}?tab=activity"> - <i class="icon octicon octicon-rss"></i> {{.i18n.Tr "user.activity"}} + <i class="octicon octicon-rss"></i> {{.i18n.Tr "user.activity"}} </a> </a> </div> |