143 lines
5.0 KiB
Plaintext
Executable File
143 lines
5.0 KiB
Plaintext
Executable File
.center.padding
|
||
=#render :partial => "public/my_account/menu"
|
||
|
||
|
||
-if !current_customer.account_validated?
|
||
.alert.alert-warning
|
||
%h1 Vous devez valider votre adresse mail.
|
||
%p Vous avez du recevoir un message pour valider votre adresse mail. Tant que vous n'aurez pas cliquer sur le lien présent sur ce mail votre compte ne sera pas activé.
|
||
%p
|
||
Le mail a été envoyé à l'adresse :
|
||
%strong= current_customer.email
|
||
=link_to "renvoyer le mail de confirmation", public_reconfirm_email_path, :class => "btn btn-primary"
|
||
|
||
|
||
-if !current_customer.address or current_customer.need_1 == nil or !current_customer.account_validated
|
||
|
||
.padding.center.white
|
||
%h2
|
||
=current_customer.organisation
|
||
|
||
-if !current_customer.address
|
||
%p
|
||
Merci pour votre inscription, dernière étape et votre profil sera complet.
|
||
=render :partial => "public/my_account/step2"
|
||
-elsif !current_customer.need_1
|
||
%center
|
||
=render :partial => "public/my_account/step3"
|
||
-elsif !current_customer.account_validated
|
||
%p
|
||
Merci ! Votre profil est complet, nous vous contacterons prochainement.
|
||
%p
|
||
=link_to "Modifier mes infos", public_edit_infos_path, :class => "btn btn-primary"
|
||
|
||
|
||
|
||
-if current_customer.account_validated
|
||
.padding.center.white
|
||
%h2
|
||
=current_customer.organisation
|
||
%p
|
||
%i.fa.fa-user
|
||
#{current_customer.fullname}
|
||
%p
|
||
%i.fa.fa-map-marker
|
||
#{ current_customer.full_address}
|
||
%p
|
||
=link_to "Modifier mes infos", public_edit_infos_path, :class => "btn btn-primary"
|
||
|
||
|
||
.padding.center.white
|
||
%h3 Mes réseaux
|
||
%table.table.admin_table.table-hover.table-striped
|
||
%thead.rows_header
|
||
|
||
%tr
|
||
%th
|
||
Nom
|
||
%th
|
||
|
||
|
||
%tbody.rows
|
||
-current_customer.reseauxes.where(:parent_id => nil).each do |reseaux|
|
||
%tr
|
||
%td
|
||
=link_to reseaux.name, public_reseaux_products_path(:reseaux_id => reseaux.id)
|
||
=link_to i(:envelope), new_public_customer_message_path(:thing_type => "Reseaux", :thing_id => reseaux.id)
|
||
%td
|
||
-if reseaux.chef_reseau
|
||
Chef réseaux :
|
||
=reseaux.chef_reseau.anonyme_nick
|
||
|
||
=link_to i(:envelope), new_public_customer_message_path(:thing_type => "Customer", :thing_id => reseaux.chef_reseau.id)
|
||
|
||
-Reseaux.where(:parent_id => reseaux.id).order(:name).each do |reseaux|
|
||
%tr
|
||
%td
|
||
|
||
|
||
|
||
=reseaux.name
|
||
=link_to i(:envelope), new_public_customer_message_path(:thing_type => "Reseaux", :thing_id => reseaux.id)
|
||
%td
|
||
-if reseaux.chef_reseau
|
||
Chef réseaux :
|
||
=reseaux.chef_reseau.anonyme_nick
|
||
|
||
=link_to i(:envelope), new_public_customer_message_path(:thing_type => "Customer", :thing_id => reseaux.chef_reseau.id)
|
||
|
||
|
||
|
||
|
||
|
||
.padding.center.white
|
||
%h3
|
||
Mes offres acceptées
|
||
%div.alert.alert-info
|
||
%p
|
||
Voici la liste de toutes les offres que vous avez acceptées.
|
||
C’est ici que vous pouvez accéder aux offres disponibles.
|
||
%p
|
||
Une fois téléchargé, vous devez nous renvoyer le mandat signé afin de pouvoir bénéficier de l'offre.
|
||
%p
|
||
%strong
|
||
N’oubliez pas que c’est l’intérêt de chacun de contribuer à NEGOS, en participant, en communiquant afin d’obtenir la meilleure offre
|
||
|
||
-if @accepted_offers.length > 0
|
||
=render "public/needs/accepted_offers_index", accepted_offers: @accepted_offers
|
||
.pagination= paginate @accepted_offers, param_name: 'page_offers'
|
||
-else
|
||
%p
|
||
Vous n'avez pas encore accepté d'offre
|
||
.padding.center.white
|
||
%h3
|
||
Mes intérêts
|
||
%div.alert.alert-info
|
||
%p
|
||
Signaler votre intérêt, vous permet d’accéder au fil de discussion ainsi qu’au suivi propre à chaque besoin.
|
||
%p
|
||
Cela nous permet de vous envoyer des offres intéressantes si nous décidons de négocier ce besoin.
|
||
-if @wishes.length > 0
|
||
=render "public/wishes/index", wishes: @wishes
|
||
.pagination= paginate @wishes , param_name: 'page_wishes'
|
||
-else
|
||
%p
|
||
Vous n'êtes encore intéressé par aucun besoin
|
||
.padding.center.white
|
||
%h3
|
||
Mes besoins
|
||
%div.alert.alert-info
|
||
%p
|
||
Si vous avez un besoin qui ne fait pas encore parti de notre liste, vous pouvez vous-même le proposer à Négos.
|
||
%p
|
||
Votre proposition de besoin sera alors soumise à une courte validation par l'un de nos modérateurs.
|
||
%p
|
||
Vous serez informé par courriel de son acceptation.
|
||
-if @needs.length > 0
|
||
=render "public/needs/index", needs: @needs
|
||
.pagination= paginate @needs , param_name: 'page_needs'
|
||
-else
|
||
%p
|
||
Vous n'avez pas encore proposé de besoin
|
||
=link_to "Proposer un besoin", new_public_need_path, :class => "btn btn-primary"
|