aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/issue
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/new_form.tmpl4
-rw-r--r--templates/repo/issue/view_content.tmpl8
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl
index 2bbb81bb..d3f9f710 100644
--- a/templates/repo/issue/new_form.tmpl
+++ b/templates/repo/issue/new_form.tmpl
@@ -8,8 +8,8 @@
<div class="twelve wide column">
<div class="ui comments">
<div class="comment">
- <a class="avatar" href="{{.SignedUser.HomeLink}}">
- <img src="{{.SignedUser.RelAvatarLink}}">
+ <a class="avatar" href="{{.LoggedUser.HomeLink}}">
+ <img src="{{.LoggedUser.RelAvatarLink}}">
</a>
<div class="ui segment content">
<div class="field">
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index 2bb40409..88f66ef9 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -79,7 +79,7 @@
{{end}}
</div>
{{end}}
- {{if or $.IsRepositoryAdmin (eq .Poster.ID $.SignedUserID)}}
+ {{if or $.IsRepositoryAdmin (eq .Poster.ID $.LoggedUserID)}}
<div class="item action">
<a class="edit-content" href="#"><i class="octicon octicon-pencil"></i></a>
<a class="delete-comment" href="#" data-comment-id={{.HashTag}} data-url="{{$.RepoLink}}/comments/{{.ID}}/delete" data-locale="{{$.i18n.Tr "repo.issues.delete_comment_confirm"}}"><i class="octicon octicon-x"></i></a>
@@ -216,10 +216,10 @@
</div>
{{end}}
- {{if .IsSigned}}
+ {{if .IsLogged}}
<div class="comment form">
- <a class="avatar" href="{{.SignedUser.HomeLink}}">
- <img src="{{.SignedUser.RelAvatarLink}}">
+ <a class="avatar" href="{{.LoggedUser.HomeLink}}">
+ <img src="{{.LoggedUser.RelAvatarLink}}">
</a>
<div class="content">
<form class="ui segment form" id="comment-form" action="{{$.RepoLink}}/issues/{{.Issue.Index}}/comments" method="post">