Commit 5c74595a3d60710a7ad53db7b7cf94019073a7e5
1 parent
7a2fb0a0
Exists in
master
and in
22 other branches
ActionItem121: changed the name of the default environment to anhentegua in the …
…anhentegua script and added an icon thumbnail to the image model git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1188 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/models/image.rb
| ... | ... | @@ -5,7 +5,7 @@ class Image < ActiveRecord::Base |
| 5 | 5 | :storage => :file_system, |
| 6 | 6 | :max_size => 500.kilobytes, |
| 7 | 7 | :resize_to => '320x200>', |
| 8 | - :thumbnails => { :thumb => '100x100>', :minor => '64x64>', :portrait => 'x95' } | |
| 8 | + :thumbnails => { :thumb => '100x100>', :minor => '64x64>', :portrait => 'x95' , :icon => '20x20'} | |
| 9 | 9 | |
| 10 | 10 | validates_as_attachment |
| 11 | 11 | end | ... | ... |
script/anhetegua
| ... | ... | @@ -36,7 +36,7 @@ def new_member(org, person) |
| 36 | 36 | org.affiliate() |
| 37 | 37 | end |
| 38 | 38 | |
| 39 | -Environment.create!(:name => 'Economia Solidária', :is_default => true) | |
| 39 | +Environment.create!(:name => 'Anheteguá', :is_default => true) | |
| 40 | 40 | |
| 41 | 41 | tematicas = new_category(nil, 'Temáticas', 1) |
| 42 | 42 | new_category(tematicas, 'Finanças Solidárias') | ... | ... |