mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-03 03:56:18 -04:00
Add description to monitor
* Add description to monitor model * Add description field to database * Add english and spanish translation for description * Closes: #482
This commit is contained in:
parent
5bc68d7f3b
commit
934d633d4d
10 changed files with 26 additions and 0 deletions
|
@ -568,6 +568,7 @@ exports.entryPage = "dashboard";
|
|||
}
|
||||
|
||||
bean.name = monitor.name;
|
||||
bean.description = monitor.description;
|
||||
bean.type = monitor.type;
|
||||
bean.url = monitor.url;
|
||||
bean.method = monitor.method;
|
||||
|
@ -1134,6 +1135,7 @@ exports.entryPage = "dashboard";
|
|||
let monitor = {
|
||||
// Define the new variable from earlier here
|
||||
name: monitorListData[i].name,
|
||||
description: monitorListData[i].description,
|
||||
type: monitorListData[i].type,
|
||||
url: monitorListData[i].url,
|
||||
method: monitorListData[i].method || "GET",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue