Permalink
Commits on Dec 5, 2012
  1. pass at trying to fix gemspec

    committed Dec 5, 2012
Commits on Feb 25, 2010
  1. add `extend_region` helper for extension partials to more easily add …

    …to regions
    
    Example:
    
      - extend_region :thead do |thead|
        - include_stylesheet 'admin/extra_styles'
        - thead.custom_header do
          %th.custom Custom
    
    As before, this requires that the partial (and "custom_header" section from
    this example) is added to the corresponding parts of the admin UI in the
    `#activate` method of the extension.
    committed Feb 25, 2010
  2. Expose `region_name` to partials which hook into multiple regions

    An extension can hook its view partial to multiple points in the admin UI:
    
      ## in MyExtension#activate
      admin.user.index[:thead].unshift 'users/index_extras'
      admin.user.index.add :thead, 'created_at_header', :after => 'roles_header'
      admin.user.index[:tbody].unshift 'users/index_extras'
      admin.user.index.add :tbody, 'created_at_cell', :after => 'roles_cell'
    
    Knowing the region name, the partial can adjust its output depending on
    the context. Here the extension changes user names to be displayed in
    uppercase caps and adds another column to the users overview table. It
    also pushes a custom stylesheet onto the stylesheets stack.
    
      ## in views/users/_index_extras.html.haml
      - if :thead == region_name
        - include_stylesheet 'admin/my_extension_extras'
        - defaults.created_at_header do
          %th.created_at Created at
    
      - elsif :tbody == region_name
        - defaults.title_cell do
          %td.user
            = link_to user.name.upcase, edit_admin_user_url(user)
    
        - defaults.created_at_cell do
          %td.created_at
            %time{ :datetime => user.created_at.xmlschema }
              &== #{time_ago_in_words(user.created_at)} ago
    committed Feb 25, 2010
  3. Fix "New User/Layout/Snippet" buttons overlapping last row of the con…

    …tent
    
    Avoid -20px bottom margin in "outset" admin views. Some of these views have
    "Add" buttons at the bottom and those buttons would overlap with content,
    hiding the last row.
    committed Feb 24, 2010
Commits on Feb 22, 2010
  1. credit Dirk Kelly

    saturnflyer committed Feb 22, 2010
  2. Removing trailing comma

    saturnflyer committed Feb 22, 2010
Commits on Feb 21, 2010
  1. provide overrides.js and overrides.css for making instance-specific c…

    …hanges to the admin UI
    saturnflyer committed Feb 21, 2010
Commits on Feb 15, 2010
  1. update credits and history

    saturnflyer committed Feb 15, 2010
  2. updated style names

    saturnflyer committed Feb 15, 2010
Commits on Feb 14, 2010
  1. use more mixins

    saturnflyer committed Feb 14, 2010
  2. update haml to 2.2.19

    saturnflyer committed Feb 14, 2010
Commits on Feb 5, 2010
Commits on Feb 2, 2010
  1. undoing some bad edits

    banane committed Feb 2, 2010
Commits on Feb 1, 2010
  1. removing comments

    banane committed Feb 1, 2010
Commits on Jan 29, 2010
  1. added inputdate.js functionality

    banane committed Jan 29, 2010