diff options
author | Julian Pawlowski <julian.pawlowski@gmail.com> | 2013-03-14 22:22:16 +0100 |
---|---|---|
committer | Julian Pawlowski <julian.pawlowski@gmail.com> | 2013-03-14 22:22:16 +0100 |
commit | ebd0aa9c41f8ca6cf7de25c282efa759d7a1e273 (patch) | |
tree | affbe1fd88dd6bd8115593b91717d8d157d77b16 /app/views/switchboards/show.html.haml | |
parent | 4b96a024bf77d96220ff06b3074556fbfa41bd7d (diff) | |
parent | 5ed3837a8688e46a33d3ad3b0eb0343eb1a5ba85 (diff) |
Merge branch 'develop' of https://github.com/amooma/GS5 into develop
Diffstat (limited to 'app/views/switchboards/show.html.haml')
-rw-r--r-- | app/views/switchboards/show.html.haml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/app/views/switchboards/show.html.haml b/app/views/switchboards/show.html.haml index 2932366..a825806 100644 --- a/app/views/switchboards/show.html.haml +++ b/app/views/switchboards/show.html.haml @@ -1,20 +1,21 @@ -- content_for :title, @switchboard.name +- content_for :title, "Switchboard #{@switchboard.name}" .row .span12 - .well.pull-right - %p - =current_user + = 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") + - 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}"
\ No newline at end of file |