Commit 3a88903e7277712e83a2cc0359f11d80aa79121a
1 parent
08b7ed84
Exists in
master
and in
29 other branches
ActionItem0: clean up the system
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@188 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
4 changed files
with
15 additions
and
30 deletions
Show diff stats
app/views/home/_leo.rhtml
app/views/home/index.rhtml
db/migrate/002_create_profiles.rb
| ... | ... | @@ -6,9 +6,9 @@ class CreateProfiles < ActiveRecord::Migration |
| 6 | 6 | t.column :virtual_community_id, :integer |
| 7 | 7 | t.column :profile_owner_id, :integer |
| 8 | 8 | t.column :profile_owner_type, :string |
| 9 | - t.column :template, :string, :default => "default" | |
| 10 | - t.column :theme, :string, :default => "default" | |
| 11 | - t.column :icon_theme, :string, :default => "default" | |
| 9 | + t.column :flexible_template_template, :string, :default => "default" | |
| 10 | + t.column :flexible_template_theme, :string, :default => "default" | |
| 11 | + t.column :flexible_template_icon_theme, :string, :default => "default" | |
| 12 | 12 | end |
| 13 | 13 | end |
| 14 | 14 | ... | ... |
test/fixtures/profiles.yml
| ... | ... | @@ -6,9 +6,9 @@ johndoe: |
| 6 | 6 | virtual_community_id: 1 |
| 7 | 7 | profile_owner_id: 1 |
| 8 | 8 | profile_owner_type: 'User' |
| 9 | - template: 'default' | |
| 10 | - icon_theme: 'default' | |
| 11 | - theme: 'default' | |
| 9 | + flexible_template_template: 'default' | |
| 10 | + flexible_template_icon_theme: 'default' | |
| 11 | + flexible_template_theme: 'default' | |
| 12 | 12 | joerandomhacker: |
| 13 | 13 | id: 2 |
| 14 | 14 | name: 'Joe Random Hacker' |
| ... | ... | @@ -16,22 +16,22 @@ joerandomhacker: |
| 16 | 16 | virtual_community_id: 1 |
| 17 | 17 | profile_owner_id: 2 |
| 18 | 18 | profile_owner_type: 'User' |
| 19 | - template: 'simple' | |
| 20 | - icon_theme: 'simple' | |
| 21 | - theme: 'simple' | |
| 19 | + flexible_template_template: 'simple' | |
| 20 | + flexible_template_icon_theme: 'simple' | |
| 21 | + flexible_template_theme: 'simple' | |
| 22 | 22 | john_and_joe: |
| 23 | 23 | id: 3 |
| 24 | 24 | name: "John and Joe's Production Cooperative" |
| 25 | 25 | identifier: john_and_joe |
| 26 | 26 | virtual_community_id: 1 |
| 27 | - template: 'simple' | |
| 28 | - icon_theme: 'simple' | |
| 29 | - theme: 'simple' | |
| 27 | + flexible_template_template: 'simple' | |
| 28 | + flexible_template_icon_theme: 'simple' | |
| 29 | + flexible_template_theme: 'simple' | |
| 30 | 30 | ze: |
| 31 | 31 | id: 4 |
| 32 | 32 | name: "Zé" |
| 33 | 33 | identifier: ze |
| 34 | 34 | virtual_community_id: 1 |
| 35 | - template: 'default' | |
| 36 | - icon_theme: 'default' | |
| 37 | - theme: 'default' | |
| 35 | + flexible_template_template: 'default' | |
| 36 | + flexible_template_icon_theme: 'default' | |
| 37 | + flexible_template_theme: 'default' | ... | ... |