Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added helper and icon.

  • Loading branch information...
commit 42671c63aa264b0fa6e5f01cbdae18550d7bbc38 1 parent 32ffdb1
@joost authored
View
2  app/helpers/admin/base_helper.rb
@@ -41,7 +41,7 @@ def l(time)
# This is a replacement for Ransack's sort_link (https://github.com/ernie/ransack/blob/master/lib/ransack/helpers/form_helper.rb).
# It works for @search stuff and without @search stuff.
def order_link(ransack, attribute, options = {})
- search ? sort_link(ransack, attribute, options) : attribute.to_s.humanize # FIXME: Model.human_attribute_name("title")
+ ransack ? sort_link(ransack, attribute, options) : attribute.to_s.humanize # FIXME: Model.human_attribute_name("title")
end
# Following are extra helper for kaminari gem (pagination).
View
1  vendor/assets/stylesheets/admin_interface.css.scss
@@ -937,6 +937,7 @@ padding-bottom: 3px;
.icon-view { background-image: image-url('admin/view.png'); }
.icon-map { background-image: image-url('admin/map.png'); }
.icon-world { background-image: image-url('admin/world.png'); }
+.icon-page-go { background-image: image-url('admin/page_go.png'); }
.icon-file { background-image: image-url('admin/files/default.png'); }
.icon-file.text-plain { background-image: image-url('admin/files/text.png'); }
Please sign in to comment.
Something went wrong with that request. Please try again.