mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	@@ -527,18 +527,15 @@
 | 
			
		||||
			{{ if and .IsRepoAdmin (not .Repository.IsArchived) }}
 | 
			
		||||
			<div class="ui divider"></div>
 | 
			
		||||
			<div class="ui watching">
 | 
			
		||||
				<div>
 | 
			
		||||
					<button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
 | 
			
		||||
							{{if .Issue.IsLocked}}
 | 
			
		||||
								{{svg "octicon-key"}}
 | 
			
		||||
								{{.i18n.Tr "repo.issues.unlock"}}
 | 
			
		||||
							{{else}}
 | 
			
		||||
								{{svg "octicon-lock"}}
 | 
			
		||||
								{{.i18n.Tr "repo.issues.lock"}}
 | 
			
		||||
							{{end}}
 | 
			
		||||
						</button>
 | 
			
		||||
					</form>
 | 
			
		||||
				</div>
 | 
			
		||||
				<button class="fluid ui show-modal button {{if .Issue.IsLocked }} negative {{ end }}" data-modal="#lock">
 | 
			
		||||
					{{if .Issue.IsLocked}}
 | 
			
		||||
						{{svg "octicon-key"}}
 | 
			
		||||
						{{.i18n.Tr "repo.issues.unlock"}}
 | 
			
		||||
					{{else}}
 | 
			
		||||
						{{svg "octicon-lock"}}
 | 
			
		||||
						{{.i18n.Tr "repo.issues.lock"}}
 | 
			
		||||
					{{end}}
 | 
			
		||||
				</button>
 | 
			
		||||
			</div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user