Sha256: b02fe67f55ca71a9e863fe65f1211037e39d98a850c045a89fd18b8c2e1f7396

Contents?: true

Size: 808 Bytes

Versions: 7

Compression:

Stored size: 808 Bytes

Contents

= nav_dropdown("Developer") do
  = dropdown_item(icon('cog', "Configuration"), ucb_rails_admin_configuration_path)
  = dropdown_item(icon('envelope', "Test Email"), ucb_rails_admin_email_test_path)
  = dropdown_item(icon('picture', "Bootstrap Examples"), bvh_path)
  = dropdown_item(icon('exclamation-sign', "Force Exception"), ucb_rails_admin_force_exception_path)

  - if RailsEnvironment.development?
    = dropdown_divider
    
    - if defined?(Rack::MiniProfilerRails)
      = nav_list_header('Mini-Profiler')
      = dropdown_item("Enable", url_for(params.merge(pp: 'enable')))    
      = dropdown_item("Disable", url_for(params.merge(pp: 'disable')))
      = dropdown_item("Help", url_for(params.merge(pp: 'help')))
    - else
      = dropdown_item('Install rack-mini-profiler to enable this menu')

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ucb_rails-0.0.14 lib/generators/ucb_rails/templates/app/views/layouts/_developer.html.haml
ucb_rails-0.0.13 lib/generators/ucb_rails/templates/app/views/layouts/_developer.html.haml
ucb_rails-0.0.12 lib/generators/ucb_rails/templates/app/views/layouts/_developer.html.haml
ucb_rails-0.0.11 lib/generators/ucb_rails/templates/app/views/layouts/_developer.html.haml
ucb_rails-0.0.10 lib/generators/ucb_rails/templates/app/views/layouts/_developer.html.haml
ucb_rails-0.0.9 lib/generators/ucb_rails/templates/app/views/layouts/_developer.html.haml
ucb_rails-0.0.8 lib/generators/ucb_rails/templates/app/views/layouts/_developer.html.haml