X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=www%2Fgadgets%2Fsitemonitor.py;h=a52fec514ac97764187ecb496fabb3b82ecf190e;hb=b548c69db3d1f302b4d0d08377f0231eb3c4fd58;hp=e92a9cccef8b9484163bfd37c29d04de9b4f7750;hpb=c45664eb22df318b596ed6c079ee84c66cdbc941;p=monitor.git
diff --git a/www/gadgets/sitemonitor.py b/www/gadgets/sitemonitor.py
index e92a9cc..a52fec5 100755
--- a/www/gadgets/sitemonitor.py
+++ b/www/gadgets/sitemonitor.py
@@ -102,6 +102,7 @@ def main():
if form.has_key('loginbase'):
loginbase = form.getvalue('loginbase')
+ loginbase = loginbase.rstrip("_")
else:
loginbase = "undefined"
@@ -114,7 +115,10 @@ def main():
r = TR()
if loginbase not in lb2hn:
- value = ("Select 'Edit settings' to enter your Site's loginbase.", "")
+ value = ("""Select 'Edit settings' to enter your Site's loginbase.
+ The loginbase is the unchangable portion of your slicename.
+ For instance, your slice follows the pattern loginbase_slicename.
+ If this hint is unclear, then you can find your loginbase by visiting 'My Site' at 'PlanetLab.org'""", "")
r = TR(TD(value[0]))
t.append(r)
else: