summaryrefslogtreecommitdiff
path: root/app/views/conferences/show.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:05:14 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-17 12:05:14 +0100
commiteaad37485fe59d0306c37cc038dda6d210052910 (patch)
tree072c4b0e33d442528555b82c415f5e7a1712b2b0 /app/views/conferences/show.html.haml
parent3e706c2025ecc5523e81ad649639ef2ff75e7bac (diff)
parentb80bd744ad873f6fc43018bc4bfb90677de167bd (diff)
Merge branch 'develop'
Diffstat (limited to 'app/views/conferences/show.html.haml')
-rw-r--r--app/views/conferences/show.html.haml43
1 files changed, 43 insertions, 0 deletions
diff --git a/app/views/conferences/show.html.haml b/app/views/conferences/show.html.haml
new file mode 100644
index 0000000..10ebaed
--- /dev/null
+++ b/app/views/conferences/show.html.haml
@@ -0,0 +1,43 @@
+- title t("conferences.show.page_title")
+
+%p
+ %strong= t('conferences.show.name') + ":"
+ = @conference.name
+- if @conference.start
+ %p
+ %strong= t('conferences.show.start') + ":"
+ = @conference.start
+ %p
+ %strong= t('conferences.show.end') + ":"
+ = @conference.end
+- if !@conference.description.blank?
+ %p
+ %strong= t('conferences.show.description') + ":"
+ = @conference.description
+- if !@conference.pin.blank?
+ %p
+ %strong= t('conferences.show.pin') + ":"
+ = @conference.pin
+%p
+ %strong= t('conferences.show.open_for_anybody') + ":"
+ = @conference.open_for_anybody
+%p
+ %strong= t('conferences.show.announce_new_member_by_name') + ":"
+ = @conference.announce_new_member_by_name
+%p
+ %strong= t('conferences.show.announce_left_member_by_name') + ":"
+ = @conference.announce_left_member_by_name
+
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @parent, :child => @conference }
+
+%h2= t('phone_numbers.index.page_title')
+- if @phone_numbers.count > 0
+ = render "phone_numbers/index_core", :phone_numbers => @phone_numbers
+
+= render :partial => 'shared/create_link', :locals => {:parent => @conference, :child_class => PhoneNumber}
+
+%h2= t("conference_invitees.index.page_title")
+- if @conference.conference_invitees.count > 0
+ = render "conference_invitees/index_core", :conference_invitees => @conference.conference_invitees
+
+= render :partial => 'shared/create_link', :locals => {:parent => @conference, :child_class => ConferenceInvitee} \ No newline at end of file