Permalink
Commits on Feb 25, 2012
  1. Completely refactored the menu system to work with i18n

    Menu's are now generated on demand using the MenuBuilder instead of
    being created as the resources are registered. MenuItem can now store
    labels as procs, which allows us to properly i18n all the menu labels
    at runtime.
    
    ActiveAdmin::Resource's are now in charge of building their own MenuItem
    objects.
    
    The controller now stores the instance of the currently selected tab in
    @current_tag instead of just a string label.
    gregbell committed Feb 24, 2012
  2. Revert "Add two pending tests to unit/resource/naming_spec"

    This reverts commit 2907c0f.
    ahx committed with gregbell Dec 27, 2011
  3. Fix translation template

    ahx committed with gregbell Dec 27, 2011
  4. Refactor Resource::Naming and use translations only in the html (fixes

    …#820)
    
    * Resource#resource_name now returns a ActiveModel::Name
    * Add Resource#resource_label and #plural_resource_label to return a (human readable) label
    * ActiveAdmin.register Post, :as => "Super Post" would change #resource_label to to "Super Post" and #resource_name to "SuperPost"
    * The routes are longer translated
    * Use resource_label instead of resource_name in the html
    * Add feature
    ahx committed with gregbell Dec 7, 2011
  5. Merge pull request #1069 from fenelon/patch-1

    Update lib/active_admin/locales/ru.yml
    committed Feb 25, 2012
  6. Merge pull request #1067 from carnesmedia/print_styles

    Print stylesheet
    committed Feb 25, 2012
Commits on Feb 24, 2012
  1. Removing deprecated .scopes styling; hiding .table_tools except for a…

    …ny currently selected scope
    nathancarnes committed Feb 24, 2012
  2. Hiding .table_tools in print output; removing bottom borders from fie…

    …ldset and .panel :last-child(ren)
    nathancarnes committed Feb 24, 2012
  3. Merge pull request #1063 from jancel/34_maintain_backwards_compatibility

    Fix string vs integer comparison on postgres.
    pcreux committed Feb 24, 2012
Commits on Feb 23, 2012
Commits on Feb 22, 2012
  1. Merge pull request #1038 from gregbell/patch-1019

    Do not singularize model class name when generating resource
    gregbell committed Feb 22, 2012
Commits on Feb 21, 2012
  1. Merge pull request #1056 from marcusmateus/helpers_on_precompile

    Fix for #474: Loads AA SASS helpers in railtie to enable precompile w/o initialization
    gregbell committed Feb 21, 2012
  2. Get the view factory from the namespace.

    Within the config, each namespace can initialize its own view factory
    which makes it trivial to have different views depending on the current
    namespace. Documentation coming soon :)
    gregbell committed Feb 21, 2012
  3. Merge pull request #1058 from scrooloose/fix_substitution

    fix a bug in AA::Inputs::FilterSelectInput#method
    pcreux committed Feb 21, 2012
  4. fix a bug in AA::Inputs::FilterSelectInput#method

    This method takes something like "author_id" and returns "author". It
    was failing for the edge case "external_identity_id" because of the
    extra "_id" in the middle of the string - i.e. it was returning
    "externalentity".
    
    Change the way the substitution is done so that it only matches at the
    end of the string.
    scrooloose committed Feb 21, 2012
  5. Loads AA SASS helpers in railtie to enable precompile w/o initialization

     * Also removed loading in application.rb since already loaded
    marcusmateus committed Feb 21, 2012
  6. Bumped version to 0.4.2

    gregbell committed Feb 21, 2012