Commit 1d955bbbae0429bcf8339a5bc7d8524062f48f60
1 parent
300ce8a4
Exists in
staging
and in
42 other branches
ActionItem255: added categories
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1623 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
63 additions
and
7 deletions
Show diff stats
script/anhetegua
| ... | ... | @@ -67,18 +67,74 @@ if ENV['RAILS_ENV'] == 'production' |
| 67 | 67 | end |
| 68 | 68 | |
| 69 | 69 | tematicas = new_category(nil, 'Temáticas', 1) |
| 70 | -new_category(tematicas, 'Finanças Solidárias') | |
| 70 | +new_category(tematicas, 'Formação') | |
| 71 | +new_category(tematicas, 'Produção, comercialização e consumo') | |
| 72 | +new_category(tematicas, 'Relações internacionais') | |
| 71 | 73 | new_category(tematicas, 'Marco Legal') |
| 72 | -new_category(tematicas, 'Software Livre') | |
| 74 | +new_category(tematicas, 'Finanças Solidárias') | |
| 75 | +new_category(tematicas, 'Comunicação') | |
| 76 | +new_category(tematicas, 'Políticas públicas') | |
| 77 | +new_category(tematicas, 'Organização do movimento') | |
| 78 | +new_category(tematicas, 'Software, cultura e conhecimentos livres') | |
| 79 | +new_category(tematicas, 'Agroecologia') | |
| 80 | +new_category(tematicas, 'Pesquisa e tecnologia') | |
| 81 | +new_category(tematicas, 'Comércio justo e solidário') | |
| 82 | +new_category(tematicas, 'Cultura') | |
| 73 | 83 | |
| 74 | 84 | territorios = new_region(nil, 'Territórios', 2) |
| 75 | -ba = new_region(territorios, 'Bahia') | |
| 76 | -df = new_region(territorios, 'Distrito Federal') | |
| 77 | -rs = new_region(territorios, 'Rio Grande do Sul') | |
| 85 | +nacional = new_region(territorios, 'Nacional') | |
| 86 | +internacional = new_region(territorios, 'Internacional') | |
| 87 | +centro_oeste = new_region(nacional, 'Região Centro-Oeste') | |
| 88 | +mt = new_region(centro_oeste, 'Mato Grosso') | |
| 89 | +ms = new_region(centro_oeste, 'Mato Grosso do Sul') | |
| 90 | +go = new_region(centro_oeste, 'Goiás') | |
| 91 | +df = new_region(centro_oeste, 'Distrito Federal') | |
| 92 | +nordeste = new_region(nacional, 'Região Nordeste') | |
| 93 | +al = new_region(nordeste, 'Alagoas') | |
| 94 | +ba = new_region(nordeste, 'Bahia') | |
| 95 | +ce = new_region(nordeste, 'Ceará') | |
| 96 | +ma = new_region(nordeste, 'Maranhão') | |
| 97 | +pb = new_region(nordeste, 'Paraíba') | |
| 98 | +pe = new_region(nordeste, 'Pernambuco') | |
| 99 | +pi = new_region(nordeste, 'Piauí') | |
| 100 | +rn = new_region(nordeste, 'Rio Grande do Norte') | |
| 101 | +se = new_region(nordeste, 'Sergipe') | |
| 102 | +norte = new_region(nacional, 'Região Norte') | |
| 103 | +ac = new_region(norte, 'Acre') | |
| 104 | +ap = new_region(norte, 'Amapá') | |
| 105 | +am = new_region(norte, 'Amazonas') | |
| 106 | +pa = new_region(norte, 'Pará') | |
| 107 | +ro = new_region(norte, 'Rondônia') | |
| 108 | +rr = new_region(norte, 'Roraima') | |
| 109 | +to = new_region(norte, 'Tocantins') | |
| 110 | +sudeste = new_region(nacional, 'Região Sudeste') | |
| 111 | +mg = new_region(sudeste, 'Minas Gerais') | |
| 112 | +sp = new_region(sudeste, 'São Paulo') | |
| 113 | +rj = new_region(sudeste, 'Rio de Janeiro') | |
| 114 | +es = new_region(sudeste, 'Espírito Santo') | |
| 115 | +sul = new_region(nacional, 'Região Sul') | |
| 116 | +pr = new_region(sul, 'Paraná') | |
| 117 | +rs = new_region(sul, 'Rio Grande do Sul') | |
| 118 | +sc = new_region(sul, 'Santa Catarina') | |
| 78 | 119 | |
| 79 | 120 | cadeias = new_category(nil, 'Cadeias', 3) |
| 80 | -new_category(cadeias, 'Algodão') | |
| 81 | -new_category(cadeias, 'Tecnologia de Informação') | |
| 121 | +new_category(cadeias, 'Agropecuária, extrativismo e pesca') | |
| 122 | +new_category(cadeias, 'Alimentação') | |
| 123 | +new_category(cadeias, 'Artesanato') | |
| 124 | +new_category(cadeias, 'Indústria') | |
| 125 | +new_category(cadeias, 'Confecção, fiação e tecelagem') | |
| 126 | +new_category(cadeias, 'Reciclagem') | |
| 127 | +new_category(cadeias, 'Turismo') | |
| 128 | +new_category(cadeias, 'Construção') | |
| 129 | +new_category(cadeias, 'Crédito e finanças') | |
| 130 | +new_category(cadeias, 'Saúde') | |
| 131 | +new_category(cadeias, 'Educação e formação') | |
| 132 | +new_category(cadeias, 'Limpeza e higiene') | |
| 133 | +new_category(cadeias, 'Cultura') | |
| 134 | +new_category(cadeias, 'Cadeia do mel') | |
| 135 | +new_category(cadeias, 'Cadeia do algodão agroecológico') | |
| 136 | +new_category(cadeias, 'Cadeia das sementes') | |
| 137 | +new_category(cadeias, 'Cadeia da fruta') | |
| 82 | 138 | |
| 83 | 139 | # validators |
| 84 | 140 | colivre = new_validator(ba, "Colivre", 'colivre', Enterprise) | ... | ... |