dellcloudedge/barclamp-crowbar — pull request #306 by dpaterson (2012-12-19 18:28:00+00:00)
Title: Slight change to form rendering and localization. [1/1]

Make a couple changes to make the form box not render when not in dev mode. This was an oversight in my past pull request. Also made some localization corrections.

bin/barclamp_lib.rb | 5 +
bin/crowbar_users | 203 +++++++++
crowbar_framework/BDD/attribute.erl | 4 +-
crowbar_framework/BDD/barclamp.erl | 4 +-
crowbar_framework/BDD/bdd_restrat.erl | 44 ++-
crowbar_framework/BDD/bdd_webrat.erl | 1 -
crowbar_framework/BDD/crowbar.erl | 10 +-
crowbar_framework/BDD/default.config | 1 +
crowbar_framework/BDD/eurl.erl | 3 +
crowbar_framework/BDD/features/users.feature | 120 +++++-
crowbar_framework/BDD/linux_compile.sh | 1 +
crowbar_framework/BDD/simple_auth.erl | 468 ++++++++++----------
crowbar_framework/BDD/users.erl | 203 +++++++--
.../app/assets/stylesheets/_common.sass | 3 +
.../app/assets/stylesheets/_tables.sass | 15 +
.../app/controllers/application_controller.rb | 11 +-
.../app/controllers/barclamp_controller.rb | 2 +
.../app/controllers/users_controller.rb | 299 ++++++++++++--
crowbar_framework/app/models/crowbar_service.rb | 5 +-
crowbar_framework/app/models/user.rb | 37 +-
crowbar_framework/app/models/user_service.rb | 193 ++++++++
.../app/views/devise/passwords/new.html.haml | 3 +
.../app/views/devise/registrations/edit.html.haml | 2 +-
.../app/views/devise/registrations/new.html.haml | 3 +-
.../app/views/devise/sessions/new.html.haml | 2 +-
.../app/views/layouts/application.html.haml | 2 +-
crowbar_framework/app/views/users/_form.html.haml | 28 ++
.../app/views/users/_form_reset_password.html.haml | 18 +
crowbar_framework/app/views/users/index.html.haml | 106 +++--
crowbar_framework/config/initializers/devise.rb | 4 +-
crowbar_framework/config/locales/crowbar/en.yml | 26 +-
crowbar_framework/config/locales/en.yml | 4 +-
crowbar_framework/config/routes.rb | 43 ++-
33 files changed, 1472 insertions(+), 401 deletions(-)

Crowbar-Pull-ID: 564c0397dec36d451d822ed57437af9aed8d8857

Crowbar-Release: development