diff options
author | Yarden Shoham <git@yardenshoham.com> | 2023-05-10 10:37:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 07:37:10 +0000 |
commit | de7dcc7cd9c28422a2fdd58d10e72a80c7930703 (patch) | |
tree | a5b11e6cbdae361d6a5d65f290c09014503af707 /web_src/js | |
parent | cf1a7b08eb5d453b42f450c7aaf71e634cab71ed (diff) | |
download | gitea-de7dcc7cd9c28422a2fdd58d10e72a80c7930703.tar.gz gitea-de7dcc7cd9c28422a2fdd58d10e72a80c7930703.zip |
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>
Diffstat (limited to 'web_src/js')
-rw-r--r-- | web_src/js/components/RepoActionView.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index 91da5385bf..a58ca1b364 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -36,7 +36,7 @@ <span class="ui text gt-mx-3">{{ job.name }}</span> </a> <span class="step-summary-duration">{{ job.duration }}</span> - <button class="job-brief-rerun" @click="rerunJob(index)" v-if="job.canRerun"> + <button :data-tooltip-content="locale.rerun" class="job-brief-rerun" @click="rerunJob(index)" v-if="job.canRerun"> <SvgIcon name="octicon-sync" class="ui text black"/> </button> </div> |