summaryrefslogtreecommitdiff
path: root/app/views/switchboards/show.html.haml
blob: 293236669d1aac6ab0537a3c6ab22d44bdf5b3a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- 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")

= subscribe_to "/switchboards/#{@switchboard.id}"