Module: check_mk
Branch: master
Commit: 282f81baed4cbe2d83e36b93af217d3eceaa929c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=282f81baed4cbe…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 24 14:21:20 2012 +0100
WATO host tag management: replaced text button with icon button
---
web/htdocs/wato.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index c8232a4..d185b4c 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -7602,7 +7602,6 @@ def mode_hosttags(phase):
"<th>" + _("Type") +
"</th>"
"<th>" + _("Choices") +
"</th>"
"<th>" + _("Demonstration") +
"</th>"
- "<th></th>"
"</tr>")
odd = "even"
for nr, (tag_id, title, choices) in enumerate(hosttags):
@@ -7621,6 +7620,7 @@ def mode_hosttags(phase):
else:
html.icon_button(html.makeactionuri([("_move", str(nr))]),
_("Move this tag group one position down"),
"down")
+ html.icon_button(edit_url, _("Edit this tag group"),
"edit")
html.icon_button(delete_url, _("Delete this tag group"),
"delete")
html.write("</td>")
html.write("<td>%s</td>" % tag_id)
@@ -7632,9 +7632,6 @@ def mode_hosttags(phase):
host_attribute["tag_%s" % tag_id].render_input(None)
html.end_form()
html.write("</td>")
- html.write("<td class=buttons>")
- html.buttonlink(edit_url, _("Edit"))
- html.write("</td>")
html.write("</tr>")
html.write("</table>")