mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Merge branch 'main' into lunny/automerge_support_delete_branch
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| <script lang="ts"> | ||||
| import {createApp, nextTick} from 'vue'; | ||||
| import $ from 'jquery'; | ||||
| import {SvgIcon} from '../svg.ts'; | ||||
| import {GET} from '../modules/fetch.ts'; | ||||
| import {fomanticQuery} from '../modules/fomantic/base.ts'; | ||||
|  | ||||
| const {appSubUrl, assetUrlPrefix, pageData} = window.config; | ||||
|  | ||||
| @@ -102,7 +102,7 @@ const sfc = { | ||||
|   mounted() { | ||||
|     const el = document.querySelector('#dashboard-repo-list'); | ||||
|     this.changeReposFilter(this.reposFilter); | ||||
|     $(el).find('.dropdown').dropdown(); | ||||
|     fomanticQuery(el.querySelector('.ui.dropdown')).dropdown(); | ||||
|     nextTick(() => { | ||||
|       this.$refs.search.focus(); | ||||
|     }); | ||||
| @@ -471,7 +471,7 @@ export default sfc; // activate the IDE's Vue plugin | ||||
|           <li class="tw-flex tw-items-center tw-py-2" v-for="org in organizations" :key="org.name"> | ||||
|             <a class="repo-list-link muted" :href="subUrl + '/' + encodeURIComponent(org.name)"> | ||||
|               <svg-icon name="octicon-organization" :size="16" class-name="repo-list-icon"/> | ||||
|               <div class="text truncate">{{ org.name }}</div> | ||||
|               <div class="text truncate">{{ org.full_name ? `${org.full_name} (${org.name})` : org.name }}</div> | ||||
|               <div><!-- div to prevent underline of label on hover --> | ||||
|                 <span class="ui tiny basic label" v-if="org.org_visibility !== 'public'"> | ||||
|                   {{ org.org_visibility === 'limited' ? textOrgVisibilityLimited: textOrgVisibilityPrivate }} | ||||
|   | ||||
| @@ -21,7 +21,7 @@ import { | ||||
| import {chartJsColors} from '../utils/color.ts'; | ||||
| import {sleep} from '../utils.ts'; | ||||
| import 'chartjs-adapter-dayjs-4/dist/chartjs-adapter-dayjs-4.esm'; | ||||
| import $ from 'jquery'; | ||||
| import {fomanticQuery} from '../modules/fomantic/base.ts'; | ||||
|  | ||||
| const customEventListener = { | ||||
|   id: 'customEventListener', | ||||
| @@ -77,7 +77,7 @@ export default { | ||||
|   mounted() { | ||||
|     this.fetchGraphData(); | ||||
|  | ||||
|     $('#repo-contributors').dropdown({ | ||||
|     fomanticQuery('#repo-contributors').dropdown({ | ||||
|       onChange: (val) => { | ||||
|         this.xAxisMin = this.xAxisStart; | ||||
|         this.xAxisMax = this.xAxisEnd; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user