-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update form * awards_descriptions deprecated * exept serialize * add column to resume * fix test * improve layout resume * fix * add new fild to evaluated resume * improve resume.pdf * improve contact info * move contacts * fix resume * fix base layout * fix contact info * rename column
- Loading branch information
1 parent
a2d5d78
commit dba4dcd
Showing
20 changed files
with
241 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,60 @@ | ||
.d-flex | ||
h2.my-4.me-3 = t('.basic') | ||
h2.my-4.me-3 = t('.contacts') | ||
hr.my-auto.w-100 | ||
|
||
- if @resume.user.first_name? | ||
.row.mb-3 | ||
- if @resume.contact_email | ||
.row.mt-3.mb-4 | ||
.col-sm-3 | ||
b = han('user', 'name') | ||
b = han('resume', 'contact_email') | ||
.col-sm-9 | ||
= link_to @resume.user, user_path(@resume.user) | ||
- if @resume.city | ||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'city') | ||
.col-sm-9.hexlet-cv-content | ||
== markdown2html @resume.city | ||
- if @resume.relocation | ||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'relocation') | ||
.col-sm-9.hexlet-cv-content | ||
== markdown2html @resume.relocation_text | ||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'summary') | ||
.col-sm-9.hexlet-cv-content | ||
== markdown2html @resume.summary | ||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'skills_description') | ||
.col-sm-9.hexlet-cv-content | ||
== markdown2html @resume.skills_description | ||
- if @resume.awards_description? | ||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'awards_description') | ||
.col-sm-9.hexlet-cv-content | ||
== markdown2html @resume.awards_description | ||
- if @resume.locale == 'ru' | ||
.row | ||
= @resume.contact_email | ||
|
||
- if @resume.contact_phone | ||
.row.mt-3.mb-4 | ||
.col-sm-3 | ||
b = han('resume', 'english_fluency') | ||
b = han('resume', 'contact_phone') | ||
.col-sm-9 | ||
= @resume.english_fluency.text | ||
.row.mt-3.mb-4 | ||
.col-sm-3 | ||
b = han('resume', 'hexlet') | ||
.col-sm-9 | ||
= link_to @resume.hexlet_url, @resume.hexlet_url, target: '_blank', rel: :noopener | ||
= @resume.contact_phone | ||
|
||
.row.mt-3.mb-4 | ||
.col-sm-3 | ||
b = han('resume', 'github') | ||
.col-sm-9 | ||
= link_to @resume.github_url, @resume.github_url, target: '_blank', rel: :noopener | ||
- if @resume.contact | ||
.row.mt-3.mb-4 | ||
.col-sm-3 | ||
b = han('resume', 'contact_phone') | ||
.col-sm-9 | ||
= @resume.contact_phone | ||
.row.mt-3.mb-4 | ||
.col-sm-3 | ||
b = han('resume', 'contact_email') | ||
.col-sm-9 | ||
= @resume.contact_email | ||
|
||
- if @resume.contact_telegram | ||
.row.mt-3.mb-4 | ||
.col-sm-3 | ||
b = han('resume', 'contact_telegram') | ||
.col-sm-9 | ||
= @resume.contact_telegram | ||
|
||
- if @resume.contact | ||
.row.mt-3.mb-4 | ||
.col-sm-3 | ||
b = han('resume', 'contact') | ||
.col-sm-9 | ||
= @resume.contact | ||
= @resume.contact_telegram | ||
|
||
.d-flex | ||
hr.my-auto.w-100 | ||
|
||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'summary') | ||
.col-sm-9.hexlet-cv-content | ||
== markdown2html @resume.summary | ||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'skills_description') | ||
.col-sm-9.hexlet-cv-content | ||
== markdown2html @resume.skills_description | ||
- if @resume.project_descriptions | ||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'project_descriptions') | ||
.col-sm-9.hexlet-cv-content | ||
== markdown2html @resume.project_descriptions | ||
|
||
- if @resume_works.any? | ||
.d-flex | ||
|
@@ -110,3 +92,22 @@ | |
- elsif education.end_date | ||
| - | ||
= education.end_date.to_formatted_s(:month_and_year) | ||
|
||
.d-flex | ||
hr.my-auto.w-100 | ||
|
||
.row.mb-3 | ||
.col-sm-3 | ||
b = han('resume', 'about_my_self') | ||
.col-sm-9.hexlet-cv-content | ||
- if @resume.relocation && [email protected]_not_specified? | ||
= @resume.relocation_text | ||
br | ||
- if @resume.locale == 'ru' && @resume.english_fluency | ||
= @resume.english_fluency.text | ||
br | ||
- if @resume.city | ||
= "#{han('resume', 'city')} #{@resume.city}" | ||
br | ||
|
||
== markdown2html @resume.about_my_self |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.