summaryrefslogtreecommitdiff
path: root/res/menu
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-05-09 17:29:38 +0200
committerParménides GV <parmegv@sdf.org>2013-05-09 17:29:38 +0200
commit84a11bb1620d2b9080992427c847b58007f2304a (patch)
treeaa6522b67def74ff8627d1cc73a33fcd17f7efdb /res/menu
parentfb5e26c2ff4f95dd826a3ce3545865ac4388b711 (diff)
Log in and Log out options are shown only if allow registration is true.
Allow registration is present in provider.json. Provider.json is downloaded from both preseeded and custom providers. Authentication success or fail is notified correctly to the user.
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/client_dashboard.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/menu/client_dashboard.xml b/res/menu/client_dashboard.xml
index fffd4e23..a8eaf795 100644
--- a/res/menu/client_dashboard.xml
+++ b/res/menu/client_dashboard.xml
@@ -7,6 +7,7 @@
android:title="@string/menu_settings"/>
<item android:id="@+id/about_leap" android:title="@string/about" android:orderInCategory="110" />
<item android:id="@+id/legacy_interface" android:title="ICS OpenVPN Interface" android:orderInCategory="500" />
- <item android:id="@+id/login_button" android:title="@string/login_button" android:visible="true"></item>
+ <item android:id="@+id/login_button" android:title="@string/login_button" android:visible="false"></item>
+ <item android:id="@+id/logout_button" android:title="@string/logout_button" android:visible="false"></item>
</menu> \ No newline at end of file