hasadna / alaveteli

Provide a Freedom of Information request system for your jurisdiction
http://www.askdata.org.il/
Other
2 stars 1 forks source link

Figuring the category options #4

Closed yauzi closed 10 years ago

yauzi commented 11 years ago

Currently we have the categories "silly ministries" and "popular agencies", we wish to delete them and add new ones. The authority edit page allows for labels to be added, but they are not shown.

crowbot commented 11 years ago

You should be able to do this by editing the file lib/public_body_categories_en.rb to add your categories as you want them to appear in English (if you do) and adding lib/public_body_categories_he_IL.rb for the categories in Hebrew, with contents in the form:

PublicBodyCategories.add('he-IL', [
"Example ministries",
    [ "example_agency", "Example ministries", "an example ministry" ],

])

yehudab commented 11 years ago

@crowbot thanks! Seems to work fine.

tohava commented 10 years ago

Can this issue be closed then?

yehudab commented 10 years ago

Looks like we can close it.

On 29 ביול 2013, at 21:45, tohava notifications@github.com wrote:

Can this issue be closed then?

— Reply to this email directly or view it on GitHub.