mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	#3408 minor code fix
This commit is contained in:
		@@ -485,7 +485,7 @@ issues.commit_ref_at = `referenced this issue from a commit <a id="%[1]s" href="
 | 
				
			|||||||
issues.poster = Poster
 | 
					issues.poster = Poster
 | 
				
			||||||
issues.collaborator = Collaborator
 | 
					issues.collaborator = Collaborator
 | 
				
			||||||
issues.owner = Owner
 | 
					issues.owner = Owner
 | 
				
			||||||
issues.sign_in_require_desc = Sign in to comment
 | 
					issues.sign_in_require_desc = <a href="%s">Sign in</a> to join this conversation.
 | 
				
			||||||
issues.edit = Edit
 | 
					issues.edit = Edit
 | 
				
			||||||
issues.cancel = Cancel
 | 
					issues.cancel = Cancel
 | 
				
			||||||
issues.save = Save
 | 
					issues.save = Save
 | 
				
			||||||
 
 | 
				
			|||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -637,7 +637,7 @@ func ViewIssue(ctx *context.Context) {
 | 
				
			|||||||
	ctx.Data["NumParticipants"] = len(participants)
 | 
						ctx.Data["NumParticipants"] = len(participants)
 | 
				
			||||||
	ctx.Data["Issue"] = issue
 | 
						ctx.Data["Issue"] = issue
 | 
				
			||||||
	ctx.Data["IsIssueOwner"] = ctx.Repo.IsWriter() || (ctx.IsSigned && issue.IsPoster(ctx.User.ID))
 | 
						ctx.Data["IsIssueOwner"] = ctx.Repo.IsWriter() || (ctx.IsSigned && issue.IsPoster(ctx.User.ID))
 | 
				
			||||||
	ctx.Data["SignInLink"] = setting.AppSubUrl + "/user/login"
 | 
						ctx.Data["SignInLink"] = setting.AppSubUrl + "/user/login?redirect_to=" + ctx.Data["Link"].(string)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ctx.Data["RequireHighlightJS"] = true
 | 
						ctx.Data["RequireHighlightJS"] = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -227,7 +227,7 @@
 | 
				
			|||||||
				</div>
 | 
									</div>
 | 
				
			||||||
			{{else}}
 | 
								{{else}}
 | 
				
			||||||
				<div class="ui warning message">
 | 
									<div class="ui warning message">
 | 
				
			||||||
					<a href="{{.SignInLink}}">{{.i18n.Tr "repo.issues.sign_in_require_desc" | Safe}}</a>
 | 
										{{.i18n.Tr "repo.issues.sign_in_require_desc" .SignInLink | Safe}}
 | 
				
			||||||
				</div>
 | 
									</div>
 | 
				
			||||||
			{{end}}
 | 
								{{end}}
 | 
				
			||||||
		</ui>
 | 
							</ui>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user