Browse Source

Add a tooltip to the 'confirmation link' label

Fixes: #436
pull/456/head
Pēteris Caune 4 years ago
parent
commit
71d7b46379
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 10 additions and 1 deletions
  1. +5
    -0
      CHANGELOG.md
  2. +5
    -1
      static/js/checks.js

+ 5
- 0
CHANGELOG.md View File

@ -1,6 +1,11 @@
# Changelog # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## v1.18.0-dev - Unreleased
## Improvements
- Add a tooltip to the 'confirmation link' label (#436)
## v1.17.0 - 2020-10-14 ## v1.17.0 - 2020-10-14
## Improvements ## Improvements


+ 5
- 1
static/js/checks.js View File

@ -67,6 +67,11 @@ $(function () {
return false; return false;
}); });
$(".last-ping").tooltip({
selector: ".label-confirmation",
title: 'The word "confirm" found in request body'
});
function applyFilters() { function applyFilters() {
// Make a list of currently checked tags: // Make a list of currently checked tags:
var checked = []; var checked = [];
@ -177,7 +182,6 @@ $(function () {
$(this).removeClass("confirm").tooltip("hide"); $(this).removeClass("confirm").tooltip("hide");
}); });
$('[data-toggle="tooltip"]').tooltip({ $('[data-toggle="tooltip"]').tooltip({
html: true, html: true,
container: "body", container: "body",


Loading…
Cancel
Save