mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-10 15:50:26 -07:00
chore: show analyze page gender, ell, sped, grade info without errors
This commit is contained in:
parent
13915c046e
commit
3fed5cab6a
13 changed files with 27 additions and 23 deletions
|
|
@ -28,11 +28,14 @@ module Dashboard
|
|||
|
||||
def analyze_category_link(district:, school:, academic_year:, category:)
|
||||
year = academic_year.range
|
||||
"/districts/#{district.slug}/schools/#{school.slug}/analyze?year=#{year}&academic_years=#{year}&category=#{category.category_id}"
|
||||
district_school_analyze_index_path(district, school,
|
||||
{ year:, academic_years: year, category: category.category_id })
|
||||
end
|
||||
|
||||
def analyze_subcategory_link(district:, school:, academic_year:, category:, subcategory:)
|
||||
"/districts/#{district.slug}/schools/#{school.slug}/analyze?year=#{academic_year.range}&category=#{category.category_id}&subcategory=#{subcategory.subcategory_id}"
|
||||
year = academic_year.range
|
||||
district_school_analyze_index_path(district, school,
|
||||
{ year: academic_year.range, category: category.category_id, subcategory: subcategory.subcategory_id })
|
||||
end
|
||||
|
||||
def colors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue