Module: check_mk
Branch: master
Commit: aeb8ea491c8edf0e30ee762c7bf8917b01bf7535
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aeb8ea491c8edf…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jul 4 11:07:32 2012 +0200
Mobile hint is now a prefix
---
.bugs/776 | 8 +++++++-
web/htdocs/views.py | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.bugs/776 b/.bugs/776
index 04bc4c5..32bb77a 100644
--- a/.bugs/776
+++ b/.bugs/776
@@ -1,6 +1,6 @@
Title: Link for Column in view editor shows duplicate views
Component: multisite
-State: open
+State: done
Date: 2012-06-20 14:07:19
Targetversion: 1.2.0
Class: nastiness
@@ -14,3 +14,9 @@ and put those at the bottom of the ist.
Also Only show view that have at least on "hide"-Filter.
Views without a context are not useful for linking.
+
+2012-07-04 11:06:55: changed state open -> done
+has just been fixed
+
+2012-07-04 11:07:03: changed state done -> done
+has just been fixed
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index b0856ac..bc14920 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -434,7 +434,7 @@ def select_view(varname, only_with_hidden = False):
for name, view in html.available_views.items():
if not only_with_hidden or len(view["hide_filters"]) > 0:
if view.get('mobile', False):
- title = view["title"] + _(' (Mobile)')
+ title = _('Mobile: ') + view["title"]
else:
title = view["title"]
choices.append(("%s" % name, title))