app/views/members/index/index.html.haml in artfully_ose-1.2.0.beta.1 vs app/views/members/index/index.html.haml in artfully_ose-1.2.0.pre
- old
+ new
@@ -6,21 +6,26 @@
%table.table.table-condensed
%tr
%td Member Number
%td=current_member.member_number
%tr
+ %td Member Since
+ %td TODO
+ %tr
%td Member Through
- %td=l current_member.member_through, :format => :date
+ %td=l current_member.active_memberships.first.ends_at, :format => :date
%tr
%td Membership
- %td=current_member.memberships.current.first.membership_type.name
+ %td=current_member.active_memberships.first.membership_type.name
%tr
- %td Memberships
- %td=current_member.memberships.current.count
+ %td Memberhsips
+ %td=current_member.active_memberships.length
%tr
- %td Membership Card
- %td=link_to "download", current_member.download_link_for(:pdf)
+ %td Auto-renewal
+ %td
+ On
+ =link_to "change", "", :class => "btn btn-small"
.side-section
%h6 Member Information
=current_member.person
%br
=current_member.email
@@ -31,11 +36,12 @@
.controls
=link_to "Update", "#edit-address-modal", :class => "btn", 'data-toggle' => 'modal'
.side-section
%h6 Contact Us
+ %br
=current_member.organization.email
%br
-# =current_member.organization.phone
#edit-address-modal.modal.hide
- =render :partial => 'people/edit_modal', :locals => { :url => members_person_path(current_member.person), :header => "Edit Your Information", :except => [:convert, :relationships, :households, :social, :merge, :delete], :return_to => members_root_path }
+ =render :partial => 'people/edit_modal', :locals => { :header => "Edit Your Information", :except => [:convert, :social, :merge, :delete], :return_to => members_root_path }
\ No newline at end of file