icon from rule editor
Message-ID: <50d98aea.UrXVdGu+GTD478Mm%mk(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: 51e4ab29ecad555c9cff993008f6206037f8ea04
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=51e4ab29ecad55…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 25 12:15:09 2012 +0100
WATO: removed mostly useless "Home" icon from rule editor
---
web/htdocs/wato.py | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index cf5f598..548c510 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -9781,7 +9781,6 @@ def mode_edit_ruleset(phase):
"<th>" + _("Folder") +
"</th>"
"<th>" + _("Value") +
"</th>"
"<th>" + _("Conditions") +
"</th>"
- "<th></th>" # Several icons
"</tr>\n")
odd = "odd"
@@ -9921,19 +9920,6 @@ def mode_edit_ruleset(phase):
render_conditions(rulespec, tag_specs, host_list, item_list, varname,
folder)
html.write("</td>")
- # Icons
- html.write("<td>")
- # "this folder"
- if not hostname and folder == g_folder:
- title = _("This rule is defined in the current folder.")
- html.write('<img title="%s" class=icon
src="images/icon_localrule.png">' % title)
- elif hostname and hostname in host_list:
- title = _("This rule contains an exception for the host %s." %
hostname)
- html.write('<img title="%s" class=icon
src="images/icon_localrule.png">' % title)
- else:
- html.write('<img src="images/icon_trans.png"
class=icon>')
-
- html.write("</td>")
rel_rulenr += 1
html.write('</table>')