Module: check_mk
Branch: master
Commit: bd5cec12a881d21692e293df434dc3e7942c878e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bd5cec12a881d2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Oct 29 09:41:36 2015 +0100
Changed default bookmark icon
---
web/plugins/sidebar/shipped.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index e3b7b7d..9a5fa8f 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -1215,8 +1215,9 @@ function add_bookmark() {
for bookmark in bookmarks:
icon = bookmark["icon"]
if not icon:
- icon = "kreversi"
+ icon = "kdict"
+ # FIXME: Use standard rendering functions
linktext = '<img class=iconlink
src="images/icons/%s.png">%s' % \
(html.attrencode(icon), html.attrencode(bookmark["title"]))
html.write('<a target=main class="iconlink link"
href="%s">%s</a><br>' % \
@@ -1225,8 +1226,7 @@ function add_bookmark() {
html.end_foldable_container()
begin_footnote_links()
- html.write("<a href=\"javascript:void(0)\" "
- "onclick=\"add_bookmark()\">%s</a>" %
_('Add Bookmark'))
+ html.write(link(_("Add Bookmark"), "javascript:void(0)",
onclick="add_bookmark()"))
html.write(link(_("EDIT"), "bookmark_lists.py"))
end_footnote_links()