~bac/charms/precise/juju-gui/support-constraints

Viewing all changes in revision 158.

  • Committer: Francesco Banconi
  • Date: 2014-02-03 16:59:15 UTC
  • mfrom: (157.1.2 use-env-name)
  • Revision ID: francesco.banconi@canonical.com-20140203165915-i4jx2ynf3sf2p7uc
Add jenv file path to the GUI login help text.

Change the GUI login message to give exact 
jenv file to look in for the admin secret, if
the environment name is available in the hook's
context.

Tests: `make unittest`.

QA:
1) bootstrap a stable juju-core;
2) deploy this branch with `make deploy`;
3) open the GUI: the login message should point
   you generically to the path where to find
   the jenv files;
4) destroy the environment;

5) bootstrap juju-core trunk (at least revno 2289);
6) deploy this branch with `make deploy`;
7) open the GUI: the login message should point you
   to the exact path to the jenv file;

8) now execute "juju set juju-gui login-help=HELP!",
   and wait a couple of seconds;
9) open the GUI again and you should see the new message;
10) destroy the environment.

Done, thank you!

R=gary.poster
CC=
https://codereview.appspot.com/59560044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: