mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Order file actions equal to GitHub (#6706)
This commit is contained in:
		@@ -18,6 +18,7 @@
 | 
			
		||||
				{{if not .ReadmeInList}}
 | 
			
		||||
					<div class="ui right file-actions">
 | 
			
		||||
						<div class="ui buttons">
 | 
			
		||||
							<a class="ui button" href="{{EscapePound $.RawFileLink}}">{{.i18n.Tr "repo.file_raw"}}</a>
 | 
			
		||||
							{{if not .IsViewCommit}}
 | 
			
		||||
								<a class="ui button" href="{{.RepoLink}}/src/commit/{{.CommitID}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_permalink"}}</a>
 | 
			
		||||
							{{end}}
 | 
			
		||||
@@ -25,7 +26,6 @@
 | 
			
		||||
								<a class="ui button" href="{{.RepoLink}}/blame/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.blame"}}</a>
 | 
			
		||||
							{{end}}
 | 
			
		||||
							<a class="ui button" href="{{.RepoLink}}/commits/{{EscapePound .BranchNameSubURL}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.file_history"}}</a>
 | 
			
		||||
							<a class="ui button" href="{{EscapePound $.RawFileLink}}">{{.i18n.Tr "repo.file_raw"}}</a>
 | 
			
		||||
						</div>
 | 
			
		||||
						{{if .Repository.CanEnableEditor}}
 | 
			
		||||
							{{if .CanEditFile}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user