mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Fix flash of unstyled content in action view page (#24712)
# Before  # After  Ref: https://github.com/go-gitea/gitea/issues/24625 Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		| @@ -2,7 +2,7 @@ | |||||||
|     Please also update the template file above if this vue is modified. |     Please also update the template file above if this vue is modified. | ||||||
| --> | --> | ||||||
| <template> | <template> | ||||||
|   <span :data-tooltip-content="localeStatus"> |   <span :data-tooltip-content="localeStatus" v-if="status"> | ||||||
|     <SvgIcon name="octicon-check-circle-fill" class="text green" :size="size" :class-name="className" v-if="status === 'success'"/> |     <SvgIcon name="octicon-check-circle-fill" class="text green" :size="size" :class-name="className" v-if="status === 'success'"/> | ||||||
|     <SvgIcon name="octicon-skip" class="text grey" :size="size" :class-name="className" v-else-if="status === 'skipped'"/> |     <SvgIcon name="octicon-skip" class="text grey" :size="size" :class-name="className" v-else-if="status === 'skipped'"/> | ||||||
|     <SvgIcon name="octicon-clock" class="text yellow" :size="size" :class-name="className" v-else-if="status === 'waiting'"/> |     <SvgIcon name="octicon-clock" class="text yellow" :size="size" :class-name="className" v-else-if="status === 'waiting'"/> | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ | |||||||
|       <div class="action-commit-summary"> |       <div class="action-commit-summary"> | ||||||
|         {{ run.commit.localeCommit }} |         {{ run.commit.localeCommit }} | ||||||
|         <a :href="run.commit.link">{{ run.commit.shortSHA }}</a> |         <a :href="run.commit.link">{{ run.commit.shortSHA }}</a> | ||||||
|          <span class="ui label"> |          <span class="ui label" v-if="run.commit.shortSHA"> | ||||||
|           <a :href="run.commit.branch.link">{{ run.commit.branch.name }}</a> |           <a :href="run.commit.branch.link">{{ run.commit.branch.name }}</a> | ||||||
|         </span> |         </span> | ||||||
|          {{ run.commit.localePushedBy }} |          {{ run.commit.localePushedBy }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user