summaryrefslogtreecommitdiff
path: root/app/views/switchboards/show.html.haml
blob: 18671c25615d83f881763e32f9d2d655ba420975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- content_for :title, @switchboard.name

.row
  .span12
    .well.pull-right
      %p
        =current_user

    %ul.thumbnails
      = render :partial => "switchboard_entries/switchboard_entry", :collection => @switchboard_entries

- if can? :edit, @switchboard
  .row
    .span12
      %a.btn.btn-small.btn-warning{:href => switchboard_switchboard_entries_path(@switchboard) }
        %i.icon-edit.icon-white
        %span.hidden-phone
          =t("switchboard_entries.index.page_title")