mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:35:03 +01:00 
			
		
		
		
	Refactor vue delimeters to use es6 template delimeters (#2171)
This commit is contained in:
		
							parent
							
								
									0b177574c9
								
							
						
					
					
						commit
						047a67a90b
					
				| @ -1649,7 +1649,7 @@ function initDashboardSearch() { | ||||
|     } | ||||
| 
 | ||||
|     new Vue({ | ||||
|         delimiters: ['<%', '%>'], | ||||
|         delimiters: ['${', '}'], | ||||
|         el: el, | ||||
| 
 | ||||
|         data: { | ||||
|  | ||||
| @ -33,9 +33,9 @@ | ||||
| 							<li v-for="repo in repos" :class="{'private': repo.private}"> | ||||
| 								<a :href="'{{AppSubUrl}}/' + repo.full_name"> | ||||
| 									<i :class="repoClass(repo)"></i> | ||||
| 									<strong class="text truncate item-name"><% repo.full_name %></strong> | ||||
| 									<strong class="text truncate item-name">${ repo.full_name }</strong> | ||||
| 									<span class="ui right text light grey"> | ||||
| 										<% repo.stars_count %> <i class="octicon octicon-star rear"></i> | ||||
| 										${ repo.stars_count } <i class="octicon octicon-star rear"></i> | ||||
| 									</span> | ||||
| 								</a> | ||||
| 							</li> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user