summaryrefslogtreecommitdiff
path: root/app/views/switchboards/show-old.html.haml
blob: a825806951e72fad3fb40ee5014d68ba5c0cf380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- content_for :title, "Switchboard #{@switchboard.name}"

.row
  .span12
    = render :partial => "current_user_dashboard", :current_user => 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")

  .span6


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