74 Commits

Author SHA1 Message Date
Johannes Meyer
28a8771a37 components/comments.phtml: Use base target _next only for comment links 2022-02-07 14:47:03 +01:00
Ravi Kumar Kempapura Srinivasa
be3a722a28 Compress comment detail in Hosts detail and Comments list. 2021-10-07 10:44:10 +02:00
Alexander A. Klimov
6af1e5d43b Monitoring: add expire option for comments
refs #3447
2020-11-30 17:24:57 +01:00
Johannes Meyer
d4cf7a8ec4 monitoring: Transform markdown markup in comments
refs #3684
refs #3441
2019-06-25 15:04:04 +02:00
Florian Strohmaier
b722f6e178 Replace icon comment w/ comment-empty
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:49 +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
74b715e3d2 monitoring: Use View::nl2br() for comments in the detail view
refs #10603
2015-11-20 15:46:34 +01:00
Eric Lippmann
2c5defed5b monitoring: Update comment-list styles in components/comments.phtml 2015-11-20 15:46:08 +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
ec9e6152cf Reduce style variety for comments
refs #5543
2015-10-27 16:05:43 +01:00
Eric Lippmann
9efdc149d8 monitoring: Style ack and comments in the host and service detail views
refs #5543
2015-10-01 02:58:29 +02:00
Eric Lippmann
7b66a61a41 monitoring: Use dl for inline comments in the host and service detail
refs #5543
2015-09-25 10:58:45 +02:00
Eric Lippmann
e782fcb859 monitoring/CSS: Use action-link on add comment links
refs #5543
2015-09-24 17:58:33 +02:00
Eric Lippmann
0809caa86b monitoring: Fix indent in the show/components/comments.phtml view script
refs #9611
2015-08-03 15:03:02 +02:00
Eric Lippmann
a379a448d9 monitoring: Fix code style in the show/components/comments.phtml view script
refs #9611
2015-08-03 10:58:57 +02:00
Eric Lippmann
b6caeb6c17 monitoring: Use createTicketLinks helper when showing comments of an object
refs #9611
2015-08-03 10:53:51 +02:00
Thomas Gelf
59ef6ff71a monitoring/show: choose fitting header tags 2015-06-16 00:35:32 +02:00
Thomas Gelf
6e1ba30acc Styling: re-organize and style comments 2015-06-03 15:35:50 +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
13a38c9d18 Revert "Add new line between comment author and creation time in the detail views"
This reverts commit 229e266daf4d57a1052ff69ecb132575bcd40941.

The new line does not help for improving the layout but makes it more confusing.
2015-05-18 14:36:35 +02:00
Matthias Jentsch
b314c074cc Fix downtime and comment form redirects
refs #8624
2015-05-07 16:20:59 +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
Eric Lippmann
796cbffbd7 Merge branch 'master' into bugfix/time-formatting-6778
Conflicts:
	modules/monitoring/application/views/scripts/show/components/notifications.phtml
2015-04-15 15:43:39 +02:00
Eric Lippmann
229e266daf Add new line between comment author and creation time in the detail views
refs #6778
2015-04-15 15:40:40 +02:00
Eric Lippmann
e500715bda Use timeAgo() when displaying comments in the detail views
refs #6778
2015-04-15 15:33:44 +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
9793bd52c7 Add proper titles to the comments component view
refs #8458
2015-02-23 17:27:13 +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
Eric Lippmann
67be1b329b monitoring/security: Hide 'Add comment' link if user lacks the respective permission 2015-01-23 09:41:06 +01:00
Eric Lippmann
a19c155d9f monitoring/security: Hide delete comment action if user lacks the respective permission 2015-01-22 17:33:20 +01:00
Bernd Erk
20be45e8da Enable icon font 2014-11-13 20:08:58 +01:00
Eric Lippmann
8afdc3db1a monitoring: Replace show partials calls to getHost() and getService() with getName() 2014-09-17 09:48:30 +02:00
Eric Lippmann
9b5c1f06d0 monitoring/commands: Let detail snippets use the new command forms
refs #6593
2014-09-12 16:52:45 +02:00
Johannes Meyer
dc8181cdc5 Escape linefeeds and carriage returns in commands and show them as html
fixes #6088
2014-08-14 10:23:04 +02:00
Thomas Gelf
51c57520ad iconSubmitForm: replace with labelSubmitForm
There is no way in ZF to have an input[type=submit] with an unescaped
label ( = value). I temporarily replaced all iconSubmitForms with
inputs labelled with "X" - as all we used them for were delete
operations.
2014-06-23 14:42:26 +02:00
Thomas Gelf
851bea0725 One more _self-targetting form 2014-03-25 08:03:12 +00:00
Thomas Gelf
b5b4d276d1 Add more structure to host and service details 2014-03-21 18:56:55 +00:00
Thomas Gelf
63fd074a4f Comments are still messy, clean up and fix adding / removing them 2014-03-09 19:29:23 +01:00