summaryrefslogtreecommitdiff
path: root/app/views/switchboards/show-old.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-04-03 22:10:32 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-04-03 22:10:32 +0200
commit4ebbcf3b5576cc342086e2f54950a119a49f2bf9 (patch)
treee216a9634c31047e8908a882aed9ff2545ed99e6 /app/views/switchboards/show-old.html.haml
parentedf06bf6f7d4f20d5a9145a5bbf8db409fe6ab1b (diff)
parentcea2cc3c1cc1e48fc4600c698d52dfda2bde4505 (diff)
Merge branch 'emberjs' into develop
Diffstat (limited to 'app/views/switchboards/show-old.html.haml')
-rw-r--r--app/views/switchboards/show-old.html.haml21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/switchboards/show-old.html.haml b/app/views/switchboards/show-old.html.haml
new file mode 100644
index 0000000..a825806
--- /dev/null
+++ b/app/views/switchboards/show-old.html.haml
@@ -0,0 +1,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}" \ No newline at end of file