Sha256: 20d3003d8ab6c5d34c9f197b35dd79cafa22203e8ffebe4246fecc68a6a5d4d9

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

.footer.center
  .padding
    .stats
      %span.total= resources.count \
      = t("resourcesFound")

    %span.actions
      - if @features[:create]
        %a.button.create_new_item{:href => url_for(:controller => controller.controller_name, :action => "new")}
          = image_tag("releaf/icons/add.png", :alt => "add") \
          %span= t('create_new_item')

      %span.button_group.list_action_switch
        - if @features[:show]
          %button{:type => "button", :title => "switchToShow", "data-action" => "show", :class => list_action == "show" ? "active" : ""}>
            = image_tag("releaf/icons/eye.png", :alt => "switchToShow")

        - if @features[:edit]
          %button{:type => "button", :title => "switchToEdit", "data-action" => "edit", :class => list_action == "edit" ? "active" : ""}>
            = image_tag("releaf/icons/pencil.png", :alt => "switchToEdit")

        - if @features[:destroy]
          %button{:type => "button", :title => "switchToDelete", "data-action" => "confirm_destroy", :class => list_action == "confirm_destroy" ? "active" : ""}
            = image_tag("releaf/icons/bin_empty.png", :alt => "switchToDelete")

    - unless @continuous_scroll
      - if resources.respond_to?(:page)
        = will_paginate( resources, :class=> "button_group pagination", :link_separator => "", :renderer => "Releaf::PaginationRenderer::LinkRenderer", :previous_label => "<", :next_label => ">", :outer_window => 0, :inner_window => 2 )

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
releaf-0.1.2 app/views/releaf/base/_index.footer.html.haml