VRFS-3036 to hire builder
This commit is contained in:
parent
1a91704532
commit
8d3247e084
|
|
@ -94,10 +94,12 @@ module JamRuby
|
|||
KEY_PLAY_COMMIT => { keys: PLAY_COMMIT_VALS, map: PLAY_COMMITS },
|
||||
KEY_TOUR_OPTION => { keys: TOUR_OPTION_VALS, map: TOUR_OPTIONS }
|
||||
})
|
||||
toHireMeta = super(self.json_schema[BAND_SEARCH_TYPE_VALS[1]],
|
||||
{ keys: HIRE_SORT_VALS, map: HIRE_SORT_ORDERS })
|
||||
toHireMeta.merge!({})
|
||||
@@search_meta = {
|
||||
BAND_SEARCH_TYPE_VALS[0] => toJoinMeta,
|
||||
BAND_SEARCH_TYPE_VALS[1] => super(self.json_schema[BAND_SEARCH_TYPE_VALS[1]],
|
||||
{ keys: HIRE_SORT_VALS, map: HIRE_SORT_ORDERS }),
|
||||
BAND_SEARCH_TYPE_VALS[1] => toHireMeta,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -566,6 +566,9 @@ context.JK.BandSearchFilter = class BandSearchFilter extends BaseSearchFilter
|
|||
this._populateTourOption()
|
||||
|
||||
_populateSearchFilterToHire: () =>
|
||||
this._populateSkill()
|
||||
this._populateGigs()
|
||||
this._populatePerformSamples()
|
||||
|
||||
loadSearchFilter: (sFilter) =>
|
||||
super(sFilter)
|
||||
|
|
@ -607,6 +610,9 @@ context.JK.BandSearchFilter = class BandSearchFilter extends BaseSearchFilter
|
|||
_populateSortOrder: () =>
|
||||
this._populateSelectIdentifier('sort_order')
|
||||
|
||||
_populatePerformSamples: () =>
|
||||
this._populateSelectIdentifier('perform_samples')
|
||||
|
||||
_populateGenres: () =>
|
||||
super()
|
||||
|
||||
|
|
|
|||
|
|
@ -97,11 +97,30 @@ script#template-band-search-filter-to_hire type="text/template"
|
|||
table#search-filter-genres cellpadding="10" cellspacing="6" width="100%"
|
||||
|
||||
.col-right
|
||||
.field
|
||||
label for="search-filter-instruments"
|
||||
| Instruments & Skill Level:
|
||||
.search-filter-setup-instruments.band-setup-genres.builder-instruments
|
||||
table#search-filter-instruments cellpadding="10" cellspacing="6" width="100%"
|
||||
.field.builder-selector
|
||||
label Status:
|
||||
select.easydropdown name="skill_level"
|
||||
option selected="selected" value="{skill_level}" {skill_level}
|
||||
|
||||
.field.builder-selector
|
||||
label Concert Gigs Played:
|
||||
select.easydropdown name="concert_gigs"
|
||||
option selected="selected" value="{concert_gigs}" {concert_gigs}
|
||||
|
||||
.field.builder-selector
|
||||
label Performance Sample Available:
|
||||
select.easydropdown name="perform_samples"
|
||||
option selected="selected" value="{perform_samples}" {perform_samples}
|
||||
|
||||
.field.builder-selector
|
||||
input type="checkbox" id="max_cost" name="{max_cost}"
|
||||
| Find bands to play a paid gig at a cost not to exceed
|
||||
input type="text" id="max_cost_amount" name="{max_cost}"
|
||||
|
||||
.field.builder-selector
|
||||
input type="checkbox" id="free_gigs" name="{free_gigs}"
|
||||
| Find bands that will play free gigs
|
||||
|
||||
.clearall
|
||||
|
||||
.band-search-filter-builder-middle2.builder-section
|
||||
|
|
|
|||
Loading…
Reference in New Issue