aboutsummaryrefslogtreecommitdiff
path: root/templates/user/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r--templates/user/dashboard/dashboard.tmpl2
-rw-r--r--templates/user/dashboard/issues.tmpl8
-rw-r--r--templates/user/dashboard/navbar.tmpl8
3 files changed, 9 insertions, 9 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index 6dd3ccb9..b9a5d340 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -42,7 +42,7 @@
{{end}}
{{if gt .ContextUser.NumRepos .MaxShowRepoNum}}
<li>
- <a href="{{.ContextUser.HomeLink}}">{{.i18n.Tr "home.show_more_repos"}}</a>
+ <a href="{{.ContextUser.HomeURLPath}}">{{.i18n.Tr "home.show_more_repos"}}</a>
</li>
{{end}}
</ul>
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index b1b6f602..2efada37 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -73,7 +73,7 @@
{{if .NumComments}}
<span class="comment ui right"><i class="octicon octicon-comment"></i> {{.NumComments}}</span>
{{end}}
-
+
<div>
<span class="ui right">
{{range .Labels}}
@@ -83,10 +83,10 @@
</div>
<p class="desc">
- {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}}
+ {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeURLPath .Poster.Name | Safe}}
{{if .Assignee}}
- <a class="ui right assignee poping up" href="{{.Assignee.HomeLink}}" data-content="{{.Assignee.Name}}" data-variation="inverted" data-position="left center">
- <img class="ui avatar image" src="{{.Assignee.RelAvatarLink}}">
+ <a class="ui right assignee poping up" href="{{.Assignee.HomeURLPath}}" data-content="{{.Assignee.Name}}" data-variation="inverted" data-position="left center">
+ <img class="ui avatar image" src="{{.Assignee.AvatarURLPath}}">
</a>
{{end}}
</p>
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl
index 3ba9f2c2..5a97e1bb 100644
--- a/templates/user/dashboard/navbar.tmpl
+++ b/templates/user/dashboard/navbar.tmpl
@@ -1,7 +1,7 @@
<div class="ui container">
<div class="ui floating dropdown link jump">
<span class="text">
- <img class="ui avatar image" src="{{.ContextUser.RelAvatarLink}}">
+ <img class="ui avatar image" src="{{.ContextUser.AvatarURLPath}}">
{{.ContextUser.ShortName 20}}
<i class="dropdown icon"></i>
</span>
@@ -11,12 +11,12 @@
</div>
<div class="items">
<a class="{{if eq .ContextUser.ID .LoggedUser.ID}}active selected{{end}} item" href="{{AppSubURL}}/{{if .PageIsIssues}}issues{{else if .PageIsPulls}}pulls{{end}}">
- <img class="ui avatar image" src="{{.LoggedUser.RelAvatarLink}}">
+ <img class="ui avatar image" src="{{.LoggedUser.AvatarURLPath}}">
{{.LoggedUser.Name}}
</a>
{{range .Orgs}}
<a class="{{if eq $.ContextUser.ID .ID}}active selected{{end}} item" href="{{AppSubURL}}/org/{{.Name}}/{{if $.PageIsIssues}}issues{{else if $.PageIsPulls}}pulls{{else}}dashboard{{end}}">
- <img class="ui avatar image" src="{{.RelAvatarLink}}">
+ <img class="ui avatar image" src="{{.AvatarURLPath}}">
{{.ShortName 20}}
</a>
{{end}}
@@ -41,7 +41,7 @@
</a>
<div class="right menu">
<div class="item">
- <a class="ui blue basic button" href="{{.ContextUser.HomeLink}}">
+ <a class="ui blue basic button" href="{{.ContextUser.HomeURLPath}}">
{{.i18n.Tr "home.view_home" (.ContextUser.ShortName 10)}}
</a>
</div>