74 Commits

Author SHA1 Message Date
Eric Lippmann
037bcc4b3e Don't show flexible twice for not yet started flexible downtimes 2019-07-15 10:11:52 +02:00
Eric Lippmann
0fb034b663 Require time output for dowtime end/expire times 2019-07-15 10:11:52 +02:00
Eric Lippmann
b5bfd0c620 Show expire time for flexbile downtimes where missing 2019-07-15 10:11:52 +02:00
Eric Lippmann
fe3a51937a Show downtime schedule times before creation time 2019-07-11 13:10:58 +02:00
Eric Lippmann
ba6b8c04ec Always show downtime schedule times 2019-07-11 13:07:30 +02:00
Johannes Meyer
d4cf7a8ec4 monitoring: Transform markdown markup in comments
refs #3684
refs #3441
2019-06-25 15:04:04 +02:00
Alexander A. Klimov
31aad4d3f5 Show every downtime's type in the detail view of a monitored object
refs #2693
2017-02-14 18:13:28 +01:00
Eric Lippmann
2292010a15 Display downtime end even if it hasn't been started yet
resolves #12764
2016-12-09 13:47:21 +01:00
Eric Lippmann
067de6b7f4 Set comment and downtime name in the detail views 2016-09-08 15:15:53 +02:00
Alexander A. Klimov
af3abb76c8 Render simple HTML links (a[href]) in acknowledgements, comments and downtimes
refs #10654
2016-02-16 14:55:27 +01:00
Eric Lippmann
9c467ebfa3 monitoring: Use View::nl2br() for downtimes in the detail area
refs #10603
2015-11-20 15:48:23 +01:00
Eric Lippmann
8d9c0ca69e monitoring: Update comment-list styles in components/downtime.phtml 2015-11-20 15:48:00 +01:00
Eric Lippmann
c0bc2e267e monitoring: Don't use str_replace for nl2br and escape comments before creating ticket links 2015-11-03 10:40:03 +01:00
Eric Lippmann
a8a87d27eb CSS: Rename remove-comment to remove-action
refs #5543
2015-10-28 09:56:50 +01:00
Eric Lippmann
0b332bba22 monitoring: Use comment-list markup for downtimes instead of feed-list
refs #5543
2015-10-28 09:41:21 +01:00
Eric Lippmann
08ab0befcd CSS: compat.less and monitoring detail
refs #5543
2015-10-01 16:31:25 +02:00
Eric Lippmann
3f33cd72c6 monitoring/CSS: Use action-link on schedule downtime links
refs #5543
2015-09-24 18:00:03 +02:00
Alexander Fuhr
72cf023bf8 donwtime/view: Fix condition statement
refs #9266
2015-08-10 12:32:15 +02:00
Alexander Fuhr
073d695c94 downtime/views: Fix the wrong time for flexible downtime
refs #9266
2015-08-10 12:15:26 +02:00
Alexander Fuhr
c88f0c7e37 downtime/views: Use ends instead of started ...
refs #9266
2015-08-10 10:58:21 +02:00
Eric Lippmann
688a08585b Merge branch 'master' into bugfix/error-prone-generictts-9611
Conflicts:
	modules/monitoring/application/views/scripts/show/components/downtime.phtml
2015-08-03 15:05:45 +02:00
Eric Lippmann
d8e6418e94 monitoring: Fix code style in the show/components/downtime.phtml view script
refs #9611
2015-08-03 15:03:31 +02:00
Alexander Fuhr
a63b69f4a1 components/downtime: Add downtime end time information in view
fixes #8845
2015-08-03 13:44:41 +02:00
Alexander Fuhr
8860181bcc Revert "components/downtime: Add downtime end time information in view"
This reverts commit 863330e50d3aa79baed55915f237bb028e10be70.

refs #8845
2015-08-03 13:42:11 +02:00
Alexander Fuhr
1652f1e1ae Revert "components/downtime: Add the missing php script tag"
This reverts commit 95ea0e616dc418feda46cd4adb2022a94eaef8e3.

refs #8845
2015-08-03 13:41:40 +02:00
Alexander Fuhr
95ea0e616d components/downtime: Add the missing php script tag
refs #8845
2015-08-03 13:05:41 +02:00
Alexander Fuhr
863330e50d components/downtime: Add downtime end time information in view
fixes #8845
2015-08-03 12:37:09 +02:00
Eric Lippmann
d5e2f92aa9 monitoring: Use createTicketLinks helper when showing downtimes of an object
refs #9611
2015-08-03 11:00:46 +02:00
Thomas Gelf
171b1d84ef object/show: make downtimes look like comments
refs #8281
2015-06-18 14:57:58 +02:00
Eric Lippmann
54577d04bd Merge branch 'master' into bugfix/time-formatting-6778
Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/hostgroups.phtml
	modules/monitoring/application/views/scripts/process/info.phtml
	modules/monitoring/application/views/scripts/show/components/downtime.phtml
	modules/monitoring/application/views/scripts/show/components/notifications.phtml
	modules/monitoring/public/css/module.less
2015-05-21 14:57:01 +02:00
Eric Lippmann
9ffeffdf09 Show when an object's dowtime was added
refs #6778
2015-05-18 14:39:36 +02:00
Eric Lippmann
e49f938f56 Use timeSince and timeUntil when displaying object downtimes
refs #6778
2015-05-18 14:33:49 +02:00
Matthias Jentsch
b35dd4ddfe Separate forms for deleting single and multiple comments
refs #8624
2015-05-07 14:03:09 +02:00
Matthias Jentsch
a46dece136 Provie link to detail view in downtime partial
refs #8902
2015-05-07 10:34:06 +02:00
Johannes Meyer
894457a1c1 Revert "Adjust command links so that they'll use host_name' instead of host'"
This reverts commit b9aee47d1f44893ef953bf9168e21f368b95ed7f.

Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-04-20 16:11:08 +02:00
Johannes Meyer
9bbb23ae7d Revert "Adjust command links so that they'll use `service_description'"
This reverts commit cee189a5fc2b94173eda5587ab5a5ce4125a06d0.

Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-04-20 16:08:51 +02:00
Johannes Meyer
9ef414c9ed Add separator when listing downtimes in the detail view
fixes #9046
2015-04-14 09:20:43 +02:00
Johannes Meyer
1c32d8ebe5 DowntimeQuery: Add _name suffix to the query column `downtime_author'
...to indicate that it's a case-sensitive column.

refs #8613
2015-04-10 14:23:05 +02:00
Johannes Meyer
cee189a5fc Adjust command links so that they'll use `service_description'
...instead of `service'

refs #8613
2015-04-09 10:28:34 +02:00
Johannes Meyer
b9aee47d1f Adjust command links so that they'll use host_name' instead of host'
refs #8613
2015-04-09 10:27:41 +02:00
Johannes Meyer
99610bc1bd Avoid sub-tables when showing comments or downtimes in the detail view
fixes #8625
2015-03-13 08:32:50 +01:00
Eric Lippmann
8563d5ed3f PHPDoc: Use @var instead of @type
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +01:00
Johannes Meyer
8e8bab0795 Do only escape a qlink's label manually if necessary 2015-02-24 11:35:25 +01:00
Johannes Meyer
0d8bf462f5 Add proper titles to the downtime component view
refs #8458
2015-02-23 17:27:45 +01:00
Johannes Meyer
5321c2f9e5 Mute icons properly using the new automatic mechanisms of our view helpers
refs #8360
2015-02-16 10:52:42 +01:00
Johannes Meyer
9232c5cf22 Add aria-hidden="true" to all icons that exist only for design reasons
refs #8360
2015-02-12 13:49:31 +01:00
Johannes Meyer
c19ff289bf Open command forms in the same column where their link is located
refs #8279
2015-01-28 13:02:37 +01:00
Eric Lippmann
3cb2dd0e8b monitoring/security: Hide 'Acknowledge' link if user lacks the respective permission 2015-01-23 11:01:47 +01:00
Eric Lippmann
af2698b075 monitoring: Do not generate 'Schedule downtime' and 'Add comment' links if user lacks the respective permissions 2015-01-23 10:15:55 +01:00
Eric Lippmann
d07e1329e8 monitoring: Use nl2br instead of str_replace for downtime comment and comment text 2015-01-23 09:45:43 +01:00