rearrgange profile buttons

This commit is contained in:
Torsten 2023-08-26 16:00:50 +03:00
parent 8333cc51df
commit cac691d121
2 changed files with 31 additions and 24 deletions

View File

@ -23,24 +23,31 @@
%div= entity.type
%div= entity.name
%div= entity.value
%div
- unless @member.artist_profile
If you are an artist at Hub Feenix, click
=link_to "here" , new_profile_path(kind: :artist) , class: "underline"
- unless @member.teacher_profile
If you teach at Hub Feenix, click
=link_to "here" , new_profile_path(kind: :teacher) , class: "underline"
- unless @member.member_profile
%div
%h3.text-2xl.bg-gray-200.p-4.text-center No Profile
%h2 Create new
= link_to new_profile_path(kind: :member) do
%button.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
Member profile
.prose
Member profiles are always public and contain an image and text.
- Profile.kinds.each do |kind|
- if profile = @member.profile(kind)
%div= render "#{kind}_profile" , profile: profile
%div
%h3.text-2xl.bg-gray-200.p-4.text-center Profiles
- unless @member.artist_profile
= link_to new_profile_path(kind: :artist) do
%button.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
Create Artist profile
.prose
Artists thats have a studio in Hub Feenix may create a profile that includes text and pictures.
- unless @member.teacher_profile
= link_to new_profile_path(kind: :teacher) do
%button.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
Create Teacher profile
.prose
Teachers, ie people who run courses or events at Hub Feenix, may create a profile with text and picture and a homepage.
Teachers may create Events that will be shown in the event list.
- unless @member.member_profile
= link_to new_profile_path(kind: :member) do
%button.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
Create Member profile
.prose
Members of the coop may create profiles profiles which are always public and contain an image and text.

View File

@ -870,16 +870,16 @@
:header: Package prices for groups
:text: "**Basic package**, including accommodation in shared double rooms, 3 meals
a day (breakfast, lunch, dinner), using of the group space and one sauna evening.\r\n\r\n2
NIGHTS PER PERSON (for example from Friday dinner to Sunday lunch)\r\n145 € (groups
under 40 people) \r\n135 € (groups over 40 people)\r\n\r\nLonger stays +70€ per
night (big groups +65€), extra sauna 5€\r\n\r\n1 NIGHT PER PERSON (for example
from Saturday lunch to Sunday breakfast) \r\n95 € (groups under 40 people)\r\n90
NIGHTS PER PERSON (for example from Friday dinner to Sunday lunch)\r\n155 € (groups
under 40 people) \r\n145 € (groups over 40 people)\r\n\r\nLonger stays +75€ per
night (big groups +70€), extra sauna 5€\r\n\r\n1 NIGHT PER PERSON (for example
from Saturday lunch to Sunday breakfast) \r\n100 € (groups under 40 people)\r\n95
€ (groups over 40 people)\r\n\r\n**Extras** \r\nAT LEAST 2 NIGHT EVENTS\r\n+20
€ Single room with shared shower/toilet per person per night \r\n+30 € Suite =
€ Single room with shared shower/toilet per person per night \r\n+35 € Suite =
own shower/toilet per suite per night (both single and double rooms) \r\n\r\n1
NIGHT EVENTS\r\n+30 € Single room with shared shower/toilet per person per night\r\n+40
NIGHT EVENTS\r\n+35 € Single room with shared shower/toilet per person per night\r\n+45
€ Suite = own shower/toilet per suite per night (both single and double rooms)
\r\n\r\nALL EVENTS\r\n+30 € Extra night before or after the event (no meals included)\r\n+
\r\n\r\nALL EVENTS\r\n+35 € Extra night before or after the event (no meals included)\r\n+
Ask an offer for extra meals if needed\r\n+ We are also happy to offer extra free-time
services for your group, eg treatments and horse riding, or for example relaxing
free dancing as part of your program. \r\n\r\n\r\n\r\n**Good to know**\r\n-Small