Skip to content

Commit de7dcc7

Browse files
authored
Add a tooltip to the job rerun button (#24617)
This one doesn't look very good as a real button (at least not in the ways I tried), so I've opted to simply add a tooltip for it. # Before ![image](https://github.com/go-gitea/gitea/assets/20454870/05afe362-b914-42ce-9db3-e3471bc6ec4b) # After ![image](https://github.com/go-gitea/gitea/assets/20454870/c99c88d4-bf43-46b0-911e-9ea17ff6977e) Signed-off-by: Yarden Shoham <git@yardenshoham.com>
1 parent cf1a7b0 commit de7dcc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/components/RepoActionView.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<span class="ui text gt-mx-3">{{ job.name }}</span>
3737
</a>
3838
<span class="step-summary-duration">{{ job.duration }}</span>
39-
<button class="job-brief-rerun" @click="rerunJob(index)" v-if="job.canRerun">
39+
<button :data-tooltip-content="locale.rerun" class="job-brief-rerun" @click="rerunJob(index)" v-if="job.canRerun">
4040
<SvgIcon name="octicon-sync" class="ui text black"/>
4141
</button>
4242
</div>

0 commit comments

Comments
 (0)