diff options
author | silverwind <me@silverwind.io> | 2021-09-08 08:23:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 07:23:46 +0100 |
commit | bc81d12e68d16458fea4ee024c0168c2f33db1e6 (patch) | |
tree | 3fc1937313f0c85e095fbab22e5816088fb5a746 /templates/repo | |
parent | 63d7cbcef13b4eb719a5749a1a79361461c77135 (diff) | |
download | gitea-bc81d12e68d16458fea4ee024c0168c2f33db1e6.tar.gz gitea-bc81d12e68d16458fea4ee024c0168c2f33db1e6.zip |
Disable Fomantic's CSS tooltips (#16974)
CSS-only tooltips suffer various issues with positioning and there was
only one single instance of them in the templates. Replace that instance
with a regular popup and exclude these `data-tooltip` styles from the
Fomantic build.
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/settings/options.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 688966d523..3a44661123 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -170,7 +170,7 @@ {{$address := MirrorRemoteAddress .}} <td>{{$address.Address}}</td> <td>{{$.i18n.Tr "repo.settings.mirror_settings.direction.push"}}</td> - <td>{{if .LastUpdateUnix}}{{.LastUpdateUnix.AsTime}}{{else}}{{$.i18n.Tr "never"}}{{end}} {{if .LastError}}<div class="ui red label" data-tooltip="{{.LastError}}">{{$.i18n.Tr "error"}}</div>{{end}}</td> + <td>{{if .LastUpdateUnix}}{{.LastUpdateUnix.AsTime}}{{else}}{{$.i18n.Tr "never"}}{{end}} {{if .LastError}}<div class="ui red label poping up" data-content="{{.LastError}}">{{$.i18n.Tr "error"}}</div>{{end}}</td> <td class="right aligned"> <form method="post" style="display: inline-block"> {{$.CsrfTokenHtml}} |