diff --git a/app/views/spree/admin/users/index.html.erb b/app/views/spree/admin/users/index.html.erb new file mode 100644 index 0000000000..a5373244e1 --- /dev/null +++ b/app/views/spree/admin/users/index.html.erb @@ -0,0 +1,53 @@ +<% content_for :page_title do %> + <%= Spree.t(:listing_users) %> +<% end %> + +<% content_for :page_actions do %> +
  • + <%= button_link_to Spree.t(:new_user), new_object_url, :icon => 'icon-plus', :id => 'admin_new_user_link' %> +
  • +<% end %> + + + + + + + + + + + + + + <% @users.each do |user|%> + + + + + <% end %> + +
    <%= sort_link @search,:email, Spree.t(:user), {}, {:title => 'users_email_title'} %>
    <%=link_to user.email, object_url(user) %> + <%= link_to_edit user, :no_text => true %> + <%= link_to_delete user, :no_text => true %> +
    + +<%= paginate @users %> + +<% content_for :sidebar_title do %> + <%= Spree.t(:search) %> +<% end %> + +<% content_for :sidebar do %> +
    + <%= search_form_for [:admin, @search] do |f| %> +
    + <%= f.label Spree.t(:email) %>
    + <%= f.text_field :email_cont, :class => 'fullwidth' %> +
    +
    + <%= button Spree.t(:search), 'icon-search' %> +
    + <% end %> +
    +<% end %>