diff options
author | Parménides GV <parmegv@sdf.org> | 2013-05-09 17:29:38 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-05-09 17:29:38 +0200 |
commit | 84a11bb1620d2b9080992427c847b58007f2304a (patch) | |
tree | aa6522b67def74ff8627d1cc73a33fcd17f7efdb /res | |
parent | fb5e26c2ff4f95dd826a3ce3545865ac4388b711 (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')
-rw-r--r-- | res/menu/client_dashboard.xml | 3 | ||||
-rwxr-xr-x | res/values/strings.xml | 1 |
2 files changed, 3 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 diff --git a/res/values/strings.xml b/res/values/strings.xml index eac73bc7..03de1ee8 100755 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -269,6 +269,7 @@ <string name="password_ask">Enter your password</string> <string name="log_in_button">Log in</string> <string name="login_button">Log In</string> + <string name="logout_button">Log Out</string> <string name="danger_checkbox">Trust completely</string> </resources>
\ No newline at end of file |