Skip to content

Commit

Permalink
$mol_view_tree2 refactor, hyoo-ru/mam_mol#646
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Dec 3, 2023
1 parent 133a841 commit 9339661
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cabinet/sign/sign.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $hyoo_intern_cabinet_sign $hyoo_intern_cabinet
campaign_current => campaign_current
menu_tools /
spreads *
person <= Person_page $mol_page
person <= Person_page $hyoo_intern_person_page
title \1. Заполните профиль
body /
<= Person_form $hyoo_intern_person_form
Expand Down
2 changes: 1 addition & 1 deletion person/page/page.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ $hyoo_intern_person_page $mol_page
<= Campaign_list $mol_list
rows <= campaign_list /
<= Campaign*0 $hyoo_intern_campaign_form
user <= person
- user <= person
campaign <= campaign* $hyoo_intern_campaign
18 changes: 9 additions & 9 deletions resume/resume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,42 @@ namespace $.$$ {

@ $mol_mem
mentor_vacancy( ) {
return this.data().sub( 'vacancy', $hyoo_intern_vacancy ) ?? null
return this.sub( 'vacancy', $hyoo_intern_vacancy ) ?? null
}

@ $mol_mem
about( next?: string ) {
return this.data().sub( 'about', $hyoo_crowd_reg ).str( next )
return this.sub( 'about', $hyoo_crowd_reg ).str( next )
}

@ $mol_mem
status( next?: string ) {
return this.data().sub( 'status', $hyoo_crowd_reg ).str( next )
return this.sub( 'status', $hyoo_crowd_reg ).str( next )
}

@ $mol_mem
country( next?: string ) {
return this.data().sub( 'country', $hyoo_crowd_reg ).str( next )
return this.sub( 'country', $hyoo_crowd_reg ).str( next )
}

@ $mol_mem
city( next?: string ) {
return this.data().sub( 'city', $hyoo_crowd_reg ).str( next )
return this.sub( 'city', $hyoo_crowd_reg ).str( next )
}

@ $mol_mem
job_status( next?: 'working_for_hire' | 'self-employed' | 'unemployed' ) {
return this.data().sub( 'job_status', $hyoo_crowd_reg ).str( next )
return this.sub( 'job_status', $hyoo_crowd_reg ).str( next )
}

@ $mol_mem
skills( next?: string[] ) {
return this.data().sub( 'skills', $hyoo_crowd_list ).list( next ).map(String)
return this.sub( 'skills', $hyoo_crowd_list ).list( next ).map(String)
}

@ $mol_mem
jobs_node() {
return this.data().sub( 'jobs', $hyoo_crowd_list )
return this.sub( 'jobs', $hyoo_crowd_list )
}

@ $mol_mem
Expand All @@ -61,7 +61,7 @@ namespace $.$$ {

@ $mol_mem
institutions_node() {
return this.data().sub( 'institutions', $hyoo_crowd_list )
return this.sub( 'institutions', $hyoo_crowd_list )
}

@ $mol_mem
Expand Down

0 comments on commit 9339661

Please sign in to comment.