diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2017-12-17 11:36:55 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2017-12-17 11:38:07 +0100 |
commit | 9be44b3fa9985b8a93160434ce9f6dc922ec4387 (patch) | |
tree | cf488691c1168caf9e02be7830635da76b3bc57b /vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_records.html.erb | |
parent | 302aadd8bfd4030d9b2a71d5121fd650c0918338 (diff) | |
download | hmnoweb-9be44b3fa9985b8a93160434ce9f6dc922ec4387.tar.gz hmnoweb-9be44b3fa9985b8a93160434ce9f6dc922ec4387.tar.bz2 hmnoweb-9be44b3fa9985b8a93160434ce9f6dc922ec4387.zip |
New extension GalleryLinks
Diffstat (limited to 'vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_records.html.erb')
-rw-r--r-- | vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_records.html.erb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_records.html.erb b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_records.html.erb new file mode 100644 index 0000000..7ec7a2a --- /dev/null +++ b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_records.html.erb @@ -0,0 +1,16 @@ +<%= render 'refinery/admin/search_header', :url => refinery.gallery_links_admin_gallery_links_path %> +<div class='pagination_container'> + <% if @gallery_links.any? %> + <%= render 'gallery_links' %> + <% else %> + <p> + <% unless searching? %> + <strong> + <%= t('.no_items_yet') %> + </strong> + <% else %> + <%= t('no_results', :scope => 'refinery.admin.search') %> + <% end %> + </p> + <% end %> +</div> |