Commit 6d8d6e23a2bf2aa97c0f3ea7c37f5e5df8bb4844

Authored by Daniela Feitosa
2 parents 53342611 db028c22

Merge remote-tracking branch 'origin/stable-1.3' into stable-spb-1.3

Showing 1104 changed files with 76376 additions and 49459 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 1104 files displayed.

.travis.yml
1 1 notifications:
2 2 irc:
3   - - "chat.freenode.net#noosfero"
4   - - "chat.freenode.net#noosfero-br"
  3 + channels:
  4 + - "chat.freenode.net#noosfero"
  5 + - "chat.freenode.net#noosfero-br"
  6 + template:
  7 + - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}"
5 8  
6 9 language: ruby
7 10 rvm:
... ... @@ -34,9 +37,6 @@ cache: bundler
34 37  
35 38 before_script:
36 39 - mkdir -p tmp/{pids,cache} log
37   -# workaround for plugins with Gemfile
38   - - perl -pi -e 's/cat .+ > \$gemfile/echo "source \\"https:\/\/rubygems.org\\"" > \$gemfile && cat \$source\/Gemfile >> \$gemfile/' script/noosfero-plugins
39   - - perl -pi -e 's/--local --quiet/install --jobs=3 --retry=3/' script/noosfero-plugins
40 40 - script/noosfero-plugins disableall
41 41 - bundle exec rake makemo &>/dev/null
42 42 # database
... ... @@ -51,7 +51,7 @@ env:
51 51 - TASK=test:integration
52 52 - TASK=cucumber
53 53 - TASK=selenium
54   - - TASK=test:noosfero_plugins
  54 + - TASK=test:noosfero_plugins BUNDLE_OPTS=install
55 55  
56 56 script:
57 57 - bundle exec rake $TASK
... ...
AUTHORS.md
... ... @@ -11,6 +11,7 @@ Developers
11 11 Ábner Silva de Oliveira <abner.oliveira@serpro.gov.br>
12 12 Alan Freihof Tygel <alantygel@gmail.com>
13 13 Alessandro Palmeira <alessandro.palmeira@gmail.com>
  14 +Alexandre Torres <alexandrekry@gmail.com>
14 15 Alex Campelo <campelo.al1@gmail.com>
15 16 Álvaro Fernando <alvarofernandoms@gmail.com>
16 17 Ana Losnak <analosnak@gmail.com>
... ... @@ -63,6 +64,7 @@ Isaac Canan &lt;isaac@intelletto.com.br&gt;
63 64 Italo Valcy <italo@dcc.ufba.br>
64 65 Jefferson Fernandes <jeffs.fernandes@gmail.com>
65 66 Jérôme Jutteau <j.jutteau@gmail.com>
  67 +Jéssica Cristina <jessica.cris1127@gmail.com>
66 68 João Machini
67 69 João M. M. da Silva <jaodsilv@linux.ime.usp.br>
68 70 Joenio Costa <joenio@colivre.coop.br>
... ... @@ -82,12 +84,14 @@ Luciano Prestes Cavalcanti &lt;lucianopcbr@gmail.com&gt;
82 84 Luis David Aguilar Carlos <ludwig9003@gmail.com>
83 85 Luiz Fernando de Freitas Matos <luiz@luizff.matos@gmail.com>
84 86 Luiz Matos <luizff.matos@gmail.com>
  87 +Marcelo Júnior <maljunior@gmail.com>
85 88 Marcos Ramos <ms.ramos@outlook.com>
86 89 Marcos Ronaldo <marcos.rpj2@gmail.com>
87 90 Mariel Zasso <noosfero-br@listas.softwarelivre.org>
88 91 Martín Olivera <molivera@solar.org.ar>
89 92 Matheus Faria <matheus.sousa.faria@gmail.com>
90 93 Maurilio Atila <cabelotaina@gmail.com>
  94 +Melissa Wen <melissa@colivre.coop.br>
91 95 M for Momo <mo@rtnp.org>
92 96 Michal Čihař <michal@cihar.com>
93 97 Michel Felipe de Oliveira Ferreira <michel.ferreira@serpro.gov.br>
... ... @@ -112,9 +116,10 @@ Renan Costa &lt;renan2727@hotmail.com&gt;
112 116 Renan Teruo <renanteruoc@gmail.com>
113 117 Rodrigo Medeiros <rodrigo.mss01@gmail.com>
114 118 Rodrigo Souto <rodrigo@colivre.coop.br>
  119 +Ronnie Simon <ronniesimonf@gmail.com>
115 120 Ronny Kursawe <kursawe.ronny@googlemail.com>
116 121 Samuel R. C. Vale <srcvale@holoscopio.com>
117   -Simiao Carvalho <simiaosimis@gmail.com>
  122 +Simião Carvalho <simiaosimis@gmail.com>
118 123 Tallys Martins <tallysmartins@yahoo.com.br>
119 124 Thiago Casotti <thiago.casotti@uol.com.br>
120 125 Thiago Kairala <thiagor.kairala@gmail.com>
... ... @@ -125,6 +130,7 @@ TWS &lt;tablettws@gmail.com&gt;
125 130 Valessio Brito <contato@valessiobrito.com.br>
126 131 Victor Costa <vfcosta@gmail.com>
127 132 Victor Hugo Alves de Carvalho <victorhugodf.ac@gmail.com>
  133 +Victor Navarro <victor.matias.navarro@gmail.com>
128 134 Vinicius Cubas Brand <viniciuscb@gmail.com>
129 135 Vitor Barbosa <vitornga15@gmail.com>
130 136 Wilton Rodrigues <braynwilton@gmail.com>
... ...
Gemfile
... ... @@ -30,6 +30,7 @@ gem &#39;rack-contrib&#39;
30 30 # asset pipeline
31 31 gem 'uglifier', '>= 1.0.3'
32 32 gem 'sass-rails'
  33 +gem 'sass', '~> 3.1.19'
33 34  
34 35 group :production do
35 36 gem 'dalli', '~> 2.7.0'
... ... @@ -47,7 +48,7 @@ group :cucumber do
47 48 gem 'capybara', '~> 2.1.0'
48 49 gem 'cucumber', '~> 1.0.6'
49 50 gem 'database_cleaner', '~> 1.2.0'
50   - gem 'selenium-webdriver', '~> 2.39.0'
  51 + gem 'selenium-webdriver', '~> 2.47.0'
51 52 end
52 53  
53 54 # Requires custom dependencies
... ...
app/controllers/application_controller.rb
... ... @@ -9,11 +9,15 @@ class ApplicationController &lt; ActionController::Base
9 9 before_filter :allow_cross_domain_access
10 10  
11 11 before_filter :login_from_cookie
12   - before_filter :login_required, :if => :private_environment?
  12 + before_filter :require_login_for_environment, :if => :private_environment?
13 13  
14 14 before_filter :verify_members_whitelist, :if => [:private_environment?, :user]
15 15 before_filter :redirect_to_current_user
16 16  
  17 + def require_login_for_environment
  18 + login_required
  19 + end
  20 +
17 21 def verify_members_whitelist
18 22 render_access_denied unless user.is_admin? || environment.in_whitelist?(user)
19 23 end
... ...
app/controllers/my_profile/cms_controller.rb
... ... @@ -27,7 +27,7 @@ class CmsController &lt; MyProfileController
27 27  
28 28 helper_method :file_types
29 29  
30   - protect_if :except => [:suggest_an_article, :set_home_page, :edit, :destroy, :publish, :upload_files, :new] do |c, user, profile|
  30 + protect_if :except => [:suggest_an_article, :set_home_page, :edit, :destroy, :publish, :publish_on_portal_community, :publish_on_communities, :search_communities_to_publish, :upload_files, :new] do |c, user, profile|
31 31 user && (user.has_permission?('post_content', profile) || user.has_permission?('publish_content', profile))
32 32 end
33 33  
... ... @@ -288,7 +288,7 @@ class CmsController &lt; MyProfileController
288 288 task.cancel
289 289 end
290 290 if @failed.blank?
291   - session[:notice] = _("Your publish request was sent successfully")
  291 + session[:notice] = _("You published this content successfully")
292 292 if @back_to
293 293 redirect_to @back_to
294 294 else
... ...
app/controllers/public/account_controller.rb
... ... @@ -2,7 +2,7 @@ class AccountController &lt; ApplicationController
2 2  
3 3 no_design_blocks
4 4  
5   - before_filter :login_required, :only => [:activation_question, :accept_terms, :activate_enterprise, :change_password]
  5 + before_filter :login_required, :require_login_for_environment, :only => [:activation_question, :accept_terms, :activate_enterprise, :change_password]
6 6 before_filter :redirect_if_logged_in, :only => [:login, :signup]
7 7 before_filter :protect_from_bots, :only => :signup
8 8  
... ...
app/controllers/public/content_viewer_controller.rb
... ... @@ -39,7 +39,10 @@ class ContentViewerController &lt; ApplicationController
39 39 end
40 40  
41 41 # At this point the page will be showed
42   - @page.hit unless user_is_a_bot? || already_visited?(@page)
  42 +
  43 + unless user_is_a_bot? || already_visited?(@page)
  44 + Noosfero::Scheduler::Defer.later{ @page.hit }
  45 + end
43 46  
44 47 @page = FilePresenter.for @page
45 48  
... ...
app/controllers/public/search_controller.rb
... ... @@ -176,22 +176,24 @@ class SearchController &lt; PublicController
176 176 end
177 177 end
178 178  
179   - AVAILABLE_SEARCHES = ActiveSupport::OrderedHash[
180   - :articles, _('Contents'),
181   - :people, _('People'),
182   - :communities, _('Communities'),
183   - :enterprises, _('Enterprises'),
184   - :products, _('Products and Services'),
185   - :events, _('Events'),
186   - ]
  179 + def available_searches
  180 + @available_searches ||= ActiveSupport::OrderedHash[
  181 + :articles, _('Contents'),
  182 + :people, _('People'),
  183 + :communities, _('Communities'),
  184 + :enterprises, _('Enterprises'),
  185 + :products, _('Products and Services'),
  186 + :events, _('Events'),
  187 + ]
  188 + end
187 189  
188 190 def load_search_assets
189   - if AVAILABLE_SEARCHES.keys.include?(params[:action].to_sym) && environment.enabled?("disable_asset_#{params[:action]}")
  191 + if available_searches.keys.include?(params[:action].to_sym) && environment.enabled?("disable_asset_#{params[:action]}")
190 192 render_not_found
191 193 return
192 194 end
193 195  
194   - @enabled_searches = AVAILABLE_SEARCHES.select {|key, name| environment.disabled?("disable_asset_#{key}") }
  196 + @enabled_searches = available_searches.select {|key, name| environment.disabled?("disable_asset_#{key}") }
195 197 @searching = {}
196 198 @titles = {}
197 199 @enabled_searches.each do |key, name|
... ... @@ -203,7 +205,7 @@ class SearchController &lt; PublicController
203 205  
204 206 def load_order
205 207 @order = 'more_recent'
206   - if AVAILABLE_SEARCHES.keys.include?(@asset.to_sym)
  208 + if available_searches.keys.include?(@asset.to_sym)
207 209 available_orders = asset_class(@asset)::SEARCH_FILTERS[:order]
208 210 @order = params[:order] if available_orders.include?(params[:order])
209 211 end
... ...
app/helpers/action_tracker_helper.rb
... ... @@ -67,19 +67,19 @@ module ActionTrackerHelper
67 67 }
68 68 end
69 69  
70   - def create_product_description
  70 + def create_product_description ta
71 71 _('created the product %{title}') % {
72 72 title: link_to(truncate(ta.get_name), ta.get_url),
73 73 }
74 74 end
75 75  
76   - def update_product_description
  76 + def update_product_description ta
77 77 _('updated the product %{title}') % {
78 78 title: link_to(truncate(ta.get_name), ta.get_url),
79 79 }
80 80 end
81 81  
82   - def remove_product_description
  82 + def remove_product_description ta
83 83 _('removed the product %{title}') % {
84 84 title: truncate(ta.get_name),
85 85 }
... ...
app/helpers/application_helper.rb
... ... @@ -1316,7 +1316,12 @@ module ApplicationHelper
1316 1316 options[:class] = (options[:class] || '') + ' disabled'
1317 1317 content_tag('a', '&nbsp;'+content_tag('span', content), options)
1318 1318 else
1319   - link_to content, url, options
  1319 + if options[:modal]
  1320 + options.delete(:modal)
  1321 + modal_link_to content, url, options
  1322 + else
  1323 + link_to content, url, options
  1324 + end
1320 1325 end
1321 1326 end
1322 1327  
... ...
app/helpers/cms_helper.rb
... ... @@ -30,7 +30,7 @@ module CmsHelper
30 30 end
31 31  
32 32 def display_spread_button(article)
33   - expirable_button article, :spread, _('Spread this'), {:action => 'publish', :id => article.id}, {:class => 'colorbox'}
  33 + expirable_button article, :spread, _('Spread this'), {:action => 'publish', :id => article.id}, {:modal => true}
34 34 end
35 35  
36 36 def display_delete_button(article)
... ...
app/helpers/search_helper.rb
... ... @@ -5,24 +5,21 @@ module SearchHelper
5 5 BLOCKS_SEARCH_LIMIT = 24
6 6 MULTIPLE_SEARCH_LIMIT = 8
7 7  
8   - FILTERS_TRANSLATIONS = {
9   - :order => _('Order'),
10   - :display => _('Display')
11   - }
12   -
13   - FILTERS_OPTIONS_TRANSLATION = {
14   - :order => {
15   - 'more_popular' => _('More popular'),
16   - 'more_active' => _('More active'),
17   - 'more_recent' => _('More recent'),
18   - 'more_comments' => _('More comments')
19   - },
20   - :display => {
21   - 'map' => _('Map'),
22   - 'full' => _('Full'),
23   - 'compact' => _('Compact')
  8 + def filters_options_translation
  9 + @filters_options_translation ||= {
  10 + :order => {
  11 + 'more_popular' => _('More popular'),
  12 + 'more_active' => _('More active'),
  13 + 'more_recent' => _('More recent'),
  14 + 'more_comments' => _('More comments')
  15 + },
  16 + :display => {
  17 + 'map' => _('Map'),
  18 + 'full' => _('Full'),
  19 + 'compact' => _('Compact')
  20 + }
24 21 }
25   - }
  22 + end
26 23  
27 24 COMMON_PROFILE_LIST_BLOCK = [
28 25 :enterprises,
... ... @@ -100,7 +97,7 @@ module SearchHelper
100 97 if options.size <= 1
101 98 return
102 99 else
103   - options = options.map {|option| [FILTERS_OPTIONS_TRANSLATION[name][option], option]}
  100 + options = options.map {|option| [filters_options_translation[name][option], option]}
104 101 options = options_for_select(options, :selected => (params[name] || default))
105 102 select_tag(name, options)
106 103 end
... ...
app/models/approve_article.rb
... ... @@ -142,9 +142,4 @@ class ApproveArticle &lt; Task
142 142 message
143 143 end
144 144  
145   - def request_is_member_of_target
146   - unless requestor.is_member_of?(target)
147   - errors.add(:approve_article, N_('Requestor must be a member of target.'))
148   - end
149   - end
150 145 end
... ...
app/models/article.rb
... ... @@ -29,9 +29,14 @@ class Article &lt; ActiveRecord::Base
29 29 def initialize(*params)
30 30 super
31 31  
32   - if !params.blank? && params.first.has_key?(:profile) && !params.first[:profile].blank?
33   - profile = params.first[:profile]
34   - self.published = false unless profile.public?
  32 + if !params.blank?
  33 + if params.first.has_key?(:profile) && !params.first[:profile].blank?
  34 + profile = params.first[:profile]
  35 + self.published = false unless profile.public_profile
  36 + end
  37 +
  38 + self.published = params.first["published"] if params.first.has_key?("published")
  39 + self.published = params.first[:published] if params.first.has_key?(:published)
35 40 end
36 41  
37 42 end
... ...
app/models/event.rb
... ... @@ -114,7 +114,7 @@ class Event &lt; Article
114 114 end
115 115  
116 116 def duration
117   - (((self.end_date || self.start_date) - self.start_date).to_i/60/60/24)
  117 + (((self.end_date || self.start_date) - self.start_date).to_i/60/60/24) + 1
118 118 end
119 119  
120 120 alias_method :article_lead, :lead
... ...
app/models/favorite_enterprises_block.rb
... ... @@ -16,7 +16,7 @@ class FavoriteEnterprisesBlock &lt; ProfileListBlock
16 16 owner = self.owner
17 17 return '' unless owner.kind_of?(Person)
18 18 proc do
19   - link_to _('View all'), :profile => owner.identifier, :controller => 'profile', :action => 'favorite_enterprises'
  19 + link_to _('enterprises|View all'), {:profile => owner.identifier, :controller => 'profile', :action => 'favorite_enterprises'}, :class => 'view-all'
20 20 end
21 21 end
22 22  
... ...
app/models/rss_feed.rb
... ... @@ -14,7 +14,7 @@ class RssFeed &lt; Article
14 14  
15 15 # store setting in body
16 16 serialize :body, Hash
17   -
  17 +
18 18 def body
19 19 self[:body] ||= {}
20 20 end
... ... @@ -89,6 +89,14 @@ class RssFeed &lt; Article
89 89 )
90 90 end
91 91  
  92 + def published?
  93 + if self.parent
  94 + self.parent.published?
  95 + else
  96 + self.published
  97 + end
  98 + end
  99 +
92 100 def self.short_description
93 101 _('RSS Feed')
94 102 end
... ...
app/models/task.rb
... ... @@ -139,28 +139,6 @@ class Task &lt; ActiveRecord::Base
139 139 end
140 140 end
141 141  
142   - def requestor_is_of_kind(klass, message = nil)
143   - error_message = message ||= _('Task requestor must be '+klass.to_s.downcase)
144   - group = klass.to_s.downcase.pluralize
145   - if environment.respond_to?(group) and requestor_id
146   - requestor = requestor ||= environment.send(klass.to_s.downcase.pluralize).find_by_id(requestor_id)
147   - end
148   - unless requestor.class == klass
149   - errors.add(error_message)
150   - end
151   - end
152   -
153   - def target_is_of_kind(klass, message = nil)
154   - error_message = message ||= _('Task target must be '+klass.to_s.downcase)
155   - group = klass.to_s.downcase.pluralize
156   - if environment.respond_to?(group) and target_id
157   - target = target ||= environment.send(klass.to_s.downcase.pluralize).find_by_id(target_id)
158   - end
159   - unless target.class == klass
160   - errors.add(error_message)
161   - end
162   - end
163   -
164 142 def close(status, closed_by)
165 143 self.status = status
166 144 self.end_date = Time.now
... ...
app/views/cms/_published_media_items.html.erb
... ... @@ -4,7 +4,7 @@
4 4 <div class='section-title'>
5 5 <h3><%= header %></h3>
6 6 <% if @recent_files[key].total_pages > 1 %>
7   - <%= link_to(_('View all'), {:controller => 'cms', :action => 'view_all_media', :profile => profile.identifier, :key => key}, :class => 'view-all colorbox', 'data-key' => key) %>
  7 + <%= modal_link_to(_('View all'), {:controller => 'cms', :action => 'view_all_media', :profile => profile.identifier, :key => key}, { :class => 'view-all', 'data-key' => key }) %>
8 8 <% end %>
9 9 </div>
10 10 <%= render :partial => "cms/media_panel/list_published_media_items", :locals => { key: key, show_pagination_links: false } %>
... ...
app/views/content_viewer/_article_toolbar.html.erb
... ... @@ -18,7 +18,7 @@
18 18  
19 19 <% if @page.allow_spread?(user) && !remove_content_button(:spread, @page) %>
20 20 <% url = profile.admin_url.merge({ :controller => 'cms', :action => 'publish', :id => @page.id }) %>
21   - <%= expirable_button @page, :spread, content_tag( 'span', _('Spread this') ), url, {:class => 'colorbox'} if url %>
  21 + <%= expirable_button @page, :spread, content_tag( 'span', _('Spread this') ), url, {:modal => true} if url %>
22 22 <% end %>
23 23  
24 24 <% if !@page.gallery? && (@page.allow_create?(user) || (@page.parent && @page.parent.allow_create?(user))) %>
... ...
app/views/content_viewer/view_page.html.erb
... ... @@ -31,7 +31,7 @@
31 31 <% cache(@page.cache_key(params, user, language)) do %>
32 32 <div class="<%="article-body article-body-" + @page.css_class_name %>">
33 33 <% options = @page.image? ? {:gallery_view => true} : {} %>
34   - <% if @page.image.present? && !@page.event? %>
  34 + <% if @page.image.present? && !@page.event? && !@page.blog? %>
35 35 <div class="article-body-img">
36 36 <%= image_tag(@page.image.public_filename) %>
37 37 <p><%= @page.image.label%></p>
... ...
app/views/profile/_create_product.html.erb
... ... @@ -3,7 +3,7 @@
3 3 </div>
4 4 <div class='profile-activity-description'>
5 5 <p class='profile-activity-text'><%= link_to activity.user.short_name(nil), activity.user.url %> <%= describe activity %></p>
6   - <p class='profile-activity-time'><%= time_ago_as_sentence activity.created_at %></p>
  6 + <p class='profile-activity-time'><%= time_ago_in_words activity.created_at %></p>
7 7  
8 8 <div class='profile-wall-actions'>
9 9 <%= link_to_function(_('Remove'), 'remove_item_wall(this, \'%s\', \'%s\', \'%s\'); return false ;' % [".profile-activity-item", url_for(:profile => params[:profile], :action => :remove_activity, :activity_id => activity.id, :view => params[:view]), _('Are you sure you want to remove this activity and all its replies?')]) if logged_in? && current_person == @profile %>
... ...
app/views/profile/_favorite_enterprise.html.erb
... ... @@ -5,7 +5,7 @@
5 5 <p class='profile-activity-text'>
6 6 <%= link_to activity.user.short_name(nil), activity.user.url %> <%= describe activity %>
7 7 </p>
8   - <p class='profile-activity-time'><%= time_ago_as_sentence activity.created_at %></p>
  8 + <p class='profile-activity-time'><%= time_ago_in_words activity.created_at %></p>
9 9  
10 10 <div class='profile-wall-actions'>
11 11 <%= link_to_function(_('Remove'), 'remove_item_wall(this, \'%s\', \'%s\', \'%s\'); return false ;' % [".profile-activity-item", url_for(:profile => params[:profile], :action => :remove_activity, :activity_id => activity.id, :view => params[:view]), _('Are you sure you want to remove this activity and all its replies?')]) if logged_in? && current_person == @profile %>
... ...
app/views/profile/_remove_product.html.erb
... ... @@ -2,7 +2,7 @@
2 2 </div>
3 3 <div class='profile-activity-description'>
4 4 <p class='profile-activity-text'><%= link_to activity.user.short_name(nil), activity.user.url %> <%= describe activity %></p>
5   - <p class='profile-activity-time'><%= time_ago_as_sentence activity.created_at %></p>
  5 + <p class='profile-activity-time'><%= time_ago_in_words activity.created_at %></p>
6 6  
7 7 <div class='profile-wall-actions'>
8 8 <%= link_to_function(_('Remove'), 'remove_item_wall(this, \'%s\', \'%s\', \'%s\'); return false ;' % [".profile-activity-item", url_for(:profile => params[:profile], :action => :remove_activity, :activity_id => activity.id, :view => params[:view]), _('Are you sure you want to remove this activity and all its replies?')]) if logged_in? && current_person == @profile %>
... ...
app/views/profile/_update_product.html.erb
... ... @@ -3,7 +3,7 @@
3 3 </div>
4 4 <div class='profile-activity-description'>
5 5 <p class='profile-activity-text'><%= link_to activity.user.short_name(nil), activity.user.url %> <%= describe activity %></p>
6   - <p class='profile-activity-time'><%= time_ago_as_sentence activity.created_at %></p>
  6 + <p class='profile-activity-time'><%= time_ago_in_words activity.created_at %></p>
7 7  
8 8 <div class='profile-wall-actions'>
9 9 <%= link_to_function(_('Remove'), 'remove_item_wall(this, \'%s\', \'%s\', \'%s\'); return false ;' % [".profile-activity-item", url_for(:profile => params[:profile], :action => :remove_activity, :activity_id => activity.id, :view => params[:view]), _('Are you sure you want to remove this activity and all its replies?')]) if logged_in? && current_person == @profile %>
... ...
app/views/profile_editor/index.html.erb
... ... @@ -28,7 +28,7 @@
28 28  
29 29 <%= control_panel_button(_('Manage Content'), 'cms', :controller => 'cms') %>
30 30  
31   - <%= control_panel_button(_('Manage Roles'), 'roles', :controller => 'profile_roles') %>
  31 + <%= control_panel_button(_('Manage Roles'), 'roles', :controller => 'profile_roles') if profile.organization? %>
32 32  
33 33 <% unless profile.enterprise? %>
34 34 <%= case profile.blogs.count
... ...
app/views/shared/logged_in/xmpp_chat.html.erb
1   - <%= javascript_include_tag 'strophejs-1.1.3/strophe.min', 'jquery.emoticon', '../designs/icons/pidgin/emoticons.js', 'ba-linkify', 'jquery.ba-hashchange', 'jquery.sound', 'chat', 'perfect-scrollbar.min.js', 'perfect-scrollbar.with-mousewheel.min.js', 'jquery.timeago.js', :cache => 'cache/chat' %>
2   - <%= stylesheet_link_tag 'perfect-scrollbar.min.css' %>
  1 + <%= javascript_include_tag 'strophejs-1.1.3/strophe.min', 'jquery.emoticon', '../designs/icons/pidgin/emoticons.js', 'ba-linkify', 'jquery.ba-hashchange', 'jquery.sound', 'chat', 'vendor/perfect-scrollbar.min.js', 'vendor/perfect-scrollbar.with-mousewheel.min.js', 'jquery.timeago.js', :cache => 'cache/chat' %>
  2 + <%= stylesheet_link_tag 'vendor/perfect-scrollbar.min.css' %>
3 3  
4 4 <% extend ChatHelper %>
5 5  
... ...
config/docker/dev/Dockerfile 0 → 100644
... ... @@ -0,0 +1,16 @@
  1 +# Noosfero development environment
  2 +#
  3 +# VERSION 0.0.1
  4 +
  5 +FROM debian:wheezy
  6 +MAINTAINER Noosfero Development Team <noosfero-dev@listas.softwarelivre.org>
  7 +
  8 +LABEL Description="This dockerfile builds a noosfero development environment."
  9 +WORKDIR /src/noosfero
  10 +
  11 +RUN apt-get update && apt-get install -y sudo git
  12 +RUN git clone --depth 1 https://gitlab.com/noosfero/noosfero.git .
  13 +
  14 +RUN sh script/quick-start --skip-translations
  15 +
  16 +EXPOSE 3000
... ...
config/environments/development.rb
... ... @@ -28,11 +28,10 @@ Noosfero::Application.configure do
28 28 # with SQLite, MySQL, and PostgreSQL)
29 29 config.active_record.auto_explain_threshold_in_seconds = 0.5
30 30  
31   - # Do not compress assets
32 31 config.assets.compress = false
33   -
34   - # Expands the lines which load the assets
35   - config.assets.debug = true
  32 + config.assets.digest = false
  33 + # we have a lot of assets
  34 + config.assets.debug = false
36 35  
37 36 config.consider_all_requests_local = true
38 37  
... ...
config/environments/production.rb
... ... @@ -44,7 +44,7 @@ Noosfero::Application.configure do
44 44 # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
45 45  
46 46 # Use a different cache store in production
47   - config.cache_store = :dalli_store, "localhost"
  47 + config.cache_store = :dalli_store, "127.0.0.1:11211"
48 48  
49 49 # Enable serving of images, stylesheets, and javascripts from an asset server
50 50 # config.action_controller.asset_host = "http://assets.example.com"
... ...
debian/changelog
1   -noosfero (1.3~0.0) UNRELEASED; urgency=medium
  1 +noosfero (1.3.1) wheezy-test; urgency=low
2 2  
3   - * Noosfero 1.3 ALPHA 0
  3 + * Bugfix release
  4 +
  5 + -- Antonio Terceiro <terceiro@colivre.coop.br> Fri, 20 Nov 2015 15:59:38 -0300
  6 +
  7 +noosfero (1.3) wheezy-test; urgency=low
  8 +
  9 + * Noosfero 1.3 final release
  10 +
  11 + -- Antonio Terceiro <terceiro@colivre.coop.br> Fri, 06 Nov 2015 09:19:34 -0300
  12 +
  13 +noosfero (1.3~rc3) wheezy-test; urgency=low
  14 +
  15 + * Noosfero 1.3 RC3
  16 +
  17 + -- Antonio Terceiro <terceiro@colivre.coop.br> Wed, 04 Nov 2015 12:44:22 -0300
  18 +
  19 +noosfero (1.3~rc2) wheezy-test; urgency=low
  20 +
  21 + * Noosfero 1.3 RC2
  22 +
  23 + -- Antonio Terceiro <terceiro@softwarelivre.org> Fri, 30 Oct 2015 15:57:14 -0300
  24 +
  25 +noosfero (1.3~rc1) wheezy-test; urgency=medium
  26 +
  27 + * Noosfero 1.3 RC1
4 28  
5   - -- Antonio Terceiro <terceiro@debian.org> Wed, 09 Sep 2015 21:27:05 -0300
  29 + -- Antonio Terceiro <terceiro@colivre.coop.br> Fri, 09 Oct 2015 10:24:13 -0300
6 30  
7 31 noosfero (1.2) wheezy; urgency=low
8 32  
... ...
etc/init.d/noosfero
... ... @@ -7,7 +7,7 @@
7 7 # Should-Stop: postgresql
8 8 # Default-Start: 2 3 4 5
9 9 # Default-Stop: 0 1 6
10   -# Short-Description: Example initscript
  10 +# Short-Description: Noosfero
11 11 # Description: This file should be used to construct scripts to be
12 12 # placed in /etc/init.d.
13 13 ### END INIT INFO
... ...
features/step_definitions/web_steps.rb
... ... @@ -163,6 +163,14 @@ Then /^(?:|I )should not see \/([^\/]*)\/(?: within &quot;([^&quot;]*)&quot;)?$/ do |regexp, se
163 163 end
164 164 end
165 165  
  166 +Then /^(?:|I )should not see "([^"]*)" within any "([^"]*)"?$/ do |text, selector|
  167 + if page.respond_to? :should
  168 + page.should have_no_css(selector, :text => text)
  169 + else
  170 + assert page.has_no_css?(selector, :text => text)
  171 + end
  172 +end
  173 +
166 174 Then /^the "([^"]*)" field(?: within "([^"]*)")? should contain "([^"]*)"$/ do |field, selector, value|
167 175 with_scope(selector) do
168 176 field = find_field(field)
... ...
lib/code_numbering.rb 0 → 100644
... ... @@ -0,0 +1,58 @@
  1 +module CodeNumbering
  2 + module ClassMethods
  3 + def code_numbering field, options = {}
  4 + class_attribute :code_numbering_field
  5 + class_attribute :code_numbering_options
  6 +
  7 + self.code_numbering_field = field
  8 + self.code_numbering_options = options
  9 +
  10 + before_create :create_code_numbering
  11 +
  12 + include CodeNumbering::InstanceMethods
  13 + end
  14 + end
  15 +
  16 + module InstanceMethods
  17 +
  18 + def code
  19 + self.attributes[self.code_numbering_field.to_s]
  20 + end
  21 +
  22 + def code_scope
  23 + scope = self.code_numbering_options[:scope]
  24 + case scope
  25 + when Symbol
  26 + self.send scope
  27 + when Proc
  28 + instance_exec &scope
  29 + else
  30 + self.class
  31 + end
  32 + end
  33 +
  34 + def code_maximum
  35 + self.code_scope.maximum(self.code_numbering_field) || 0
  36 + end
  37 +
  38 + def create_code_numbering
  39 + max = self.code_numbering_options[:start].to_i - 1 if self.code_numbering_options[:start]
  40 + max = self.code_maximum
  41 + self.send "#{self.code_numbering_field}=", max+1
  42 + end
  43 +
  44 + def reset_scope_code_numbering
  45 + max = self.code_numbering_options[:start].to_i - 1 if self.code_numbering_options[:start]
  46 + max ||= 1
  47 +
  48 + self.code_scope.order(:created_at).each do |record|
  49 + record.update_column self.code_numbering_field, max
  50 + max += 1
  51 + end
  52 + self.reload
  53 + end
  54 +
  55 + end
  56 +end
  57 +
  58 +ActiveRecord::Base.extend CodeNumbering::ClassMethods
... ...
lib/noosfero/action_tracker_ext.rb
... ... @@ -27,6 +27,7 @@ Rails.configuration.to_prepare do
27 27  
28 28 def create_activity
29 29 target = if self.target.is_a? Profile then self.target else self.target.profile rescue self.user end
  30 + return if !target
30 31 return if self.verb.in? target.exclude_verbs_on_activities
31 32 ProfileActivity.create! profile: target, activity: self
32 33 end
... ...
lib/noosfero/api/helpers.rb
... ... @@ -225,12 +225,12 @@ module Noosfero
225 225 end
226 226  
227 227 def cant_be_saved_request!(attribute)
228   - message = _("(Invalid request) #{attribute} can't be saved")
  228 + message = _("(Invalid request) %s can't be saved") % attribute
229 229 render_api_error!(message, 400)
230 230 end
231 231  
232 232 def bad_request!(attribute)
233   - message = _("(Bad request) #{attribute} not given")
  233 + message = _("(Invalid request) %s not given") % attribute
234 234 render_api_error!(message, 400)
235 235 end
236 236  
... ...
lib/noosfero/version.rb
1 1 module Noosfero
2 2 PROJECT = 'noosfero'
3   - VERSION = '1.3~0.0'
  3 + VERSION = '1.3.1'
4 4 end
5 5  
6 6 root = File.expand_path(File.dirname(__FILE__) + '/../..')
7   -if File.exist?(File.join(root, '.git'))
8   - Noosfero::VERSION.clear << Dir.chdir(root) { `git describe --tags`.strip.sub('-rc', '~rc') }
  7 +if File.exist?(File.join(root, '.git')) && system('which git >/dev/null')
  8 + git_version = Dir.chdir(root) { `git describe --tags`.to_s.strip.sub('-rc', '~rc') }
  9 + if git_version > Noosfero::VERSION
  10 + Noosfero::VERSION.clear << git_version
  11 + end
9 12 end
... ...
lib/split_datetime.rb 0 → 100644
... ... @@ -0,0 +1,72 @@
  1 +
  2 +module SplitDatetime
  3 +
  4 + class << self
  5 + def nil_time
  6 + Time.parse "#{Time.now.hour}:0:0"
  7 + end
  8 + def nil_date
  9 + Date.today
  10 + end
  11 +
  12 + def to_time datetime
  13 + datetime = self.nil_time if datetime.blank?
  14 + datetime.to_formatted_s :time
  15 + end
  16 + def to_date datetime
  17 + datetime = self.nil_date if datetime.blank?
  18 + datetime.strftime '%d/%m/%Y'
  19 + end
  20 + def set_time datetime, value
  21 + value = if value.blank?
  22 + self.nil_time
  23 + elsif value.kind_of? String
  24 + Time.parse value
  25 + else
  26 + value.to_time
  27 + end
  28 + datetime = self.nil_date if datetime.blank?
  29 +
  30 + Time.mktime(datetime.year, datetime.month, datetime.day, value.hour, value.min, value.sec).to_datetime
  31 + end
  32 + def set_date datetime, value
  33 + value = if value.blank?
  34 + self.nil_date
  35 + elsif value.kind_of? String
  36 + DateTime.strptime value, '%d/%m/%Y'
  37 + else
  38 + value.to_time
  39 + end
  40 + datetime = nil_time if datetime.blank?
  41 +
  42 + Time.mktime(value.year, value.month, value.day, datetime.hour, datetime.min, datetime.sec).to_datetime
  43 + end
  44 + end
  45 +
  46 + module SplitMethods
  47 +
  48 + def split_datetime attr
  49 + define_method "#{attr}_time" do
  50 + datetime = send attr
  51 + SplitDatetime.to_time datetime
  52 + end
  53 + define_method "#{attr}_date" do
  54 + datetime = send attr
  55 + SplitDatetime.to_date datetime
  56 + end
  57 + define_method "#{attr}_time=" do |value|
  58 + datetime = send attr
  59 + send "#{attr}=", SplitDatetime.set_time(datetime, value)
  60 + end
  61 + define_method "#{attr}_date=" do |value|
  62 + datetime = send attr
  63 + send "#{attr}=", SplitDatetime.set_date(datetime, value)
  64 + end
  65 + end
  66 +
  67 + end
  68 +
  69 +end
  70 +
  71 +Class.extend SplitDatetime::SplitMethods
  72 +ActiveRecord::Base.extend SplitDatetime::SplitMethods
... ...
lib/tasks/backup.rake
... ... @@ -18,15 +18,17 @@ backup_dirs = [
18 18 desc "Creates a backup of the database and uploaded files"
19 19 task :backup => :check_backup_support do
20 20 dirs = backup_dirs.select { |d| File.exists?(d) }
  21 + rails_env = ENV["RAILS_ENV"] || 'production'
21 22  
22 23 backup_name = Time.now.strftime('%Y-%m-%d-%R')
23 24 backup_file = File.join('tmp/backup', backup_name) + '.tar.gz'
24 25 mkdir_p 'tmp/backup'
25 26 dump = File.join('tmp/backup', backup_name) + '.sql'
26 27  
27   - database = $config['production']['database']
28   - host = $config['production']['host']
29   - sh "pg_dump -h #{host} #{database} > #{dump}"
  28 + database = $config[rails_env]['database']
  29 + host = $config[rails_env]['host']
  30 + host = host && "-h #{host}" || ""
  31 + sh "pg_dump #{host} #{database} > #{dump}"
30 32  
31 33 sh 'tar', 'chaf', backup_file, dump, *dirs
32 34 rm_f dump
... ... @@ -51,6 +53,7 @@ end
51 53 desc "Restores a backup created previousy with \`rake backup\`"
52 54 task :restore => :check_backup_support do
53 55 backup = ENV["BACKUP"]
  56 + rails_env = ENV["RAILS_ENV"] || 'production'
54 57 unless backup
55 58 puts "usage: rake restore BACKUP=/path/to/backup"
56 59 exit 1
... ... @@ -80,17 +83,18 @@ task :restore =&gt; :check_backup_support do
80 83 end
81 84 dump = dumps.first
82 85  
83   - database = $config['production']['database']
84   - username = $config['production']['username']
85   - host = $config['production']['host']
  86 + database = $config[rails_env]['database']
  87 + username = $config[rails_env]['username']
  88 + host = $config[rails_env]['host']
  89 + host = host && "-h #{host}" || ""
86 90  
87 91 puts "WARNING: backups should be restored to an empty database, otherwise"
88 92 puts "data from the backup may not be loaded properly."
89 93 puts
90 94 puts 'You can remove the existing database and create a new one with:'
91 95 puts
92   - puts "$ sudo -u postgres dropdb -h #{host} #{database}"
93   - puts "$ sudo -u postgres createdb -h #{host} #{database} --owner #{username}"
  96 + puts "$ sudo -u postgres dropdb #{host} #{database}"
  97 + puts "$ sudo -u postgres createdb #{host} #{database} --owner #{username}"
94 98 puts
95 99 print "Are you sure you want to continue (y/N)? "
96 100 response = $stdin.gets.strip
... ... @@ -100,10 +104,39 @@ task :restore =&gt; :check_backup_support do
100 104 end
101 105  
102 106 sh 'tar', 'xaf', backup
103   - sh "rails dbconsole production < #{dump}"
  107 + sh "rails dbconsole #{rails_env} < #{dump}"
104 108 rm_f dump
105 109  
106 110 puts "****************************************************"
107 111 puts "Backup restored!"
108 112 puts "****************************************************"
109 113 end
  114 +
  115 +desc 'Removes emails from database'
  116 +task 'restore:remove_emails' => :environment do
  117 + connection = ActiveRecord::Base.connection
  118 + [
  119 + "UPDATE users SET email = concat('user', id, '@localhost.localdomain')",
  120 + "UPDATE environments SET contact_email = concat('environment', id, '@localhost.localdomain')",
  121 + ].each do |update|
  122 + puts update
  123 + connection.execute(update)
  124 + end
  125 +
  126 + profiles = connection.execute("select id, data from profiles")
  127 + profiles.each do |profile|
  128 + if profile['data']
  129 + data = YAML.load(profile['data'])
  130 + if data[:contact_email] && data[:contact_email] !~ /@localhost.localdomain$/
  131 + data[:contact_email] = ['profile', profile['id'], '@localhost.localdomain'].join
  132 + sql = Environment.send(:sanitize_sql, [
  133 + "UPDATE profiles SET data = ? WHERE id = ?",
  134 + YAML.dump(data),
  135 + profile['id'],
  136 + ])
  137 + puts sql
  138 + connection.execute(sql)
  139 + end
  140 + end
  141 + end
  142 +end
... ...
lib/tasks/plugins_tests.rake
... ... @@ -8,6 +8,7 @@ $broken_plugins = %w[
8 8  
9 9 @all_plugins = Dir.glob('plugins/*').map { |f| File.basename(f) } - ['template']
10 10 @all_plugins.sort!
  11 +
11 12 @all_tasks = [:units, :functionals, :integration, :cucumber, :selenium]
12 13  
13 14 def enabled_plugins
... ...
lib/tasks/release.rake
... ... @@ -251,7 +251,15 @@ EOF
251 251 end
252 252  
253 253 desc "finishes the release"
254   - task 'release:finish' => ['noosfero:upload_packages', 'noosfero:tag', 'noosfero:pushtag']
  254 + task 'release:finish', :target do |t, args|
  255 + target = args[:target]
  256 + unless target
  257 + abort "E: usage: rake noosfero:release:finish[TARGET]"
  258 + end
  259 + Rake::Task['noosfero:upload_packages'].invoke(target)
  260 + Rake::Task['noosfero:tag'].invoke
  261 + Rake::Task['noosfero:pushtag'].invoke
  262 + end
255 263  
256 264 desc 'Build Debian packages'
257 265 task :debian_packages => :package do
... ...
plugins/analytics/po/pt/analytics.po
... ... @@ -11,8 +11,8 @@
11 11 #
12 12 msgid ""
13 13 msgstr ""
14   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
15   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
  14 +"Project-Id-Version: 1.3~rc2-1-ga15645d\n"
  15 +"POT-Creation-Date: 2015-10-30 16:35-0300\n"
16 16 "PO-Revision-Date: 2015-07-21 09:23-0300\n"
17 17 "Last-Translator: Michal Čihař <michal@cihar.com>\n"
18 18 "Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
... ...
plugins/anti_spam/po/anti_spam.pot
... ... @@ -6,8 +6,8 @@
6 6 #, fuzzy
7 7 msgid ""
8 8 msgstr ""
9   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
10   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
  9 +"Project-Id-Version: 1.3~rc2-1-ga15645d\n"
  10 +"POT-Creation-Date: 2015-10-30 16:35-0300\n"
11 11 "PO-Revision-Date: 2015-08-06 17:21-0300\n"
12 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 13 "Language-Team: LANGUAGE <LL@li.org>\n"
... ...
plugins/anti_spam/po/de/anti_spam.po
... ... @@ -6,8 +6,8 @@
6 6 #
7 7 msgid ""
8 8 msgstr ""
9   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
10   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
  9 +"Project-Id-Version: 1.3~rc2-1-ga15645d\n"
  10 +"POT-Creation-Date: 2015-10-30 16:35-0300\n"
11 11 "PO-Revision-Date: 2014-12-12 14:23+0200\n"
12 12 "Last-Translator: Michal Čihař <michal@cihar.com>\n"
13 13 "Language-Team: German <https://hosted.weblate.org/projects/noosfero/noosfero/"
... ...
plugins/anti_spam/po/pt/anti_spam.po
... ... @@ -11,8 +11,8 @@
11 11 #
12 12 msgid ""
13 13 msgstr ""
14   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
15   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
  14 +"Project-Id-Version: 1.3~rc2-1-ga15645d\n"
  15 +"POT-Creation-Date: 2015-10-30 16:35-0300\n"
16 16 "PO-Revision-Date: 2014-12-18 18:40-0200\n"
17 17 "Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
18 18 "Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
... ...
plugins/breadcrumbs/po/breadcrumbs.pot
... ... @@ -6,8 +6,8 @@
6 6 #, fuzzy
7 7 msgid ""
8 8 msgstr ""
9   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
10   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
  9 +"Project-Id-Version: 1.3~rc2-1-ga15645d\n"
  10 +"POT-Creation-Date: 2015-10-30 16:35-0300\n"
11 11 "PO-Revision-Date: 2015-08-06 17:21-0300\n"
12 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 13 "Language-Team: LANGUAGE <LL@li.org>\n"
... ...
plugins/breadcrumbs/po/pt/breadcrumbs.po
... ... @@ -11,8 +11,8 @@
11 11 #
12 12 msgid ""
13 13 msgstr ""
14   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
15   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
  14 +"Project-Id-Version: 1.3~rc2-1-ga15645d\n"
  15 +"POT-Creation-Date: 2015-10-30 16:35-0300\n"
16 16 "PO-Revision-Date: 2014-12-18 18:40-0200\n"
17 17 "Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
18 18 "Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
... ...
plugins/bsc/controllers/bsc_plugin_admin_controller.rb
... ... @@ -1,37 +0,0 @@
1   -class BscPluginAdminController < AdminController
2   -
3   - include BscPlugin::BscHelper
4   -
5   - def new
6   - @bsc = BscPlugin::Bsc.new(params[:profile_data])
7   - if request.post? && @bsc.valid?
8   - @bsc.user = current_user
9   - @bsc.save!
10   - @bsc.add_admin(user)
11   - session[:notice] = _('Your Bsc was created.')
12   - redirect_to :controller => 'profile_editor', :profile => @bsc.identifier
13   - end
14   - end
15   -
16   - def save_validations
17   - enterprises = [Enterprise.find(params[:q].split(','))].flatten
18   -
19   - begin
20   - enterprises.each { |enterprise| enterprise.validated = true ; enterprise.save! }
21   - session[:notice] = _('Enterprises validated.')
22   - redirect_to :controller => 'admin_panel'
23   - rescue Exception => ex
24   - session[:notice] = _('Enterprise validations couldn\'t be saved.')
25   - logger.info ex
26   - redirect_to :action => 'validate_enterprises'
27   - end
28   - end
29   -
30   - def search_enterprise
31   - render :text => Enterprise.not_validated.find(:all, :conditions => ["type <> 'BscPlugin::Bsc' AND (name LIKE ? OR identifier LIKE ?)", "%#{params[:q]}%", "%#{params[:q]}%"]).
32   - map {|enterprise| {:id => enterprise.id, :name => enterprise.name} }.
33   - to_json
34   - end
35   -
36   -end
37   -
plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb
... ... @@ -1,215 +0,0 @@
1   -class BscPluginMyprofileController < MyProfileController
2   -
3   - include BscPlugin::BscHelper
4   -
5   - def manage_associated_enterprises
6   - @associated_enterprises = profile.enterprises
7   - @pending_enterprises = profile.enterprise_requests.pending.map(&:enterprise)
8   - end
9   -
10   - def search_enterprise
11   - render :text => environment.enterprises.find(:all, :conditions => ["type <> 'BscPlugin::Bsc' AND (LOWER(name) LIKE ? OR LOWER(identifier) LIKE ?) AND (identifier NOT LIKE ?)", "%#{params[:q]}%", "%#{params[:q]}%", "%_template"]).
12   - select { |enterprise| enterprise.bsc.nil? && !profile.already_requested?(enterprise)}.
13   - map {|enterprise| {:id => enterprise.id, :name => enterprise.name} }.
14   - to_json
15   - end
16   -
17   - def save_associations
18   - enterprises = [Enterprise.find(params[:q].split(','))].flatten
19   - to_remove = profile.enterprises - enterprises
20   - to_add = enterprises - profile.enterprises
21   -
22   - to_remove.each do |enterprise|
23   - enterprise.bsc = nil
24   - enterprise.save!
25   - profile.enterprises.delete(enterprise)
26   - end
27   -
28   - to_add.each do |enterprise|
29   - if enterprise.enabled
30   - BscPlugin::AssociateEnterprise.create!(:requestor => user, :target => enterprise, :bsc => profile)
31   - else
32   - enterprise.bsc = profile
33   - enterprise.save!
34   - profile.enterprises << enterprise
35   - end
36   - end
37   -
38   - session[:notice] = _('This Bsc associations were saved successfully.')
39   - begin
40   - redirect_to :controller => 'profile_editor'
41   - rescue Exception => ex
42   - session[:notice] = _('This Bsc associations couldn\'t be saved.')
43   - logger.info ex
44   - redirect_to :action => 'manage_associated_enterprises'
45   - end
46   - end
47   -
48   - def similar_enterprises
49   - name = params[:name]
50   - city = params[:city]
51   -
52   - result = []
53   - if !name.blank?
54   - enterprises = (profile.environment.enterprises - profile.enterprises).select { |enterprise| enterprise.bsc_id.nil? && enterprise.city == city && enterprise.name.downcase.include?(name.downcase)}
55   - result = enterprises.inject(result) {|result, enterprise| result << [enterprise.id, enterprise.name]}
56   - end
57   - render :text => result.to_json
58   - end
59   -
60   - def transfer_ownership
61   - role = Profile::Roles.admin(profile.environment.id)
62   - @roles = [role]
63   - if request.post?
64   - person = Person.find(params['q_'+role.key])
65   -
66   - profile.admins.map { |admin| profile.remove_admin(admin) }
67   - profile.add_admin(person)
68   -
69   - BscPlugin::Mailer.deliver_admin_notification(person, profile)
70   -
71   - session[:notice] = _('Enterprise ownership transferred.')
72   - redirect_to :controller => 'profile_editor'
73   - end
74   - end
75   -
76   - def create_enterprise
77   - @create_enterprise = CreateEnterprise.new(params[:create_enterprise])
78   - @create_enterprise.requestor = user
79   - @create_enterprise.target = environment
80   - @create_enterprise.bsc_id = profile.id
81   - @create_enterprise.enabled = true
82   - @create_enterprise.validated = false
83   - if request.post? && @create_enterprise.valid?
84   - @create_enterprise.perform
85   - session[:notice] = _('Enterprise was created in association with %s.') % profile.name
86   - redirect_to :controller => 'profile_editor', :profile => @create_enterprise.identifier
87   - end
88   - end
89   -
90   - def manage_contracts
91   - self.class.no_design_blocks
92   - @sorting = params[:sorting] || 'created_at asc'
93   - sorted_by = @sorting.split(' ').first
94   - sort_direction = @sorting.split(' ').last
95   - @status = params[:status] || BscPlugin::Contract::Status.types.map { |s| s.to_s }
96   - @contracts = profile.contracts.
97   - status(@status).
98   - sorted_by(sorted_by, sort_direction).
99   - paginate(:per_page => contracts_per_page, :page => params[:page])
100   - end
101   -
102   - def new_contract
103   - if !request.post?
104   - @contract = BscPlugin::Contract.new
105   - else
106   - @contract = BscPlugin::Contract.new(params[:contract])
107   - @contract.bsc = profile
108   - sales = params[:sales] ? params[:sales].map {|key, value| value} : []
109   - sales.reject! {|sale| sale[:product_id].blank?}
110   -
111   - if @contract.save!
112   - enterprises_ids = params[:enterprises] || ''
113   - enterprises_ids.split(',').each { |id| @contract.enterprises << Enterprise.find(id) }
114   - @failed_sales = @contract.save_sales(sales)
115   -
116   - if @failed_sales.blank?
117   - session[:notice] = _('Contract created.')
118   - redirect_to :action => 'manage_contracts'
119   - else
120   - session[:notice] = _('Contract created but some products could not be added.')
121   - redirect_to :action => 'edit_contract', :contract_id => @contract.id
122   - end
123   - end
124   - end
125   - end
126   -
127   - def view_contract
128   - begin
129   - @contract = BscPlugin::Contract.find(params[:contract_id])
130   - rescue
131   - session[:notice] = _('Contract doesn\'t exists! Maybe it was already removed.')
132   - redirect_to :action => 'manage_contracts'
133   - end
134   - end
135   -
136   - def edit_contract
137   - begin
138   - @contract = BscPlugin::Contract.find(params[:contract_id])
139   - rescue
140   - session[:notice] = _('Could not edit such contract.')
141   - redirect_to :action => 'manage_contracts'
142   - end
143   - if request.post? && @contract.update_attributes(params[:contract])
144   -
145   - # updating associated enterprises
146   - enterprises_ids = params[:enterprises] || ''
147   - enterprises = [Enterprise.find(enterprises_ids.split(','))].flatten
148   - to_remove = @contract.enterprises - enterprises
149   - to_add = enterprises - @contract.enterprises
150   - to_remove.each { |enterprise| @contract.enterprises.delete(enterprise)}
151   - to_add.each { |enterprise| @contract.enterprises << enterprise }
152   -
153   - # updating sales
154   - sales = params[:sales] ? params[:sales].map {|key, value| value} : []
155   - sales.reject! {|sale| sale[:product_id].blank?}
156   - products = [Product.find(sales.map { |sale| sale[:product_id] })].flatten
157   - to_remove = @contract.products - products
158   - to_keep = sales.select { |sale| @contract.products.include?(Product.find(sale[:product_id])) }
159   -
160   - to_keep.each do |sale_attrs|
161   - sale = @contract.sales.find_by_product_id(sale_attrs[:product_id])
162   - sale.update_attributes!(sale_attrs)
163   - sales.delete(sale_attrs)
164   - end
165   -
166   - to_remove.each { |product| @contract.sales.find_by_product_id(product.id).destroy }
167   - @failed_sales = @contract.save_sales(sales)
168   -
169   - if @failed_sales.blank?
170   - session[:notice] = _('Contract edited.')
171   - redirect_to :action => 'manage_contracts'
172   - else
173   - session[:notice] = _('Contract edited but some products could not be added.')
174   - redirect_to :action => 'edit_contract', :contract_id => @contract.id
175   - end
176   - end
177   - end
178   -
179   - def destroy_contract
180   - begin
181   - contract = BscPlugin::Contract.find(params[:contract_id])
182   - contract.destroy
183   - session[:notice] = _('Contract removed.')
184   - rescue
185   - session[:notice] = _('Contract could not be removed. Sorry! ^^')
186   - end
187   - redirect_to :action => 'manage_contracts'
188   - end
189   -
190   - def search_contract_enterprises
191   - render :text => profile.enterprises.find(:all, :conditions => ["(LOWER(name) LIKE ? OR LOWER(identifier) LIKE ?)", "%#{params[:enterprises]}%", "%#{params[:enterprises]}%"]).
192   - map {|enterprise| {:id => enterprise.id, :name => enterprise.short_name(60)} }.
193   - to_json
194   - end
195   -
196   - def search_sale_product
197   - query = params[:sales].map {|key, value| value}[0][:product_id]
198   - enterprises = (params[:enterprises] || []).split(',')
199   - enterprises = enterprises.blank? ? -1 : enterprises
200   - added_products = (params[:added_products] || []).split(',')
201   - added_products = added_products.blank? ? -1 : added_products
202   - render :text => Product.find(:all, :conditions => ["LOWER(name) LIKE ? AND profile_id IN (?) AND id NOT IN (?)", "%#{query}%", enterprises, added_products]).
203   - map {|product| { :id => product.id,
204   - :name => short_text(product_display_name(product), 60),
205   - :sale_id => params[:sale_id],
206   - :product_price => product.price || 0 }}.
207   - to_json
208   - end
209   -
210   - private
211   -
212   - def contracts_per_page
213   - 15
214   - end
215   -end
plugins/bsc/db/migrate/20110609143043_add_bsc_to_enterprise.rb
... ... @@ -1,9 +0,0 @@
1   -class AddBscToEnterprise < ActiveRecord::Migration
2   - def self.up
3   - add_column :profiles, :bsc_id, :integer
4   - end
5   -
6   - def self.down
7   - remove_column :profiles, :bsc_id
8   - end
9   -end
plugins/bsc/db/migrate/20110610145112_add_bsc_fields.rb
... ... @@ -1,9 +0,0 @@
1   -class AddBscFields < ActiveRecord::Migration
2   - def self.up
3   - add_column :profiles, :company_name, :string
4   - end
5   -
6   - def self.down
7   - remove_column :profiles, :company_name
8   - end
9   -end
plugins/bsc/db/migrate/20110614183624_add_bsc_to_tasks.rb
... ... @@ -1,9 +0,0 @@
1   -class AddBscToTasks < ActiveRecord::Migration
2   - def self.up
3   - add_column :tasks, :bsc_id, :integer
4   - end
5   -
6   - def self.down
7   - remove_column :tasks, :bsc_id
8   - end
9   -end
plugins/bsc/db/migrate/20111018201143_create_bsc_plugin_sale.rb
... ... @@ -1,15 +0,0 @@
1   -class CreateBscPluginSale < ActiveRecord::Migration
2   - def self.up
3   - create_table :bsc_plugin_sales do |t|
4   - t.references :product, :null => false
5   - t.references :contract, :null => false
6   - t.integer :quantity, :null => false
7   - t.decimal :price
8   - t.timestamps
9   - end
10   - end
11   -
12   - def self.down
13   - drop_table :bsc_plugin_sales
14   - end
15   -end
plugins/bsc/db/migrate/20111018201220_create_bsc_plugin_contracts_enterprises.rb
... ... @@ -1,12 +0,0 @@
1   -class CreateBscPluginContractsEnterprises < ActiveRecord::Migration
2   - def self.up
3   - create_table :bsc_plugin_contracts_enterprises, :id => false do |t|
4   - t.references :contract
5   - t.references :enterprise
6   - end
7   - end
8   -
9   - def self.down
10   - drop_table :bsc_plugin_contracts_enterprises
11   - end
12   -end
plugins/bsc/db/migrate/20111018201239_create_bsc_plugin_contract.rb
... ... @@ -1,22 +0,0 @@
1   -class CreateBscPluginContract < ActiveRecord::Migration
2   - def self.up
3   - create_table :bsc_plugin_contracts do |t|
4   - t.string :client_name
5   - t.integer :client_type
6   - t.integer :business_type
7   - t.string :state
8   - t.string :city
9   - t.integer :status, :default => 0
10   - t.integer :number_of_producers, :default => 0
11   - t.datetime :supply_start
12   - t.datetime :supply_end
13   - t.text :annotations
14   - t.references :bsc
15   - t.timestamps
16   - end
17   - end
18   -
19   - def self.down
20   - drop_table :bsc_plugin_contracts
21   - end
22   -end
plugins/bsc/features/bsc.feature
... ... @@ -1,164 +0,0 @@
1   -Feature: bsc
2   -
3   - Background:
4   - Given "Bsc" plugin is enabled
5   -
6   - Scenario: display link to bsc creation on admin panel when bsc plugin active
7   - Given I am logged in as admin
8   - When I am on the environment control panel
9   - Then I should see "Create Bsc"
10   - When "Bsc" plugin is disabled
11   - And I am on the environment control panel
12   - Then I should not see "Create Bsc"
13   -
14   - Scenario: be able to create a bsc
15   - Given I am logged in as admin
16   - And I am on the environment control panel
17   - And I follow "Create Bsc"
18   - And I fill in the following:
19   - | Business name | Sample Bsc |
20   - | Company name | Sample Bsc |
21   - | profile_data_identifier | sample-identifier |
22   - | Cnpj | 07.970.746/0001-77 |
23   - When I press "Save"
24   - Then there should be a profile named "Sample Bsc"
25   -
26   - Scenario: display a button on bsc control panel to manage associated enterprises
27   - Given the folllowing "bsc" from "bsc_plugin"
28   - | business_name | identifier | company_name | cnpj |
29   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
30   - And I am logged in as admin
31   - When I am on Bsc Test's control panel
32   - Then I should see "Manage associated enterprises"
33   -
34   - Scenario: display a button on bsc control panel to transfer ownership
35   - Given the folllowing "bsc" from "bsc_plugin"
36   - | business_name | identifier | company_name | cnpj |
37   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
38   - And I am logged in as admin
39   - When I am on Bsc Test's control panel
40   - Then I should see "Transfer ownership"
41   -
42   - Scenario: create a new enterprise already associated with a bsc
43   - Given the following user
44   - | login | name |
45   - | pedro-silva | Pedro Silva |
46   - And the folllowing "bsc" from "bsc_plugin"
47   - | business_name | identifier | company_name | cnpj | owner |
48   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 | pedro-silva |
49   - And organization_approval_method is "none" on environment
50   - And I am logged in as "pedro-silva"
51   - And I am on Bsc Test's control panel
52   - And I follow "Manage associated enterprises"
53   - And I follow "Add new enterprise"
54   - And I fill in the following:
55   - | Name | Associated Enterprise |
56   - | Address | associated-enterprise |
57   - When I press "Save"
58   - Then "Associated Enterprise" should be associated with "Bsc Test"
59   -
60   - Scenario: do not display "add new product" button
61   - Given the following user
62   - | login | name |
63   - | pedro-silva | Pedro Silva |
64   - And the folllowing "bsc" from "bsc_plugin"
65   - | business_name | identifier | company_name | cnpj | owner |
66   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 | pedro-silva |
67   - And feature "disable_products_for_enterprises" is disabled on environment
68   - And I am logged in as "pedro-silva"
69   - And I am on Bsc Test's control panel
70   - When I follow "Manage Products/Services"
71   - Then I should not see "New product or service"
72   -
73   - Scenario: display bsc's enterprises' products name on the bsc catalog
74   - Given the following user
75   - | login | name |
76   - | pedro-silva | Pedro Silva |
77   - And the folllowing "bsc" from "bsc_plugin"
78   - | business_name | identifier | company_name | cnpj | owner |
79   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 | pedro-silva |
80   - And the following enterprise
81   - | identifier | name |
82   - | sample-enterprise | Sample Enterprise |
83   - And the following product_category
84   - | name |
85   - | bike |
86   - And the following products
87   - | owner | category | name |
88   - | sample-enterprise | bike | Master Bike |
89   - And "Sample Enterprise" is associated with "Bsc Test"
90   - And I am logged in as "pedro-silva"
91   - When I go to Bsc Test's products page
92   - Then I should see "Master Bike"
93   - And I should see "Sample Enterprise"
94   -
95   - Scenario: display enterprise name linked only if person is member of any Bsc
96   - Given the folllowing "bsc" from "bsc_plugin"
97   - | business_name | identifier | company_name | cnpj |
98   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
99   - | Another Bsc | another-bsc | Another Bsc Test Ltda | 07.970.746/0001-77 |
100   - And the following enterprise
101   - | identifier | name |
102   - | sample-enterprise | Sample Enterprise |
103   - And the following product_category
104   - | name |
105   - | bike |
106   - And the following products
107   - | owner | category | name |
108   - | sample-enterprise | bike | Master Bike |
109   - And "Sample Enterprise" is associated with "Bsc Test"
110   - And the folllowing "bsc" from "bsc_plugin"
111   - | business_name | identifier | company_name | cnpj |
112   - And the following user
113   - | login | name |
114   - | pedro | Pedro Souto |
115   - | maria | Maria Souto |
116   - And pedro is member of another-bsc
117   - And I am logged in as "pedro"
118   - When I go to Bsc Test's products page
119   - Then I should see "Sample Enterprise"
120   - And I should see "Sample Enterprise" within "a.bsc-catalog-enterprise-link"
121   - But I am logged in as "maria"
122   - When I go to Bsc Test's products page
123   - Then I should see "Sample Enterprise"
124   - #TODO -> test that it's not a link
125   -
126   - Scenario: allow only environment administrators to delete bsc profile
127   - Given the folllowing "bsc" from "bsc_plugin"
128   - | business_name | identifier | company_name | cnpj |
129   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
130   - And the following user
131   - | login | name |
132   - | pedro | Pedro Souto |
133   - And "Pedro Souto" is admin of "Bsc Test"
134   - And I am logged in as "pedro"
135   - And I am on Bsc Test's control panel
136   - And I follow "Bsc info and settings"
137   - When I follow "Delete profile"
138   - Then I should see "Access denied"
139   - And "Bsc Test" profile should exist
140   - But I am logged in as admin
141   - And I am on Bsc Test's control panel
142   - And I follow "Bsc info and settings"
143   - When I follow "Delete profile"
144   - Then I should see "Deleting profile Bsc Test"
145   - And I follow "Yes, I am sure"
146   - Then "Bsc Test" profile should not exist
147   -
148   - # Like we can believe that selenium is going to work...
149   - @selenium
150   - Scenario: list already associated enterprises on manage associated enterprises
151   - Given the folllowing "bsc" from "bsc_plugin"
152   - | business_name | identifier | company_name | cnpj |
153   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
154   - And the following enterprises
155   - | identifier | name |
156   - | enterprise-1 | Enterprise 1 |
157   - | enterprise-2 | Enterprise 2 |
158   - And "Enterprise 1" is associated with "Bsc Test"
159   - And "Enterprise 2" is associated with "Bsc Test"
160   - And I am logged in as admin
161   - And I am on Bsc Test's control panel
162   - When I follow "Manage associated enterprises"
163   - Then I should see "Enterprise 1"
164   - And I should see "Enterprise 2"
plugins/bsc/features/contract.feature
... ... @@ -1,21 +0,0 @@
1   -Feature: Bsc contract
2   -As a Bsc admin
3   -I would like to register a contract
4   -In order to make negotiations
5   -
6   - Background:
7   - Given "Bsc" plugin is enabled
8   - And the folllowing "bsc" from "bsc_plugin"
9   - | business_name | identifier | company_name | cnpj |
10   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
11   - And I am logged in as admin
12   -
13   - Scenario: be able see the manage contracts button only if the profile is a Bsc
14   - Given the following community
15   - | name | identifier |
16   - | Sample Community | sample-community |
17   - When I am on Sample Community's control panel
18   - Then I should not see "Manage contracts"
19   - But I am on Bsc Test's control panel
20   - Then I should see "Manage contracts"
21   -
plugins/bsc/install.rb
... ... @@ -1 +0,0 @@
1   -raise "Not ready yet"
plugins/bsc/lib/bsc_plugin.rb
... ... @@ -1,130 +0,0 @@
1   -class BscPlugin < Noosfero::Plugin
2   -
3   - Bsc
4   -
5   - def self.plugin_name
6   - "Bsc"
7   - end
8   -
9   - def self.plugin_description
10   - _("Adds the Bsc feature")
11   - end
12   -
13   - def admin_panel_links
14   - [{:title => _('Create Bsc'), :url => {:controller => 'bsc_plugin_admin', :action => 'new'}},
15   - {:title => _('Validate Enterprises'), :url => {:controller => 'bsc_plugin_admin', :action => 'validate_enterprises'}} ]
16   - end
17   -
18   - def control_panel_buttons
19   - buttons = []
20   - buttons << {:title => _("Manage associated enterprises"), :icon => 'bsc-enterprises', :url => {:controller => 'bsc_plugin_myprofile', :action => 'manage_associated_enterprises'}} if bsc?(context.profile)
21   - buttons << {:title => _('Transfer ownership'), :icon => 'transfer-enterprise-ownership', :url => {:controller => 'bsc_plugin_myprofile', :action => 'transfer_ownership'}} if context.profile.enterprise?
22   - buttons << {:title => _("Manage contracts"), :icon => '', :url => {:controller => 'bsc_plugin_myprofile', :action => 'manage_contracts'}} if bsc?(context.profile)
23   - buttons
24   - end
25   -
26   - def manage_members_extra_buttons
27   - {:title => _('Transfer ownership'), :icon => '', :url => {:controller => 'bsc_plugin_myprofile', :action => 'transfer_enterprises_management'}} if context.profile.enterprise?
28   - end
29   -
30   - def stylesheet?
31   - true
32   - end
33   -
34   - def catalog_list_item_extras(product)
35   - if bsc?(context.profile)
36   - enterprise = product.enterprise
37   - if is_member_of_any_bsc?(context.user)
38   - lambda {link_to(enterprise.short_name, enterprise.url, :class => 'bsc-catalog-enterprise-link')}
39   - else
40   - lambda {enterprise.short_name}
41   - end
42   - end
43   - end
44   -
45   - def profile_controller_filters
46   - if profile
47   - special_enterprise = profile.enterprise? && !profile.validated && profile.bsc
48   - is_member_of_any_bsc = is_member_of_any_bsc?(context.user)
49   - block = lambda {
50   - render_access_denied if special_enterprise && !is_member_of_any_bsc
51   - }
52   -
53   - [{ :type => 'before_filter', :method_name => 'bsc_access', :block => block }]
54   - else
55   - []
56   - end
57   - end
58   -
59   - def content_viewer_controller_filters
60   - if profile
61   - special_enterprise = profile.enterprise? && !profile.validated && profile.bsc
62   - is_member_of_any_bsc = is_member_of_any_bsc?(context.user)
63   - block = lambda {
64   - render_access_denied if special_enterprise && !is_member_of_any_bsc
65   - }
66   -
67   - [{ :type => 'before_filter', :method_name => 'bsc_access', :block => block }]
68   - else
69   - []
70   - end
71   - end
72   -
73   - def profile_editor_controller_filters
74   - if context.user
75   - is_not_admin = !context.environment.admins.include?(context.user)
76   - [{ :type => 'before_filter',
77   - :method_name => 'bsc_destroy_access',
78   - :options => {:only => :destroy_profile},
79   - :block => lambda { render_access_denied if is_not_admin } }]
80   - else
81   - []
82   - end
83   - end
84   -
85   - def manage_products_controller_filters
86   - if bsc?(profile)
87   - [{ :type => 'before_filter',
88   - :method_name => 'manage_products_bsc_destroy_access',
89   - :options => {:only => :destroy},
90   - :block => lambda { render_access_denied } }]
91   - else
92   - []
93   - end
94   - end
95   -
96   - def asset_product_properties(product)
97   - properties = []
98   - properties << { :name => _('Bsc'), :content => lambda { link_to(product.bsc.name, product.bsc.url) } } if product.bsc
99   - if product.enterprise.validated || is_member_of_any_bsc?(context.user)
100   - content = lambda { link_to_homepage(product.enterprise.name, product.enterprise.identifier) }
101   - else
102   - content = lambda { product.enterprise.name }
103   - end
104   - properties << { :name => c_('Supplier'), :content => content }
105   - end
106   -
107   - def profile_tabs
108   - if bsc?(context.profile)
109   - { :title => _("Contact"),
110   - :id => 'bsc-contact',
111   - :content => lambda { render :partial => 'profile_tab' },
112   - :start => true }
113   - end
114   - end
115   -
116   - private
117   -
118   - def bsc?(profile)
119   - profile.kind_of?(BscPlugin::Bsc)
120   - end
121   -
122   - def is_member_of_any_bsc?(user)
123   - BscPlugin::Bsc.all.any? { |bsc| bsc.members.include?(user) }
124   - end
125   -
126   - def profile
127   - context.environment.profiles.find_by_identifier(context.params[:profile])
128   - end
129   -
130   -end
plugins/bsc/lib/bsc_plugin/associate_enterprise.rb
... ... @@ -1,49 +0,0 @@
1   -class BscPlugin::AssociateEnterprise < Task
2   -
3   - alias :enterprise :target
4   -
5   - belongs_to :bsc, :class_name => 'BscPlugin::Bsc'
6   -
7   - validates_presence_of :bsc
8   -
9   - def title
10   - _("BSC association")
11   - end
12   -
13   - def linked_subject
14   - {:text => bsc.name, :url => bsc.url}
15   - end
16   -
17   - def information
18   - {:message => _('%{requestor} wants to associate this enterprise with %{linked_subject}.')}
19   - end
20   -
21   - def icon
22   - src = bsc.image ? bsc.image.public_filename(:minor) : '/images/icons-app/enterprise-minor.png'
23   - {:type => :defined_image, :src => src, :name => bsc.name}
24   - end
25   -
26   - def reject_details
27   - true
28   - end
29   -
30   - def perform
31   - bsc.enterprises << enterprise
32   - end
33   -
34   - def task_finished_message
35   - _('%{enterprise} accepted your request to associate it with %{bsc}.') % {:enterprise => enterprise.name, :bsc => bsc.name}
36   - end
37   -
38   - def task_cancelled_message
39   - message = _("%{enterprise} rejected your request to associate it with %{bsc}.") % {:enterprise => enterprise.name, :bsc => bsc.name}
40   - if !reject_explanation.blank?
41   - message += " " + _("Here is the reject explanation left by the administrator:\n\n%{reject_explanation}") % {:reject_explanation => reject_explanation}
42   - end
43   - end
44   -
45   - def target_notification_message
46   - _('%{requestor} wants assoaciate %{bsc} as your BSC.') % {:requestor => requestor.name, :enterprise => enterprise.name, :bsc => bsc.name}
47   - end
48   -
49   -end
plugins/bsc/lib/bsc_plugin/bsc.rb
... ... @@ -1,39 +0,0 @@
1   -class BscPlugin::Bsc < Enterprise
2   -
3   - has_many :enterprises
4   - has_many :enterprise_requests, :class_name => 'BscPlugin::AssociateEnterprise'
5   - has_many :products, :finder_sql => 'select * from products where profile_id in (#{enterprises.map(&:id).join(",")})'
6   - has_many :contracts, :class_name => 'BscPlugin::Contract'
7   -
8   - validates_presence_of :nickname
9   - validates_presence_of :company_name
10   - validates_presence_of :cnpj
11   - validates_uniqueness_of :nickname
12   - validates_uniqueness_of :company_name
13   - validates_uniqueness_of :cnpj
14   -
15   - before_validation do |bsc|
16   - bsc.name = bsc.business_name || 'Sample name'
17   - end
18   -
19   - def already_requested?(enterprise)
20   - enterprise_requests.pending.map(&:enterprise).include?(enterprise)
21   - end
22   -
23   - def enterprises_to_token_input
24   - enterprises.map { |enterprise| {:id => enterprise.id, :name => enterprise.name} }
25   - end
26   -
27   - def control_panel_settings_button
28   - {:title => _('Bsc info and settings'), :icon => 'edit-profile-enterprise'}
29   - end
30   -
31   - def create_product?
32   - false
33   - end
34   -
35   - def self.identification
36   - 'Bsc'
37   - end
38   -
39   -end
plugins/bsc/lib/bsc_plugin/bsc_helper.rb
... ... @@ -1,76 +0,0 @@
1   -module BscPlugin::BscHelper
2   - include ActionView::Helpers::FormTagHelper
3   - include ActionView::Helpers::TextHelper
4   -
5   - def token_input_field_tag(name, element_id, search_action, options = {}, text_field_options = {}, html_options = {})
6   - options[:min_chars] ||= 3
7   - options[:hint_text] ||= c_("Type in a search term")
8   - options[:no_results_text] ||= c_("No results")
9   - options[:searching_text] ||= c_("Searching...")
10   - options[:search_delay] ||= 1000
11   - options[:prevent_duplicates] ||= true
12   - options[:backspace_delete_item] ||= false
13   - options[:focus] ||= false
14   - options[:avoid_enter] ||= true
15   - options[:on_result] ||= 'null'
16   - options[:on_add] ||= 'null'
17   - options[:on_delete] ||= 'null'
18   - options[:on_ready] ||= 'null'
19   -
20   - result = text_field_tag(name, nil, text_field_options.merge(html_options.merge({:id => element_id})))
21   - result +=
22   - "
23   - <script type='text/javascript'>
24   - jQuery('##{element_id}')
25   - .tokenInput('#{url_for(search_action)}', {
26   - minChars: #{options[:min_chars].to_json},
27   - prePopulate: #{options[:pre_populate].to_json},
28   - hintText: #{options[:hint_text].to_json},
29   - noResultsText: #{options[:no_results_text].to_json},
30   - searchingText: #{options[:searching_text].to_json},
31   - searchDelay: #{options[:serach_delay].to_json},
32   - preventDuplicates: #{options[:prevent_duplicates].to_json},
33   - backspaceDeleteItem: #{options[:backspace_delete_item].to_json},
34   - queryParam: #{name.to_json},
35   - tokenLimit: #{options[:token_limit].to_json},
36   - onResult: #{options[:on_result]},
37   - onAdd: #{options[:on_add]},
38   - onDelete: #{options[:on_delete]},
39   - onReady: #{options[:on_ready]},
40   - })
41   - "
42   - result += options[:focus] ? ".focus();" : ";"
43   - if options[:avoid_enter]
44   - result += "jQuery('#token-input-#{element_id}')
45   - .live('keydown', function(event){
46   - if(event.keyCode == '13') return false;
47   - });"
48   - end
49   - result += "</script>"
50   - result
51   - end
52   -
53   - def product_display_name(product)
54   - "#{product.name} (#{product.enterprise.name})"
55   - end
56   -
57   - def display_text_field(name, value, options={:display_nil => false, :nil_symbol => '---'})
58   - value = value.to_s
59   - if !value.blank? || options[:display_nil]
60   - value = value.blank? ? options[:nil_symbol] : value
61   - content_tag('tr', content_tag('td', name+': ', :class => 'bsc-field-label') + content_tag('td', value, :class => 'bsc-field-value'))
62   - end
63   - end
64   -
65   - def display_list_field(list, options={:nil_symbol => '---'})
66   - list.map do |item|
67   - item = item.blank? ? options[:nil_symbol] : item
68   - content_tag('tr', content_tag('td', item, :class => 'bsc-field-value'))
69   - end.join
70   - end
71   -
72   - def short_text(name, chars = 40)
73   - truncate name, :length => chars, :omission => '...'
74   - end
75   -
76   -end
plugins/bsc/lib/bsc_plugin/contract.rb
... ... @@ -1,84 +0,0 @@
1   -class BscPlugin::Contract < Noosfero::Plugin::ActiveRecord
2   - validates_presence_of :bsc, :client_name
3   -
4   - has_many :sales, :class_name => 'BscPlugin::Sale'
5   - has_many :products, :through => :sales
6   - has_and_belongs_to_many :enterprises, :join_table => 'bsc_plugin_contracts_enterprises'
7   -
8   - belongs_to :bsc, :class_name => 'BscPlugin::Bsc'
9   -
10   - named_scope :status, lambda { |status_list| status_list.blank? ? {} : {:conditions => ['status in (?)', status_list]} }
11   - named_scope :sorted_by, lambda { |sorter, direction| {:order => "#{sorter} #{direction}"} }
12   -
13   - before_create do |contract|
14   - contract.created_at ||= Time.now.utc
15   - contract.updated_at ||= Time.now.utc
16   - end
17   -
18   - before_update do |contract|
19   - contract.updated_at ||= Time.now.utc
20   - end
21   -
22   - module Status
23   - OPENED = 0
24   - NEGOTIATING = 1
25   - EXECUTING = 2
26   - CLOSED = 3
27   -
28   - def self.types
29   - [OPENED, NEGOTIATING, EXECUTING, CLOSED]
30   - end
31   -
32   - def self.names
33   - [_('Opened'), _('Negotiating'), _('Executing'), _('Closed')]
34   - end
35   - end
36   -
37   - module ClientType
38   - STATE = 0
39   - FEDERAL = 1
40   -
41   - def self.types
42   - [STATE, FEDERAL]
43   - end
44   -
45   - def self.names
46   - [c_('State'), _('Federal')]
47   - end
48   - end
49   -
50   - module BusinessType
51   - PROJECTA = 0
52   - PROJECTB = 1
53   -
54   - def self.types
55   - [PROJECTA, PROJECTB]
56   - end
57   -
58   - def self.names
59   - [_('ProjectA'), _('ProjectB')]
60   - end
61   - end
62   -
63   - def enterprises_to_token_input
64   - enterprises.map { |enterprise| {:id => enterprise.id, :name => enterprise.name} }
65   - end
66   -
67   - def save_sales(sales)
68   - failed_sales = {}
69   - sales.each do |sale|
70   - sale.merge!({:contract_id => id})
71   - begin
72   - BscPlugin::Sale.create!(sale)
73   - rescue Exception => exception
74   - name = Product.find(sale[:product_id]).name
75   - failed_sales[exception.clean_message] ? failed_sales[exception.clean_message] << name : failed_sales[exception.clean_message] = [name]
76   - end
77   - end
78   - failed_sales
79   - end
80   -
81   - def total_price
82   - sales.inject(0) {|result, sale| sale.price*sale.quantity + result}
83   - end
84   -end
plugins/bsc/lib/bsc_plugin/ext/enterprise.rb
... ... @@ -1,13 +0,0 @@
1   -require_dependency 'enterprise'
2   -
3   -class Enterprise
4   - belongs_to :bsc, :class_name => 'BscPlugin::Bsc'
5   - has_and_belongs_to_many :contracts, :class_name => 'BscPlugin::Contract', :join_table => 'bsc_plugin_contracts_enterprises'
6   -
7   - FIELDS << 'bsc_id'
8   - FIELDS << 'enabled'
9   - FIELDS << 'validated'
10   -
11   - named_scope :validated, :conditions => {:validated => true}
12   - named_scope :not_validated, :conditions => {:validated => false}
13   -end
plugins/bsc/lib/bsc_plugin/ext/product.rb
... ... @@ -1,25 +0,0 @@
1   -require_dependency 'product'
2   -
3   -class Product
4   -
5   - has_many :sales, :class_name => 'BscPlugin::Sale'
6   - has_many :contracts, :through => :sales, :class_name => 'BscPlugin::Contract'
7   -
8   - def bsc
9   - enterprise.bsc if enterprise
10   - end
11   -
12   - def display_supplier_on_search?
13   - false
14   - end
15   -
16   - def action_tracker_user
17   - return self.enterprise if self.enterprise.validated
18   -
19   - if self.enterprise.bsc
20   - self.enterprise.bsc
21   - else
22   - self.enterprise
23   - end
24   - end
25   -end
plugins/bsc/lib/bsc_plugin/mailer.rb
... ... @@ -1,11 +0,0 @@
1   -class BscPlugin::Mailer < Noosfero::Plugin::MailerBase
2   -
3   - def admin_notification(admin, bsc)
4   - domain = bsc.hostname || bsc.environment.default_hostname
5   - recipients admin.contact_email
6   - from 'no-reply@' + domain
7   - subject _("[%s] Bsc management transferred to you.") % bsc.name
8   - content_type 'text/html'
9   - body :bsc => bsc
10   - end
11   -end
plugins/bsc/lib/bsc_plugin/sale.rb
... ... @@ -1,19 +0,0 @@
1   -class BscPlugin::Sale < Noosfero::Plugin::ActiveRecord
2   - validates_presence_of :product, :contract
3   - validates_uniqueness_of :product_id, :scope => :contract_id
4   - validates_numericality_of :quantity, :only_integer => true, :greater_than_or_equal_to => 0
5   - validates_numericality_of :price, :allow_nil => true
6   -
7   - belongs_to :product
8   - belongs_to :contract, :class_name => 'BscPlugin::Contract'
9   -
10   - before_create do |sale|
11   - sale.price ||= sale.product.price || 0
12   - sale.created_at ||= Time.now.utc
13   - sale.updated_at ||= Time.now.utc
14   - end
15   -
16   - before_update do |contract|
17   - contract.updated_at ||= Time.now.utc
18   - end
19   -end
plugins/bsc/po/bsc.pot
... ... @@ -1,351 +0,0 @@
1   -# SOME DESCRIPTIVE TITLE.
2   -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3   -# This file is distributed under the same license as the PACKAGE package.
4   -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5   -#
6   -#, fuzzy
7   -msgid ""
8   -msgstr ""
9   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
10   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
11   -"PO-Revision-Date: 2015-08-06 17:21-0300\n"
12   -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13   -"Language-Team: LANGUAGE <LL@li.org>\n"
14   -"Language: \n"
15   -"MIME-Version: 1.0\n"
16   -"Content-Type: text/plain; charset=UTF-8\n"
17   -"Content-Transfer-Encoding: 8bit\n"
18   -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19   -
20   -#: plugins/bsc/lib/bsc_plugin.rb:10
21   -msgid "Adds the Bsc feature"
22   -msgstr ""
23   -
24   -#: plugins/bsc/lib/bsc_plugin.rb:14
25   -msgid "Create Bsc"
26   -msgstr ""
27   -
28   -#: plugins/bsc/lib/bsc_plugin.rb:15
29   -msgid "Validate Enterprises"
30   -msgstr ""
31   -
32   -#: plugins/bsc/lib/bsc_plugin.rb:20
33   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
34   -msgid "Manage associated enterprises"
35   -msgstr ""
36   -
37   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
38   -msgid "Transfer ownership"
39   -msgstr ""
40   -
41   -#: plugins/bsc/lib/bsc_plugin.rb:22
42   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
43   -msgid "Manage contracts"
44   -msgstr ""
45   -
46   -#: plugins/bsc/lib/bsc_plugin.rb:98
47   -msgid "Bsc"
48   -msgstr ""
49   -
50   -#: plugins/bsc/lib/bsc_plugin.rb:109
51   -#: plugins/bsc/views/shared/_fields.html.erb:53
52   -msgid "Contact"
53   -msgstr ""
54   -
55   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
56   -msgid "Bsc info and settings"
57   -msgstr ""
58   -
59   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
60   -msgid "BSC association"
61   -msgstr ""
62   -
63   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
64   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
65   -msgstr ""
66   -
67   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
68   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
69   -msgstr ""
70   -
71   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
72   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
73   -msgstr ""
74   -
75   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
76   -msgid ""
77   -"Here is the reject explanation left by the administrator:\n"
78   -"\n"
79   -"%{reject_explanation}"
80   -msgstr ""
81   -
82   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
83   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
84   -msgstr ""
85   -
86   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
87   -msgid "[%s] Bsc management transferred to you."
88   -msgstr ""
89   -
90   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
91   -msgid "Opened"
92   -msgstr ""
93   -
94   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
95   -msgid "Negotiating"
96   -msgstr ""
97   -
98   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
99   -msgid "Executing"
100   -msgstr ""
101   -
102   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
103   -msgid "Closed"
104   -msgstr ""
105   -
106   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
107   -msgid "Federal"
108   -msgstr ""
109   -
110   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
111   -msgid "ProjectA"
112   -msgstr ""
113   -
114   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
115   -msgid "ProjectB"
116   -msgstr ""
117   -
118   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
119   -msgid "This Bsc associations were saved successfully."
120   -msgstr ""
121   -
122   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
123   -msgid "This Bsc associations couldn't be saved."
124   -msgstr ""
125   -
126   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
127   -msgid "Enterprise ownership transferred."
128   -msgstr ""
129   -
130   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
131   -msgid "Enterprise was created in association with %s."
132   -msgstr ""
133   -
134   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
135   -msgid "Contract created."
136   -msgstr ""
137   -
138   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
139   -msgid "Contract created but some products could not be added."
140   -msgstr ""
141   -
142   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
143   -msgid "Contract doesn't exists! Maybe it was already removed."
144   -msgstr ""
145   -
146   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
147   -msgid "Could not edit such contract."
148   -msgstr ""
149   -
150   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
151   -msgid "Contract edited."
152   -msgstr ""
153   -
154   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
155   -msgid "Contract edited but some products could not be added."
156   -msgstr ""
157   -
158   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
159   -msgid "Contract removed."
160   -msgstr ""
161   -
162   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
163   -msgid "Contract could not be removed. Sorry! ^^"
164   -msgstr ""
165   -
166   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
167   -msgid "Your Bsc was created."
168   -msgstr ""
169   -
170   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
171   -msgid "Enterprises validated."
172   -msgstr ""
173   -
174   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
175   -msgid "Enterprise validations couldn't be saved."
176   -msgstr ""
177   -
178   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
179   -msgid "Associations awaiting approval:"
180   -msgstr ""
181   -
182   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
183   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
184   -msgid "Type in a search term for enterprise"
185   -msgstr ""
186   -
187   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
188   -msgid "Add new enterprise"
189   -msgstr ""
190   -
191   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
192   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
193   -msgid "New contract"
194   -msgstr ""
195   -
196   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
197   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
198   -msgid "Client type"
199   -msgstr ""
200   -
201   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
202   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
203   -msgid "Business type"
204   -msgstr ""
205   -
206   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
207   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
208   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
209   -msgid "Status"
210   -msgstr ""
211   -
212   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
213   -msgid "Type in search term for enterprise"
214   -msgstr ""
215   -
216   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
217   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
218   -msgid "Quantity"
219   -msgstr ""
220   -
221   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
222   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
223   -msgid "Unit price"
224   -msgstr ""
225   -
226   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
227   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
228   -msgid "Total"
229   -msgstr ""
230   -
231   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
232   -msgid "Add new product"
233   -msgstr ""
234   -
235   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
236   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
237   -msgid "Supply period"
238   -msgstr ""
239   -
240   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
241   -msgid "Type in a search term for product"
242   -msgstr ""
243   -
244   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
245   -#: plugins/bsc/views/shared/_fields.html.erb:5
246   -msgid "Basic information"
247   -msgstr ""
248   -
249   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
250   -msgid "Number of producers"
251   -msgstr ""
252   -
253   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
254   -msgid "Annotations"
255   -msgstr ""
256   -
257   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
258   -msgid "Sort by"
259   -msgstr ""
260   -
261   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
262   -msgid "Date(newest first)"
263   -msgstr ""
264   -
265   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
266   -msgid "Date(oldest first)"
267   -msgstr ""
268   -
269   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
270   -msgid "Client name(A-Z)"
271   -msgstr ""
272   -
273   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
274   -msgid "Client name(Z-A)"
275   -msgstr ""
276   -
277   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
278   -msgid "There are no contracts at all."
279   -msgstr ""
280   -
281   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
282   -msgid "Are you sure?"
283   -msgstr ""
284   -
285   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
286   -msgid "Create new contract"
287   -msgstr ""
288   -
289   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
290   -msgid "Existing enterprises:"
291   -msgstr ""
292   -
293   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
294   -msgid ""
295   -"Were found %{count} enterprises with similar names on the same city, you can "
296   -"decide to associate one of them or create the new enterprise confirming the "
297   -"informations you typed in."
298   -msgstr ""
299   -
300   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
301   -msgid "Associate"
302   -msgstr ""
303   -
304   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
305   -msgid "Transfer Ownership"
306   -msgstr ""
307   -
308   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
309   -msgid ""
310   -"This option allows you to transfer this enterprise's management to another "
311   -"user. This action will remove all the current administrators. Be careful "
312   -"when confirming this procedure."
313   -msgstr ""
314   -
315   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
316   -msgid "Current administrators:"
317   -msgstr ""
318   -
319   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
320   -msgid "Administrator:"
321   -msgstr ""
322   -
323   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
324   -msgid "Type in a search term for the new administrator"
325   -msgstr ""
326   -
327   -#: plugins/bsc/views/shared/_fields.html.erb:39
328   -msgid ""
329   -"You are about to change the address, and this will break external links to "
330   -"this bsc or to posts inside it. Do you really want to change?"
331   -msgstr ""
332   -
333   -#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
334   -msgid "The management of %{bsc} was transferred to you."
335   -msgstr ""
336   -
337   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
338   -msgid "Contact phone: "
339   -msgstr ""
340   -
341   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
342   -msgid "Email: "
343   -msgstr ""
344   -
345   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
346   -msgid "BSC registration"
347   -msgstr ""
348   -
349   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
350   -msgid "Validate enterprises"
351   -msgstr ""
plugins/bsc/po/de/bsc.po
... ... @@ -1,370 +0,0 @@
1   -# German translation of noosfero.
2   -# Copyright (C) 2009-2013 Josef Spillner
3   -# Copyright (C) 2009, 2011 Ronny Kursawe
4   -# This file is distributed under the same license as the noosfero package.
5   -# Josef Spillner <josef.spillner@tu-dresden.de>, 2009.
6   -#
7   -msgid ""
8   -msgstr ""
9   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
10   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
11   -"PO-Revision-Date: 2014-12-12 14:23+0200\n"
12   -"Last-Translator: Michal Čihař <michal@cihar.com>\n"
13   -"Language-Team: German <https://hosted.weblate.org/projects/noosfero/noosfero/"
14   -"de/>\n"
15   -"Language: de\n"
16   -"MIME-Version: 1.0\n"
17   -"Content-Type: text/plain; charset=UTF-8\n"
18   -"Content-Transfer-Encoding: 8bit\n"
19   -"Plural-Forms: nplurals=2; plural=n != 1;\n"
20   -"X-Generator: Weblate 2.2-dev\n"
21   -
22   -#: plugins/bsc/lib/bsc_plugin.rb:10
23   -msgid "Adds the Bsc feature"
24   -msgstr "Fügt Unterstützung für Bsc hinzu"
25   -
26   -#: plugins/bsc/lib/bsc_plugin.rb:14
27   -msgid "Create Bsc"
28   -msgstr "Bsc erstellen"
29   -
30   -#: plugins/bsc/lib/bsc_plugin.rb:15
31   -msgid "Validate Enterprises"
32   -msgstr "Unternehmen bestätigen"
33   -
34   -#: plugins/bsc/lib/bsc_plugin.rb:20
35   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
36   -msgid "Manage associated enterprises"
37   -msgstr "Verwalte verbundene Unternehmen"
38   -
39   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
40   -msgid "Transfer ownership"
41   -msgstr "Eigentümerschaft übertragen"
42   -
43   -#: plugins/bsc/lib/bsc_plugin.rb:22
44   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
45   -msgid "Manage contracts"
46   -msgstr "Verträge verwalten"
47   -
48   -#: plugins/bsc/lib/bsc_plugin.rb:98
49   -msgid "Bsc"
50   -msgstr "Bsc"
51   -
52   -#: plugins/bsc/lib/bsc_plugin.rb:109
53   -#: plugins/bsc/views/shared/_fields.html.erb:53
54   -msgid "Contact"
55   -msgstr "Kontakt"
56   -
57   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
58   -msgid "Bsc info and settings"
59   -msgstr "Bsc-Informationen und -Einstellungen"
60   -
61   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
62   -msgid "BSC association"
63   -msgstr "BSC-Zusammenschluss"
64   -
65   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
66   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
67   -msgstr ""
68   -"%{requestor} möchte das Unternehmen %{linked_subject} mit %{linked_subject} "
69   -"verknüpfen."
70   -
71   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
72   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
73   -msgstr "%{enterprise} hat Ihre Anfrage zur Verbindung mit %{bsc} akzeptiert."
74   -
75   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
76   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
77   -msgstr "%{enterprise} hat Ihre Anfrage zur Verbindung mit %{bsc} abgelehnt."
78   -
79   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
80   -msgid ""
81   -"Here is the reject explanation left by the administrator:\n"
82   -"\n"
83   -"%{reject_explanation}"
84   -msgstr ""
85   -"Hier ist der vom Administrator angegebene Grund der Ablehnung:\n"
86   -"\n"
87   -"%{reject_explanation}"
88   -
89   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
90   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
91   -msgstr "%{requestor} möchte %{bsc} als Ihr BSC verknüpfen."
92   -
93   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
94   -msgid "[%s] Bsc management transferred to you."
95   -msgstr "[%s] Die Verwaltung von Bsc wurde Ihnen übertragen."
96   -
97   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
98   -msgid "Opened"
99   -msgstr "Geöffnet"
100   -
101   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
102   -msgid "Negotiating"
103   -msgstr "Aushandlung"
104   -
105   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
106   -msgid "Executing"
107   -msgstr "Ausführung"
108   -
109   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
110   -msgid "Closed"
111   -msgstr "Geschlossen"
112   -
113   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
114   -msgid "Federal"
115   -msgstr "Föderal"
116   -
117   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
118   -msgid "ProjectA"
119   -msgstr "ProjektA"
120   -
121   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
122   -msgid "ProjectB"
123   -msgstr "ProjektB"
124   -
125   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
126   -msgid "This Bsc associations were saved successfully."
127   -msgstr "Diese Bsc-Verknüpfungen wurden erfolgreich gespeichert."
128   -
129   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
130   -msgid "This Bsc associations couldn't be saved."
131   -msgstr "Diese Bsc-Verknüpfung konnte nicht gespeichert werden."
132   -
133   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
134   -msgid "Enterprise ownership transferred."
135   -msgstr "Eigentümerschaft des Unternehmens übertragen."
136   -
137   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
138   -msgid "Enterprise was created in association with %s."
139   -msgstr "Das Unternehmen wurde in Zusammenhang mit %s angelegt."
140   -
141   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
142   -msgid "Contract created."
143   -msgstr "Vertrag erstellt."
144   -
145   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
146   -msgid "Contract created but some products could not be added."
147   -msgstr ""
148   -"Der Vertrag wurde erstellt, aber einige Produkte konnten nicht hinzugefügt "
149   -"werden."
150   -
151   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
152   -msgid "Contract doesn't exists! Maybe it was already removed."
153   -msgstr "Der Vertrag existiert nicht! Vielleicht wurde er bereits entfernt."
154   -
155   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
156   -msgid "Could not edit such contract."
157   -msgstr "Kann den Vertrag nicht verändern."
158   -
159   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
160   -msgid "Contract edited."
161   -msgstr "Vertrag geändert."
162   -
163   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
164   -msgid "Contract edited but some products could not be added."
165   -msgstr ""
166   -"Vertrag geändert, aber einige Produkte konnten nicht hinzugefügt werden."
167   -
168   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
169   -msgid "Contract removed."
170   -msgstr "Vertrag entfernt."
171   -
172   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
173   -msgid "Contract could not be removed. Sorry! ^^"
174   -msgstr "Vertrag konnte nicht entfernt werden. Entschuldigung! ^^"
175   -
176   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
177   -msgid "Your Bsc was created."
178   -msgstr "Ihr Bsc wurde erstellt."
179   -
180   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
181   -msgid "Enterprises validated."
182   -msgstr "Unternehmen validiert."
183   -
184   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
185   -msgid "Enterprise validations couldn't be saved."
186   -msgstr "Die Unternehmensvalidierungen konnten nicht gespeichert werden."
187   -
188   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
189   -msgid "Associations awaiting approval:"
190   -msgstr "Assoziierungen, welche noch bestätigt werden müssen:"
191   -
192   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
193   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
194   -msgid "Type in a search term for enterprise"
195   -msgstr "Geben Sie einen Suchbegriff für Unternehmen ein"
196   -
197   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
198   -msgid "Add new enterprise"
199   -msgstr "Neues Unternehmen hinzufügen"
200   -
201   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
202   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
203   -msgid "New contract"
204   -msgstr "Neuer Vertrag"
205   -
206   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
207   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
208   -msgid "Client type"
209   -msgstr "Typ des Kunden"
210   -
211   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
212   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
213   -msgid "Business type"
214   -msgstr "Typ des Geschäfts"
215   -
216   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
217   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
218   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
219   -msgid "Status"
220   -msgstr "Status"
221   -
222   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
223   -msgid "Type in search term for enterprise"
224   -msgstr "Geben Sie den Suchbegriff für das Unternehmen ein"
225   -
226   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
227   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
228   -msgid "Quantity"
229   -msgstr "Anzahl"
230   -
231   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
232   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
233   -msgid "Unit price"
234   -msgstr "Stückpreis"
235   -
236   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
237   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
238   -msgid "Total"
239   -msgstr "Gesamt"
240   -
241   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
242   -msgid "Add new product"
243   -msgstr "Neues Produkt hinzufügen"
244   -
245   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
246   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
247   -msgid "Supply period"
248   -msgstr "Zulieferungszeitabschnitt"
249   -
250   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
251   -msgid "Type in a search term for product"
252   -msgstr "Geben Sie einen Suchbegriff für das Produkt ein"
253   -
254   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
255   -#: plugins/bsc/views/shared/_fields.html.erb:5
256   -msgid "Basic information"
257   -msgstr "Basisinformationen"
258   -
259   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
260   -msgid "Number of producers"
261   -msgstr "Anzahl der Produzenten"
262   -
263   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
264   -msgid "Annotations"
265   -msgstr "Anmerkungen"
266   -
267   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
268   -msgid "Sort by"
269   -msgstr "Sortieren nach"
270   -
271   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
272   -msgid "Date(newest first)"
273   -msgstr "Datum (neueste zuerst)"
274   -
275   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
276   -msgid "Date(oldest first)"
277   -msgstr "Datum (älteste zuerst)"
278   -
279   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
280   -msgid "Client name(A-Z)"
281   -msgstr "Kundenname (A-Z)"
282   -
283   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
284   -msgid "Client name(Z-A)"
285   -msgstr "Kundenname (Z-A)"
286   -
287   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
288   -msgid "There are no contracts at all."
289   -msgstr "Sie haben noch keine Verträge."
290   -
291   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
292   -msgid "Are you sure?"
293   -msgstr "Sind Sie sicher?"
294   -
295   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
296   -msgid "Create new contract"
297   -msgstr "Einen neuen Vertrag erstellen"
298   -
299   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
300   -msgid "Existing enterprises:"
301   -msgstr "Existierende Unternehmen:"
302   -
303   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
304   -msgid ""
305   -"Were found %{count} enterprises with similar names on the same city, you can "
306   -"decide to associate one of them or create the new enterprise confirming the "
307   -"informations you typed in."
308   -msgstr ""
309   -"Wir haben %{count} Firmen mit ähnlichen Namen in der gleichen Stadt "
310   -"gefunden. Sie können sich mit einer von diesen assoziieren oder eine neue "
311   -"Firma unter Bestätigung der von Ihnen getätigten Angaben gründen."
312   -
313   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
314   -msgid "Associate"
315   -msgstr "Verknüpfen"
316   -
317   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
318   -msgid "Transfer Ownership"
319   -msgstr "Eigentümerschaft übertragen"
320   -
321   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
322   -msgid ""
323   -"This option allows you to transfer this enterprise's management to another "
324   -"user. This action will remove all the current administrators. Be careful "
325   -"when confirming this procedure."
326   -msgstr ""
327   -"Diese Option erlaubt Ihnen, die Verwaltung dieses Unternehmens an einen "
328   -"anderen Benutzer zu übertragen. Diese Aktion wird alle derzeitigen "
329   -"Administratoren entfernen. Seien Sie vorsichtig, bevor Sie diese Prozedur "
330   -"ausführen."
331   -
332   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
333   -msgid "Current administrators:"
334   -msgstr "Aktuelle Administratoren:"
335   -
336   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
337   -msgid "Administrator:"
338   -msgstr "Administrator:"
339   -
340   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
341   -msgid "Type in a search term for the new administrator"
342   -msgstr "Geben Sie einen Suchbegriff für den neuen Administrator ein"
343   -
344   -#: plugins/bsc/views/shared/_fields.html.erb:39
345   -msgid ""
346   -"You are about to change the address, and this will break external links to "
347   -"this bsc or to posts inside it. Do you really want to change?"
348   -msgstr ""
349   -"Sie sind dabei die Adresse zu ändern. Das unterbricht externe Verweise zum "
350   -"Bsc und zu deren Inhalten. Wollen Sie wirklich die Adresse ändern?"
351   -
352   -#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
353   -msgid "The management of %{bsc} was transferred to you."
354   -msgstr "Die Verwaltung des %{bsc} wurde zu Ihnen transferiert."
355   -
356   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
357   -msgid "Contact phone: "
358   -msgstr "Kontakttelefonnummer: "
359   -
360   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
361   -msgid "Email: "
362   -msgstr "E-Mail: "
363   -
364   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
365   -msgid "BSC registration"
366   -msgstr "BSC-Registrierung"
367   -
368   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
369   -msgid "Validate enterprises"
370   -msgstr "Unternehmen validieren"
plugins/bsc/po/es/bsc.po
... ... @@ -1,364 +0,0 @@
1   -# SOME DESCRIPTIVE TITLE.
2   -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3   -# This file is distributed under the same license as the PACKAGE package.
4   -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5   -#
6   -msgid ""
7   -msgstr ""
8   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
9   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
10   -"PO-Revision-Date: 2014-11-03 15:52+0200\n"
11   -"Last-Translator: Michal Čihař <michal@cihar.com>\n"
12   -"Language-Team: Spanish <https://hosted.weblate.org/projects/noosfero/"
13   -"noosfero/es/>\n"
14   -"Language: es\n"
15   -"MIME-Version: 1.0\n"
16   -"Content-Type: text/plain; charset=UTF-8\n"
17   -"Content-Transfer-Encoding: 8bit\n"
18   -"Plural-Forms: nplurals=2; plural=n != 1;\n"
19   -"X-Generator: Weblate 2.0-dev\n"
20   -
21   -#: plugins/bsc/lib/bsc_plugin.rb:10
22   -msgid "Adds the Bsc feature"
23   -msgstr "Añade la característica Bsc"
24   -
25   -#: plugins/bsc/lib/bsc_plugin.rb:14
26   -msgid "Create Bsc"
27   -msgstr "Crear Bsc"
28   -
29   -#: plugins/bsc/lib/bsc_plugin.rb:15
30   -msgid "Validate Enterprises"
31   -msgstr "Validar empresas"
32   -
33   -#: plugins/bsc/lib/bsc_plugin.rb:20
34   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
35   -msgid "Manage associated enterprises"
36   -msgstr "Administrar empresas asociadas"
37   -
38   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
39   -msgid "Transfer ownership"
40   -msgstr "Transferir propiedad"
41   -
42   -#: plugins/bsc/lib/bsc_plugin.rb:22
43   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
44   -msgid "Manage contracts"
45   -msgstr "Administrar contratos"
46   -
47   -#: plugins/bsc/lib/bsc_plugin.rb:98
48   -msgid "Bsc"
49   -msgstr "Bsc"
50   -
51   -#: plugins/bsc/lib/bsc_plugin.rb:109
52   -#: plugins/bsc/views/shared/_fields.html.erb:53
53   -msgid "Contact"
54   -msgstr "Contacto"
55   -
56   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
57   -msgid "Bsc info and settings"
58   -msgstr "Información y configuración de Bsc"
59   -
60   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
61   -msgid "BSC association"
62   -msgstr "Asociación BSC"
63   -
64   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
65   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
66   -msgstr "%{requestor} quiere asociar esta empresa con %{linked_subject}."
67   -
68   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
69   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
70   -msgstr "%{enterprrise} aceptó tu solicitud para asociarse con %{bsc}."
71   -
72   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
73   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
74   -msgstr "%{enterprise} rechazó tu solicitud para asociarse con %{bsc}."
75   -
76   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
77   -msgid ""
78   -"Here is the reject explanation left by the administrator:\n"
79   -"\n"
80   -"%{reject_explanation}"
81   -msgstr ""
82   -"Aquí está la explicación del rechazo dejada por el administrador:\n"
83   -"\n"
84   -"%{reject_explanation}"
85   -
86   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
87   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
88   -msgstr "%{requestor} quire asociar %{bsc} como tu BSC."
89   -
90   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
91   -msgid "[%s] Bsc management transferred to you."
92   -msgstr "[%s] administración de bsc transferida a ti"
93   -
94   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
95   -msgid "Opened"
96   -msgstr "Abierto"
97   -
98   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
99   -msgid "Negotiating"
100   -msgstr "Negociando"
101   -
102   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
103   -msgid "Executing"
104   -msgstr "Ejecutando"
105   -
106   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
107   -msgid "Closed"
108   -msgstr "Cerrado"
109   -
110   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
111   -msgid "Federal"
112   -msgstr "Federal"
113   -
114   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
115   -msgid "ProjectA"
116   -msgstr "Proyecto A"
117   -
118   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
119   -msgid "ProjectB"
120   -msgstr "Proyecto B"
121   -
122   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
123   -msgid "This Bsc associations were saved successfully."
124   -msgstr "Estas asociaciones Bsc fueron guardadas correctamente."
125   -
126   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
127   -msgid "This Bsc associations couldn't be saved."
128   -msgstr "Estas asociaciones Bsc no pudieron ser guardadas."
129   -
130   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
131   -msgid "Enterprise ownership transferred."
132   -msgstr "Propiedad de la empresa transferida."
133   -
134   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
135   -msgid "Enterprise was created in association with %s."
136   -msgstr "La empresa fue creada en asociación con %s."
137   -
138   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
139   -msgid "Contract created."
140   -msgstr "Contrato creado."
141   -
142   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
143   -msgid "Contract created but some products could not be added."
144   -msgstr "Contrato creado pero algunos productos no pudieron agregarse."
145   -
146   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
147   -msgid "Contract doesn't exists! Maybe it was already removed."
148   -msgstr "¡El contrato no existe! Quizás ya fue eliminado."
149   -
150   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
151   -msgid "Could not edit such contract."
152   -msgstr "No se puede editar tal contrato."
153   -
154   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
155   -msgid "Contract edited."
156   -msgstr "contrato editado."
157   -
158   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
159   -msgid "Contract edited but some products could not be added."
160   -msgstr "Contrato editado pero algunos productos no pueden ser agregados."
161   -
162   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
163   -msgid "Contract removed."
164   -msgstr "Contrato eliminado."
165   -
166   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
167   -msgid "Contract could not be removed. Sorry! ^^"
168   -msgstr "El contrato no puede ser eliminado. ¡Perdón! ^^"
169   -
170   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
171   -msgid "Your Bsc was created."
172   -msgstr "Tu Bsc fue creado."
173   -
174   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
175   -msgid "Enterprises validated."
176   -msgstr "Empresas validadas."
177   -
178   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
179   -msgid "Enterprise validations couldn't be saved."
180   -msgstr "Las validaciones de la empresa no pudieron guardarse."
181   -
182   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
183   -msgid "Associations awaiting approval:"
184   -msgstr "Asociaciones de espera de aprobación:"
185   -
186   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
187   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
188   -msgid "Type in a search term for enterprise"
189   -msgstr "Ingresa un término de búsqueda para la empresa"
190   -
191   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
192   -msgid "Add new enterprise"
193   -msgstr "Añadir nueva empresa"
194   -
195   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
196   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
197   -msgid "New contract"
198   -msgstr "Nuevo contrato"
199   -
200   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
201   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
202   -msgid "Client type"
203   -msgstr "Tipo de cliente"
204   -
205   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
206   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
207   -msgid "Business type"
208   -msgstr "Tipo de negocio"
209   -
210   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
211   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
212   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
213   -msgid "Status"
214   -msgstr "Estado"
215   -
216   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
217   -msgid "Type in search term for enterprise"
218   -msgstr "Ingresa un término de búsqueda para la empresa"
219   -
220   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
221   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
222   -msgid "Quantity"
223   -msgstr "Cantidad"
224   -
225   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
226   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
227   -msgid "Unit price"
228   -msgstr "Precio unitario"
229   -
230   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
231   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
232   -msgid "Total"
233   -msgstr "Total"
234   -
235   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
236   -msgid "Add new product"
237   -msgstr "Añadir nuevo producto"
238   -
239   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
240   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
241   -msgid "Supply period"
242   -msgstr "Período de suministro"
243   -
244   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
245   -msgid "Type in a search term for product"
246   -msgstr "Ingresa un término de búsqueda para el producto"
247   -
248   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
249   -#: plugins/bsc/views/shared/_fields.html.erb:5
250   -msgid "Basic information"
251   -msgstr "Información básica"
252   -
253   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
254   -msgid "Number of producers"
255   -msgstr "Número de productores"
256   -
257   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
258   -msgid "Annotations"
259   -msgstr "Anotaciones"
260   -
261   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
262   -msgid "Sort by"
263   -msgstr "Ordenar por"
264   -
265   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
266   -msgid "Date(newest first)"
267   -msgstr "Fecha (más reciente primero)"
268   -
269   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
270   -msgid "Date(oldest first)"
271   -msgstr "Fecha (más antiguo primero)"
272   -
273   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
274   -msgid "Client name(A-Z)"
275   -msgstr "Nombre del cliente (A-Z)"
276   -
277   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
278   -msgid "Client name(Z-A)"
279   -msgstr "Nombre del cliente (Z-A)"
280   -
281   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
282   -msgid "There are no contracts at all."
283   -msgstr "No hay ningún contrato."
284   -
285   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
286   -msgid "Are you sure?"
287   -msgstr "¿Estás seguro?"
288   -
289   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
290   -msgid "Create new contract"
291   -msgstr "Crear nuevo contrato"
292   -
293   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
294   -msgid "Existing enterprises:"
295   -msgstr "Empresas existentes:"
296   -
297   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
298   -msgid ""
299   -"Were found %{count} enterprises with similar names on the same city, you can "
300   -"decide to associate one of them or create the new enterprise confirming the "
301   -"informations you typed in."
302   -msgstr ""
303   -"Fueron encontrados %{count} empresas con nombres similares en la misma "
304   -"ciudad, puedes decidir asociar una de ellos o crear la nueva empresa "
305   -"confirmando la información que escribiste."
306   -
307   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
308   -msgid "Associate"
309   -msgstr "Asociar"
310   -
311   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
312   -msgid "Transfer Ownership"
313   -msgstr "Transferir propiedad"
314   -
315   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
316   -msgid ""
317   -"This option allows you to transfer this enterprise's management to another "
318   -"user. This action will remove all the current administrators. Be careful "
319   -"when confirming this procedure."
320   -msgstr ""
321   -"Esta opción te permite transferir la administración de esta empresa a otro "
322   -"usuario. Esta acción eliminará a todos los administradores actuales. Ten "
323   -"cuidado cuando confirmes este proceso."
324   -
325   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
326   -msgid "Current administrators:"
327   -msgstr "Administradores actuales:"
328   -
329   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
330   -msgid "Administrator:"
331   -msgstr "Administrador:"
332   -
333   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
334   -msgid "Type in a search term for the new administrator"
335   -msgstr "Ingresa un término de búsqueda para el nuevo administrador"
336   -
337   -#: plugins/bsc/views/shared/_fields.html.erb:39
338   -msgid ""
339   -"You are about to change the address, and this will break external links to "
340   -"this bsc or to posts inside it. Do you really want to change?"
341   -msgstr ""
342   -"Estás a punto de cambiar la dirección, y esto romperá los enlaces externos a "
343   -"este bsc o a las publicaciones su interior. ¿Estás seguro que quieres "
344   -"cambiarla?"
345   -
346   -#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
347   -msgid "The management of %{bsc} was transferred to you."
348   -msgstr "La administración de %{bsc} te fue transferido."
349   -
350   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
351   -msgid "Contact phone: "
352   -msgstr "Teléfono de contacto: "
353   -
354   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
355   -msgid "Email: "
356   -msgstr "Correo electrónico: "
357   -
358   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
359   -msgid "BSC registration"
360   -msgstr "Registro de BSC"
361   -
362   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
363   -msgid "Validate enterprises"
364   -msgstr "Validar empresas"
plugins/bsc/po/fr/bsc.po
... ... @@ -1,412 +0,0 @@
1   -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
2   -# This file is distributed under the same license as the PACKAGE package.
3   -#
4   -# , 2009.
5   -msgid ""
6   -msgstr ""
7   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
8   -"Report-Msgid-Bugs-To: \n"
9   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
10   -"PO-Revision-Date: 2014-12-12 14:22+0200\n"
11   -"Last-Translator: Michal Čihař <michal@cihar.com>\n"
12   -"Language-Team: French <https://hosted.weblate.org/projects/noosfero/noosfero/"
13   -"fr/>\n"
14   -"Language: fr\n"
15   -"MIME-Version: 1.0\n"
16   -"Content-Type: text/plain; charset=UTF-8\n"
17   -"Content-Transfer-Encoding: 8bit\n"
18   -"Plural-Forms: nplurals=2; plural=n > 1;\n"
19   -"X-Generator: Weblate 2.2-dev\n"
20   -
21   -#: plugins/bsc/lib/bsc_plugin.rb:10
22   -#, fuzzy
23   -msgid "Adds the Bsc feature"
24   -msgstr "Autres fonctionnalités"
25   -
26   -#: plugins/bsc/lib/bsc_plugin.rb:14
27   -#, fuzzy
28   -msgid "Create Bsc"
29   -msgstr "Créer"
30   -
31   -#: plugins/bsc/lib/bsc_plugin.rb:15
32   -#, fuzzy
33   -msgid "Validate Enterprises"
34   -msgstr "Valider l'entreprise"
35   -
36   -#: plugins/bsc/lib/bsc_plugin.rb:20
37   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
38   -#, fuzzy
39   -msgid "Manage associated enterprises"
40   -msgstr "Gérer les entreprises"
41   -
42   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
43   -msgid "Transfer ownership"
44   -msgstr ""
45   -
46   -#: plugins/bsc/lib/bsc_plugin.rb:22
47   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
48   -#, fuzzy
49   -msgid "Manage contracts"
50   -msgstr "Gérer les contacts."
51   -
52   -#: plugins/bsc/lib/bsc_plugin.rb:98
53   -msgid "Bsc"
54   -msgstr ""
55   -
56   -#: plugins/bsc/lib/bsc_plugin.rb:109
57   -#: plugins/bsc/views/shared/_fields.html.erb:53
58   -msgid "Contact"
59   -msgstr "Contact "
60   -
61   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
62   -#, fuzzy
63   -msgid "Bsc info and settings"
64   -msgstr "Informations et paramètres"
65   -
66   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
67   -#, fuzzy
68   -msgid "BSC association"
69   -msgstr "Informations de contact"
70   -
71   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
72   -#, fuzzy
73   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
74   -msgstr "L'utilisateur «%{user}» veut activer l'adresse «%{email}»"
75   -
76   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
77   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
78   -msgstr ""
79   -
80   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
81   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
82   -msgstr ""
83   -
84   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
85   -msgid ""
86   -"Here is the reject explanation left by the administrator:\n"
87   -"\n"
88   -"%{reject_explanation}"
89   -msgstr ""
90   -
91   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
92   -#, fuzzy
93   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
94   -msgstr "%s veut être votre contact."
95   -
96   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
97   -msgid "[%s] Bsc management transferred to you."
98   -msgstr ""
99   -
100   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
101   -#, fuzzy
102   -msgid "Opened"
103   -msgstr "ouvrir"
104   -
105   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
106   -#, fuzzy
107   -msgid "Negotiating"
108   -msgstr "Paramètres"
109   -
110   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
111   -#, fuzzy
112   -msgid "Executing"
113   -msgstr "Édition"
114   -
115   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
116   -#, fuzzy
117   -msgid "Closed"
118   -msgstr "Fermer"
119   -
120   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
121   -#, fuzzy
122   -msgid "Federal"
123   -msgstr "Tâche générique"
124   -
125   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
126   -#, fuzzy
127   -msgid "ProjectA"
128   -msgstr "Produit"
129   -
130   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
131   -#, fuzzy
132   -msgid "ProjectB"
133   -msgstr "Produit"
134   -
135   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
136   -#, fuzzy
137   -msgid "This Bsc associations were saved successfully."
138   -msgstr "Fonctionnalités mises à jour avec succès."
139   -
140   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
141   -#, fuzzy
142   -msgid "This Bsc associations couldn't be saved."
143   -msgstr "Ce fichier n'a pas pu être sauvegardé"
144   -
145   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
146   -#, fuzzy
147   -msgid "Enterprise ownership transferred."
148   -msgstr "Page d'accueil de l'entreprise"
149   -
150   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
151   -#, fuzzy
152   -msgid "Enterprise was created in association with %s."
153   -msgstr "Enregistrement de l'enterprise : \"%s\""
154   -
155   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
156   -#, fuzzy
157   -msgid "Contract created."
158   -msgstr "Adresse électronique de contact"
159   -
160   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
161   -msgid "Contract created but some products could not be added."
162   -msgstr ""
163   -
164   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
165   -msgid "Contract doesn't exists! Maybe it was already removed."
166   -msgstr ""
167   -
168   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
169   -#, fuzzy
170   -msgid "Could not edit such contract."
171   -msgstr "Impossible de mettre à jour le produit"
172   -
173   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
174   -#, fuzzy
175   -msgid "Contract edited."
176   -msgstr "Adresse électronique de contact"
177   -
178   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
179   -#, fuzzy
180   -msgid "Contract edited but some products could not be added."
181   -msgstr "Bloc d'information de profil"
182   -
183   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
184   -#, fuzzy
185   -msgid "Contract removed."
186   -msgstr "Corps de l'article"
187   -
188   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
189   -#, fuzzy
190   -msgid "Contract could not be removed. Sorry! ^^"
191   -msgstr "Bloc d'information de profil"
192   -
193   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
194   -#, fuzzy
195   -msgid "Your Bsc was created."
196   -msgstr "Votre adresse e-mail %s vient d'être activée"
197   -
198   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
199   -#, fuzzy
200   -msgid "Enterprises validated."
201   -msgstr "Validations d'entreprises"
202   -
203   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
204   -#, fuzzy
205   -msgid "Enterprise validations couldn't be saved."
206   -msgstr "Validations d'entreprises"
207   -
208   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
209   -msgid "Associations awaiting approval:"
210   -msgstr ""
211   -
212   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
213   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
214   -#, fuzzy
215   -msgid "Type in a search term for enterprise"
216   -msgstr "Désactiver la recherche d'entreprises"
217   -
218   -# (second try of this knid of contents)
219   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
220   -#, fuzzy
221   -msgid "Add new enterprise"
222   -msgstr "Une entreprise"
223   -
224   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
225   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
226   -#, fuzzy
227   -msgid "New contract"
228   -msgstr "Tout le contenu"
229   -
230   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
231   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
232   -#, fuzzy
233   -msgid "Client type"
234   -msgstr "Type de contenu"
235   -
236   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
237   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
238   -#, fuzzy
239   -msgid "Business type"
240   -msgstr "Nom de fichier"
241   -
242   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
243   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
244   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
245   -msgid "Status"
246   -msgstr "Statut"
247   -
248   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
249   -#, fuzzy
250   -msgid "Type in search term for enterprise"
251   -msgstr "Désactiver la recherche d'entreprises"
252   -
253   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
254   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
255   -#, fuzzy
256   -msgid "Quantity"
257   -msgstr "Qualité"
258   -
259   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
260   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
261   -#, fuzzy
262   -msgid "Unit price"
263   -msgstr "Distance :"
264   -
265   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
266   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
267   -#, fuzzy
268   -msgid "Total"
269   -msgstr "Pour : "
270   -
271   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
272   -#, fuzzy
273   -msgid "Add new product"
274   -msgstr "Ajouter un produit"
275   -
276   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
277   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
278   -#, fuzzy
279   -msgid "Supply period"
280   -msgstr "Fournisseur : %s"
281   -
282   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
283   -#, fuzzy
284   -msgid "Type in a search term for product"
285   -msgstr "Désactiver la recherche d'entreprises"
286   -
287   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
288   -#: plugins/bsc/views/shared/_fields.html.erb:5
289   -#, fuzzy
290   -msgid "Basic information"
291   -msgstr "Informations de contact"
292   -
293   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
294   -#, fuzzy
295   -msgid "Number of producers"
296   -msgstr "Pas de produit"
297   -
298   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
299   -#, fuzzy
300   -msgid "Annotations"
301   -msgstr "Message d'invitation :"
302   -
303   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
304   -#, fuzzy
305   -msgid "Sort by"
306   -msgstr "Nouveau groupe"
307   -
308   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
309   -msgid "Date(newest first)"
310   -msgstr ""
311   -
312   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
313   -msgid "Date(oldest first)"
314   -msgstr ""
315   -
316   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
317   -msgid "Client name(A-Z)"
318   -msgstr ""
319   -
320   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
321   -msgid "Client name(Z-A)"
322   -msgstr ""
323   -
324   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
325   -#, fuzzy
326   -msgid "There are no contracts at all."
327   -msgstr "Vous n'avez pas encore de contact."
328   -
329   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
330   -msgid "Are you sure?"
331   -msgstr ""
332   -
333   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
334   -#, fuzzy
335   -msgid "Create new contract"
336   -msgstr "Créer un nouveau groupe"
337   -
338   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
339   -#, fuzzy
340   -msgid "Existing enterprises:"
341   -msgstr "Éditer l'entreprise"
342   -
343   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
344   -msgid ""
345   -"Were found %{count} enterprises with similar names on the same city, you can "
346   -"decide to associate one of them or create the new enterprise confirming the "
347   -"informations you typed in."
348   -msgstr ""
349   -
350   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
351   -#, fuzzy
352   -msgid "Associate"
353   -msgstr "Activer"
354   -
355   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
356   -msgid "Transfer Ownership"
357   -msgstr ""
358   -
359   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
360   -msgid ""
361   -"This option allows you to transfer this enterprise's management to another "
362   -"user. This action will remove all the current administrators. Be careful "
363   -"when confirming this procedure."
364   -msgstr ""
365   -
366   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
367   -#, fuzzy
368   -msgid "Current administrators:"
369   -msgstr "Membres"
370   -
371   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
372   -#, fuzzy
373   -msgid "Administrator:"
374   -msgstr "Interface d'administration"
375   -
376   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
377   -msgid "Type in a search term for the new administrator"
378   -msgstr ""
379   -
380   -#: plugins/bsc/views/shared/_fields.html.erb:39
381   -#, fuzzy
382   -msgid ""
383   -"You are about to change the address, and this will break external links to "
384   -"this bsc or to posts inside it. Do you really want to change?"
385   -msgstr ""
386   -"Vous êtes sur le point de modifier cette adresse, et cela risque de briser "
387   -"les liens extérieurs menant à la page d'accueil ou le contenu du site lui-"
388   -"même. Voulez-vous vraiment la modifier ?"
389   -
390   -#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
391   -msgid "The management of %{bsc} was transferred to you."
392   -msgstr ""
393   -
394   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
395   -#, fuzzy
396   -msgid "Contact phone: "
397   -msgstr "Téléphone de contact :"
398   -
399   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
400   -#, fuzzy
401   -msgid "Email: "
402   -msgstr "Courrier électronique : %s"
403   -
404   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
405   -#, fuzzy
406   -msgid "BSC registration"
407   -msgstr "Enregistrement de l'enterprise : \"%s\""
408   -
409   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
410   -#, fuzzy
411   -msgid "Validate enterprises"
412   -msgstr "Valider l'entreprise"
plugins/bsc/po/hy/bsc.po
... ... @@ -1,404 +0,0 @@
1   -# SOME DESCRIPTIVE TITLE.
2   -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3   -# This file is distributed under the same license as the PACKAGE package.
4   -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5   -#
6   -msgid ""
7   -msgstr ""
8   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
9   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
10   -"PO-Revision-Date: 2009-10-26 16:20-0300\n"
11   -"Last-Translator: Anahit Minassian <anahit.minassian@cooperation.net>\n"
12   -"Language-Team: LANGUAGE <LL@li.org>\n"
13   -"Language: hy\n"
14   -"MIME-Version: 1.0\n"
15   -"Content-Type: text/plain; charset=UTF-8\n"
16   -"Content-Transfer-Encoding: 8bit\n"
17   -"Plural-Forms: nplurals=2; plural=(n > 1);\n"
18   -"X-Generator: Pootle 1.1.0\n"
19   -
20   -#: plugins/bsc/lib/bsc_plugin.rb:10
21   -#, fuzzy
22   -msgid "Adds the Bsc feature"
23   -msgstr "Այլ առանձնահատկություն"
24   -
25   -#: plugins/bsc/lib/bsc_plugin.rb:14
26   -#, fuzzy
27   -msgid "Create Bsc"
28   -msgstr "Ստեղծել"
29   -
30   -#: plugins/bsc/lib/bsc_plugin.rb:15
31   -#, fuzzy
32   -msgid "Validate Enterprises"
33   -msgstr "Վավերացնել ձեռնարկությունը"
34   -
35   -#: plugins/bsc/lib/bsc_plugin.rb:20
36   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
37   -#, fuzzy
38   -msgid "Manage associated enterprises"
39   -msgstr "Մեկ ձեռնարկություն"
40   -
41   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
42   -msgid "Transfer ownership"
43   -msgstr ""
44   -
45   -#: plugins/bsc/lib/bsc_plugin.rb:22
46   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
47   -#, fuzzy
48   -msgid "Manage contracts"
49   -msgstr "Կառավարել բովանդակությունը:"
50   -
51   -#: plugins/bsc/lib/bsc_plugin.rb:98
52   -msgid "Bsc"
53   -msgstr ""
54   -
55   -#: plugins/bsc/lib/bsc_plugin.rb:109
56   -#: plugins/bsc/views/shared/_fields.html.erb:53
57   -msgid "Contact"
58   -msgstr ""
59   -
60   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
61   -#, fuzzy
62   -msgid "Bsc info and settings"
63   -msgstr "Անհանատական էջի տվյալների բաժին"
64   -
65   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
66   -#, fuzzy
67   -msgid "BSC association"
68   -msgstr "Էլ. հասցե"
69   -
70   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
71   -#, fuzzy
72   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
73   -msgstr "%s-ը ցանկանում է %s-ի անդամ դառնալ:"
74   -
75   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
76   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
77   -msgstr ""
78   -
79   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
80   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
81   -msgstr ""
82   -
83   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
84   -msgid ""
85   -"Here is the reject explanation left by the administrator:\n"
86   -"\n"
87   -"%{reject_explanation}"
88   -msgstr ""
89   -
90   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
91   -#, fuzzy
92   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
93   -msgstr "%s ցանկանում է Ձեր ընկերը դառնալ"
94   -
95   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
96   -msgid "[%s] Bsc management transferred to you."
97   -msgstr ""
98   -
99   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
100   -#, fuzzy
101   -msgid "Opened"
102   -msgstr "բացել"
103   -
104   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
105   -#, fuzzy
106   -msgid "Negotiating"
107   -msgstr "Պարամետրեր"
108   -
109   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
110   -#, fuzzy
111   -msgid "Executing"
112   -msgstr "Փոփոխում"
113   -
114   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
115   -#, fuzzy
116   -msgid "Closed"
117   -msgstr "Փակել"
118   -
119   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
120   -#, fuzzy
121   -msgid "Federal"
122   -msgstr "Ընդհանուր առաջադրանք"
123   -
124   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
125   -#, fuzzy
126   -msgid "ProjectA"
127   -msgstr "Արտադրանք"
128   -
129   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
130   -#, fuzzy
131   -msgid "ProjectB"
132   -msgstr "Արտադրանք"
133   -
134   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
135   -#, fuzzy
136   -msgid "This Bsc associations were saved successfully."
137   -msgstr "Առանձնահատկությունները հաջողությամբ թարմացված են:"
138   -
139   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
140   -#, fuzzy
141   -msgid "This Bsc associations couldn't be saved."
142   -msgstr "Անհանատական էջի տվյալների բաժին"
143   -
144   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
145   -#, fuzzy
146   -msgid "Enterprise ownership transferred."
147   -msgstr "Ձեռնարկության գլխավոր էջ"
148   -
149   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
150   -#, fuzzy
151   -msgid "Enterprise was created in association with %s."
152   -msgstr "Ձեռնարկության գրանցում «%s»"
153   -
154   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
155   -#, fuzzy
156   -msgid "Contract created."
157   -msgstr "էլ. հասցե"
158   -
159   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
160   -msgid "Contract created but some products could not be added."
161   -msgstr ""
162   -
163   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
164   -msgid "Contract doesn't exists! Maybe it was already removed."
165   -msgstr ""
166   -
167   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
168   -#, fuzzy
169   -msgid "Could not edit such contract."
170   -msgstr "Արտադրանք թարմացնելն անհնար է"
171   -
172   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
173   -#, fuzzy
174   -msgid "Contract edited."
175   -msgstr "էլ. հասցե"
176   -
177   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
178   -#, fuzzy
179   -msgid "Contract edited but some products could not be added."
180   -msgstr "Անհանատական էջի տվյալների բաժին"
181   -
182   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
183   -#, fuzzy
184   -msgid "Contract removed."
185   -msgstr "Բուն հոդված"
186   -
187   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
188   -#, fuzzy
189   -msgid "Contract could not be removed. Sorry! ^^"
190   -msgstr "Անհանատական էջի տվյալների բաժին"
191   -
192   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
193   -#, fuzzy
194   -msgid "Your Bsc was created."
195   -msgstr "%s վերացված է"
196   -
197   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
198   -#, fuzzy
199   -msgid "Enterprises validated."
200   -msgstr "Ձեռնարկությունների վավերացում"
201   -
202   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
203   -#, fuzzy
204   -msgid "Enterprise validations couldn't be saved."
205   -msgstr "Ձեռնարկությունների վավերացում"
206   -
207   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
208   -msgid "Associations awaiting approval:"
209   -msgstr ""
210   -
211   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
212   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
213   -#, fuzzy
214   -msgid "Type in a search term for enterprise"
215   -msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
216   -
217   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
218   -#, fuzzy
219   -msgid "Add new enterprise"
220   -msgstr "Մեկ ձեռնարկություն"
221   -
222   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
223   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
224   -#, fuzzy
225   -msgid "New contract"
226   -msgstr "Ամբողջ բովանդակությունը"
227   -
228   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
229   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
230   -#, fuzzy
231   -msgid "Client type"
232   -msgstr "Բովանդակության տեսակ"
233   -
234   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
235   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
236   -#, fuzzy
237   -msgid "Business type"
238   -msgstr "Սեփականատիրոջ տեսակ"
239   -
240   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
241   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
242   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
243   -msgid "Status"
244   -msgstr "Կարգավիճակ"
245   -
246   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
247   -#, fuzzy
248   -msgid "Type in search term for enterprise"
249   -msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
250   -
251   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
252   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
253   -#, fuzzy
254   -msgid "Quantity"
255   -msgstr "Որակ"
256   -
257   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
258   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
259   -#, fuzzy
260   -msgid "Unit price"
261   -msgstr "Հեռավորություն"
262   -
263   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
264   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
265   -msgid "Total"
266   -msgstr ""
267   -
268   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
269   -#, fuzzy
270   -msgid "Add new product"
271   -msgstr "Կառավարել արտադրանքը"
272   -
273   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
274   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
275   -#, fuzzy
276   -msgid "Supply period"
277   -msgstr "Առաքիչ %s"
278   -
279   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
280   -#, fuzzy
281   -msgid "Type in a search term for product"
282   -msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
283   -
284   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
285   -#: plugins/bsc/views/shared/_fields.html.erb:5
286   -#, fuzzy
287   -msgid "Basic information"
288   -msgstr "Էլ. հասցե"
289   -
290   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
291   -#, fuzzy
292   -msgid "Number of producers"
293   -msgstr "Արտադրանք չկա"
294   -
295   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
296   -#, fuzzy
297   -msgid "Annotations"
298   -msgstr "Կառավարման վահանակ"
299   -
300   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
301   -#, fuzzy
302   -msgid "Sort by"
303   -msgstr "Մեկ համայնք"
304   -
305   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
306   -msgid "Date(newest first)"
307   -msgstr ""
308   -
309   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
310   -msgid "Date(oldest first)"
311   -msgstr ""
312   -
313   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
314   -msgid "Client name(A-Z)"
315   -msgstr ""
316   -
317   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
318   -msgid "Client name(Z-A)"
319   -msgstr ""
320   -
321   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
322   -msgid "There are no contracts at all."
323   -msgstr ""
324   -
325   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
326   -msgid "Are you sure?"
327   -msgstr ""
328   -
329   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
330   -#, fuzzy
331   -msgid "Create new contract"
332   -msgstr "Ստեղծել նոր համայնք"
333   -
334   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
335   -#, fuzzy
336   -msgid "Existing enterprises:"
337   -msgstr "Մեկ ձեռնարկություն"
338   -
339   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
340   -msgid ""
341   -"Were found %{count} enterprises with similar names on the same city, you can "
342   -"decide to associate one of them or create the new enterprise confirming the "
343   -"informations you typed in."
344   -msgstr ""
345   -
346   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
347   -#, fuzzy
348   -msgid "Associate"
349   -msgstr "Ակտիվացնել"
350   -
351   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
352   -msgid "Transfer Ownership"
353   -msgstr ""
354   -
355   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
356   -msgid ""
357   -"This option allows you to transfer this enterprise's management to another "
358   -"user. This action will remove all the current administrators. Be careful "
359   -"when confirming this procedure."
360   -msgstr ""
361   -
362   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
363   -#, fuzzy
364   -msgid "Current administrators:"
365   -msgstr "Անդամներ"
366   -
367   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
368   -#, fuzzy
369   -msgid "Administrator:"
370   -msgstr "Կառավարման վահանակ"
371   -
372   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
373   -msgid "Type in a search term for the new administrator"
374   -msgstr ""
375   -
376   -#: plugins/bsc/views/shared/_fields.html.erb:39
377   -msgid ""
378   -"You are about to change the address, and this will break external links to "
379   -"this bsc or to posts inside it. Do you really want to change?"
380   -msgstr ""
381   -
382   -#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
383   -msgid "The management of %{bsc} was transferred to you."
384   -msgstr ""
385   -
386   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
387   -#, fuzzy
388   -msgid "Contact phone: "
389   -msgstr "Հեռախոս"
390   -
391   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
392   -#, fuzzy
393   -msgid "Email: "
394   -msgstr "Էլ. հասցե"
395   -
396   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
397   -#, fuzzy
398   -msgid "BSC registration"
399   -msgstr "Ձեռնարկության գրանցում «%s»"
400   -
401   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
402   -#, fuzzy
403   -msgid "Validate enterprises"
404   -msgstr "Վավերացնել ձեռնարկությունը"
plugins/bsc/po/pt/bsc.po
... ... @@ -1,370 +0,0 @@
1   -# translation of noosfero.po to
2   -# Krishnamurti Lelis Lima Vieira Nunes <krishna@colivre.coop.br>, 2007.
3   -# noosfero - Brazilian Portuguese translation
4   -# Copyright (C) 2007,
5   -# Forum Brasileiro de Economia Solidaria <http://www.fbes.org.br/>
6   -# Copyright (C) 2007,
7   -# Ynternet.org Foundation <http://www.ynternet.org/>
8   -# This file is distributed under the same license as noosfero itself.
9   -# Joenio Costa <joenio@colivre.coop.br>, 2008.
10   -#
11   -#
12   -msgid ""
13   -msgstr ""
14   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
15   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
16   -"PO-Revision-Date: 2014-12-18 18:40-0200\n"
17   -"Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
18   -"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
19   -"noosfero/pt/>\n"
20   -"Language: pt\n"
21   -"MIME-Version: 1.0\n"
22   -"Content-Type: text/plain; charset=UTF-8\n"
23   -"Content-Transfer-Encoding: 8bit\n"
24   -"Plural-Forms: nplurals=2; plural=n != 1;\n"
25   -"X-Generator: Weblate 2.0\n"
26   -
27   -#: plugins/bsc/lib/bsc_plugin.rb:10
28   -msgid "Adds the Bsc feature"
29   -msgstr "Adiciona a funcionalidades Bsc"
30   -
31   -#: plugins/bsc/lib/bsc_plugin.rb:14
32   -msgid "Create Bsc"
33   -msgstr "Criar Bsc"
34   -
35   -#: plugins/bsc/lib/bsc_plugin.rb:15
36   -msgid "Validate Enterprises"
37   -msgstr "Validar empreendimentos"
38   -
39   -#: plugins/bsc/lib/bsc_plugin.rb:20
40   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
41   -msgid "Manage associated enterprises"
42   -msgstr "Gerenciar empreendimentos associados"
43   -
44   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
45   -msgid "Transfer ownership"
46   -msgstr "Transferir administração"
47   -
48   -#: plugins/bsc/lib/bsc_plugin.rb:22
49   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
50   -msgid "Manage contracts"
51   -msgstr "Gerenciar contratos"
52   -
53   -#: plugins/bsc/lib/bsc_plugin.rb:98
54   -msgid "Bsc"
55   -msgstr "Bsc"
56   -
57   -#: plugins/bsc/lib/bsc_plugin.rb:109
58   -#: plugins/bsc/views/shared/_fields.html.erb:53
59   -msgid "Contact"
60   -msgstr "Contato"
61   -
62   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
63   -msgid "Bsc info and settings"
64   -msgstr "Informações e Configurações do Bsc"
65   -
66   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
67   -msgid "BSC association"
68   -msgstr "Associação de BSC"
69   -
70   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
71   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
72   -msgstr "%{requestor} quer associar este empreendimento com %{linked_subject}."
73   -
74   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
75   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
76   -msgstr "%{enterprise} aceitou seu pedido para associá-lo com %{bsc}."
77   -
78   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
79   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
80   -msgstr "%{enterprise} rejeitou seu pedido para associá-lo com %{bsc}."
81   -
82   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
83   -msgid ""
84   -"Here is the reject explanation left by the administrator:\n"
85   -"\n"
86   -"%{reject_explanation}"
87   -msgstr ""
88   -"Segue a explicação de rejeição deixada pelo administrador:\n"
89   -"\n"
90   -"%{reject_explanation}"
91   -
92   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
93   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
94   -msgstr "%{requestor} quer associar %{bsc} como seu BSC."
95   -
96   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
97   -msgid "[%s] Bsc management transferred to you."
98   -msgstr "[%s] Administração de Bsc transferida para você."
99   -
100   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
101   -msgid "Opened"
102   -msgstr "Aberto"
103   -
104   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
105   -msgid "Negotiating"
106   -msgstr "Em negociação"
107   -
108   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
109   -msgid "Executing"
110   -msgstr "Executando"
111   -
112   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
113   -msgid "Closed"
114   -msgstr "Fechado"
115   -
116   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
117   -msgid "Federal"
118   -msgstr "Federal"
119   -
120   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
121   -msgid "ProjectA"
122   -msgstr "ProjetoA"
123   -
124   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
125   -msgid "ProjectB"
126   -msgstr "ProjetoB"
127   -
128   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
129   -msgid "This Bsc associations were saved successfully."
130   -msgstr "As associações deste Bsc foram salvas com sucesso."
131   -
132   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
133   -msgid "This Bsc associations couldn't be saved."
134   -msgstr "As associações deste Bsc não puderam ser salvas."
135   -
136   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
137   -msgid "Enterprise ownership transferred."
138   -msgstr "A administração do empreendimento foi transferida."
139   -
140   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
141   -msgid "Enterprise was created in association with %s."
142   -msgstr "O empreendimento foi criado em associação com %s."
143   -
144   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
145   -msgid "Contract created."
146   -msgstr "O contrato foi criado."
147   -
148   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
149   -msgid "Contract created but some products could not be added."
150   -msgstr "O contrato foi criado mas alguns produtos não puderam ser adicionados."
151   -
152   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
153   -msgid "Contract doesn't exists! Maybe it was already removed."
154   -msgstr "O contrato não existe! Talvez ele já tenha sido removido."
155   -
156   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
157   -msgid "Could not edit such contract."
158   -msgstr "Não foi possível editar o contrato."
159   -
160   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
161   -msgid "Contract edited."
162   -msgstr "Contrato editado."
163   -
164   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
165   -msgid "Contract edited but some products could not be added."
166   -msgstr ""
167   -"O contrato foi editado mas alguns produtos não puderam ser adicionados."
168   -
169   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
170   -msgid "Contract removed."
171   -msgstr "Contrato removido."
172   -
173   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
174   -msgid "Contract could not be removed. Sorry! ^^"
175   -msgstr "O contrato não pôde ser removido. Desculpa!"
176   -
177   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
178   -msgid "Your Bsc was created."
179   -msgstr "Seu Bsc foi criado."
180   -
181   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
182   -msgid "Enterprises validated."
183   -msgstr "Empreendimento validados."
184   -
185   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
186   -msgid "Enterprise validations couldn't be saved."
187   -msgstr "As validações de empreendimento não puderam ser salvas."
188   -
189   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
190   -msgid "Associations awaiting approval:"
191   -msgstr "Associações aguardando aprovação:"
192   -
193   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
194   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
195   -msgid "Type in a search term for enterprise"
196   -msgstr "Digite um termo de pesquisa para empreendimentos"
197   -
198   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
199   -msgid "Add new enterprise"
200   -msgstr "Adicionar novo empreendimento"
201   -
202   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
203   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
204   -msgid "New contract"
205   -msgstr "Novo contrato"
206   -
207   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
208   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
209   -msgid "Client type"
210   -msgstr "Tipo de cliente"
211   -
212   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
213   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
214   -msgid "Business type"
215   -msgstr "Tipo de negócio"
216   -
217   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
218   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
219   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
220   -msgid "Status"
221   -msgstr "Estado"
222   -
223   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
224   -msgid "Type in search term for enterprise"
225   -msgstr "Digite um termo de pesquisa para empreendimentos"
226   -
227   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
228   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
229   -msgid "Quantity"
230   -msgstr "Quantidade"
231   -
232   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
233   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
234   -msgid "Unit price"
235   -msgstr "Preço unitário"
236   -
237   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
238   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
239   -msgid "Total"
240   -msgstr "Total"
241   -
242   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
243   -msgid "Add new product"
244   -msgstr "Adicionar novo produto"
245   -
246   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
247   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
248   -msgid "Supply period"
249   -msgstr "Período de fornecimento"
250   -
251   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
252   -msgid "Type in a search term for product"
253   -msgstr "Digite um termo de pesquisa para produto"
254   -
255   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
256   -#: plugins/bsc/views/shared/_fields.html.erb:5
257   -msgid "Basic information"
258   -msgstr "Informações Básicas"
259   -
260   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
261   -msgid "Number of producers"
262   -msgstr "Número de produtores"
263   -
264   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
265   -msgid "Annotations"
266   -msgstr "Anotações"
267   -
268   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
269   -msgid "Sort by"
270   -msgstr "Ordenar por"
271   -
272   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
273   -msgid "Date(newest first)"
274   -msgstr "Data(mais recentes primeiro)"
275   -
276   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
277   -msgid "Date(oldest first)"
278   -msgstr "Data(mais antigos primeiro)"
279   -
280   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
281   -msgid "Client name(A-Z)"
282   -msgstr "Nome do cliente(A-Z)"
283   -
284   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
285   -msgid "Client name(Z-A)"
286   -msgstr "Nome do cliente(Z-A)"
287   -
288   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
289   -msgid "There are no contracts at all."
290   -msgstr "Não há contratos."
291   -
292   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
293   -msgid "Are you sure?"
294   -msgstr "Você tem certeza?"
295   -
296   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
297   -msgid "Create new contract"
298   -msgstr "Criar novo contrato"
299   -
300   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
301   -msgid "Existing enterprises:"
302   -msgstr "Empreendimentos existentes:"
303   -
304   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
305   -msgid ""
306   -"Were found %{count} enterprises with similar names on the same city, you can "
307   -"decide to associate one of them or create the new enterprise confirming the "
308   -"informations you typed in."
309   -msgstr ""
310   -"Foram encontrados %{count} empreendimentos com nomes similares na mesma "
311   -"cidade, você pode decidir associar um deles ou criar um novo empreendimento "
312   -"confirmando as informações que você digitou."
313   -
314   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
315   -msgid "Associate"
316   -msgstr "Associar"
317   -
318   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
319   -msgid "Transfer Ownership"
320   -msgstr "Transferir administração"
321   -
322   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
323   -msgid ""
324   -"This option allows you to transfer this enterprise's management to another "
325   -"user. This action will remove all the current administrators. Be careful "
326   -"when confirming this procedure."
327   -msgstr ""
328   -"Esta opção permite transferir a administração do empreendimento para outro "
329   -"usuário. Esta ação removerá todos os administradores atuais. Seja cuidadoso "
330   -"ao confirmar este procedimento."
331   -
332   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
333   -msgid "Current administrators:"
334   -msgstr "Administradores atuais:"
335   -
336   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
337   -msgid "Administrator:"
338   -msgstr "Administradores:"
339   -
340   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
341   -msgid "Type in a search term for the new administrator"
342   -msgstr "Digite um termo de pesquisa para o novo adiministrador"
343   -
344   -#: plugins/bsc/views/shared/_fields.html.erb:39
345   -msgid ""
346   -"You are about to change the address, and this will break external links to "
347   -"this bsc or to posts inside it. Do you really want to change?"
348   -msgstr ""
349   -"Você está prestes a alterar o endereço, e isto vai quebrar links externos "
350   -"para esse bsc ou para artigos dentro dele. Você realmente deseja mudar?"
351   -
352   -#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
353   -msgid "The management of %{bsc} was transferred to you."
354   -msgstr "A adminstração de %{bsc} foi transferida para você."
355   -
356   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
357   -msgid "Contact phone: "
358   -msgstr "Telefone de contato: "
359   -
360   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
361   -msgid "Email: "
362   -msgstr "Email: "
363   -
364   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
365   -msgid "BSC registration"
366   -msgstr "Registro de BSC"
367   -
368   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
369   -msgid "Validate enterprises"
370   -msgstr "Validar empreendimentos"
plugins/bsc/po/ru/bsc.po
... ... @@ -1,410 +0,0 @@
1   -# Russian translation of noosfero.
2   -# Copyright (C) 2009 Anton Caceres
3   -# This file is distributed under the same license as the noosfero package.
4   -# Josef Spillner <josef.spillner@tu-dresden.de>, 2009.
5   -#
6   -msgid ""
7   -msgstr ""
8   -"Project-Id-Version: 1.2~rc2-23-g29aba34\n"
9   -"POT-Creation-Date: 2015-08-06 18:47-0300\n"
10   -"PO-Revision-Date: 2014-12-12 14:23+0200\n"
11   -"Last-Translator: Michal Čihař <michal@cihar.com>\n"
12   -"Language-Team: Russian <https://hosted.weblate.org/projects/noosfero/"
13   -"noosfero/ru/>\n"
14   -"Language: ru\n"
15   -"MIME-Version: 1.0\n"
16   -"Content-Type: text/plain; charset=UTF-8\n"
17   -"Content-Transfer-Encoding: 8bit\n"
18   -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
19   -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
20   -"X-Generator: Weblate 2.2-dev\n"
21   -
22   -#: plugins/bsc/lib/bsc_plugin.rb:10
23   -#, fuzzy
24   -msgid "Adds the Bsc feature"
25   -msgstr "Системные возможности"
26   -
27   -#: plugins/bsc/lib/bsc_plugin.rb:14
28   -#, fuzzy
29   -msgid "Create Bsc"
30   -msgstr "Создать"
31   -
32   -#: plugins/bsc/lib/bsc_plugin.rb:15
33   -#, fuzzy
34   -msgid "Validate Enterprises"
35   -msgstr "Подтвердить компанию"
36   -
37   -#: plugins/bsc/lib/bsc_plugin.rb:20
38   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
39   -#, fuzzy
40   -msgid "Manage associated enterprises"
41   -msgstr "Verwalte Unternehmensfelder"
42   -
43   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
44   -msgid "Transfer ownership"
45   -msgstr ""
46   -
47   -#: plugins/bsc/lib/bsc_plugin.rb:22
48   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
49   -#, fuzzy
50   -msgid "Manage contracts"
51   -msgstr "Управлять контактами"
52   -
53   -#: plugins/bsc/lib/bsc_plugin.rb:98
54   -msgid "Bsc"
55   -msgstr ""
56   -
57   -#: plugins/bsc/lib/bsc_plugin.rb:109
58   -#: plugins/bsc/views/shared/_fields.html.erb:53
59   -msgid "Contact"
60   -msgstr "Контакт"
61   -
62   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
63   -#, fuzzy
64   -msgid "Bsc info and settings"
65   -msgstr "Инфо профиля и настройки"
66   -
67   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
68   -#, fuzzy
69   -msgid "BSC association"
70   -msgstr "Основная информация"
71   -
72   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
73   -#, fuzzy
74   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
75   -msgstr "'%{user} хочет активировать E-Mail '%{email}' "
76   -
77   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
78   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
79   -msgstr ""
80   -
81   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
82   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
83   -msgstr ""
84   -
85   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
86   -msgid ""
87   -"Here is the reject explanation left by the administrator:\n"
88   -"\n"
89   -"%{reject_explanation}"
90   -msgstr ""
91   -
92   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
93   -#, fuzzy
94   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
95   -msgstr "%s хочет быть вашим другом"
96   -
97   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
98   -msgid "[%s] Bsc management transferred to you."
99   -msgstr ""
100   -
101   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
102   -#, fuzzy
103   -msgid "Opened"
104   -msgstr "открыть"
105   -
106   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
107   -#, fuzzy
108   -msgid "Negotiating"
109   -msgstr "Настройки"
110   -
111   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
112   -#, fuzzy
113   -msgid "Executing"
114   -msgstr "Редактирование"
115   -
116   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
117   -#, fuzzy
118   -msgid "Closed"
119   -msgstr "Закрыть"
120   -
121   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
122   -#, fuzzy
123   -msgid "Federal"
124   -msgstr "Основная задача"
125   -
126   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
127   -#, fuzzy
128   -msgid "ProjectA"
129   -msgstr "Продукт"
130   -
131   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
132   -#, fuzzy
133   -msgid "ProjectB"
134   -msgstr "Продукт"
135   -
136   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
137   -#, fuzzy
138   -msgid "This Bsc associations were saved successfully."
139   -msgstr "Все файлы успешно обновлены"
140   -
141   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
142   -#, fuzzy
143   -msgid "This Bsc associations couldn't be saved."
144   -msgstr "Файл не может быть сохранен"
145   -
146   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
147   -#, fuzzy
148   -msgid "Enterprise ownership transferred."
149   -msgstr "Домашняя страница компании"
150   -
151   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
152   -#, fuzzy
153   -msgid "Enterprise was created in association with %s."
154   -msgstr "Регистрация предприятия: \"%s\""
155   -
156   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
157   -#, fuzzy
158   -msgid "Contract created."
159   -msgstr "Контактный email"
160   -
161   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
162   -msgid "Contract created but some products could not be added."
163   -msgstr ""
164   -
165   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
166   -msgid "Contract doesn't exists! Maybe it was already removed."
167   -msgstr ""
168   -
169   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
170   -#, fuzzy
171   -msgid "Could not edit such contract."
172   -msgstr "Невозможно обновить продукт"
173   -
174   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
175   -#, fuzzy
176   -msgid "Contract edited."
177   -msgstr "Контактный email"
178   -
179   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
180   -#, fuzzy
181   -msgid "Contract edited but some products could not be added."
182   -msgstr "Блок персональной информации"
183   -
184   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
185   -#, fuzzy
186   -msgid "Contract removed."
187   -msgstr "Тело статьи"
188   -
189   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
190   -#, fuzzy
191   -msgid "Contract could not be removed. Sorry! ^^"
192   -msgstr "Блок персональной информации"
193   -
194   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
195   -#, fuzzy
196   -msgid "Your Bsc was created."
197   -msgstr "Ваш E-Mail %s активирован"
198   -
199   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
200   -#, fuzzy
201   -msgid "Enterprises validated."
202   -msgstr "Утвердители компаний"
203   -
204   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
205   -#, fuzzy
206   -msgid "Enterprise validations couldn't be saved."
207   -msgstr "Утвердители компаний"
208   -
209   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
210   -msgid "Associations awaiting approval:"
211   -msgstr ""
212   -
213   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
214   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
215   -#, fuzzy
216   -msgid "Type in a search term for enterprise"
217   -msgstr "Отключить поиск по компаниям"
218   -
219   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
220   -#, fuzzy
221   -msgid "Add new enterprise"
222   -msgstr "Одна компания"
223   -
224   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
225   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
226   -#, fuzzy
227   -msgid "New contract"
228   -msgstr "Весь контент"
229   -
230   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
231   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
232   -#, fuzzy
233   -msgid "Client type"
234   -msgstr "Тип контента"
235   -
236   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
237   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
238   -#, fuzzy
239   -msgid "Business type"
240   -msgstr "Название работы"
241   -
242   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
243   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
244   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
245   -msgid "Status"
246   -msgstr "Статус"
247   -
248   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
249   -#, fuzzy
250   -msgid "Type in search term for enterprise"
251   -msgstr "Отключить поиск по компаниям"
252   -
253   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
254   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
255   -#, fuzzy
256   -msgid "Quantity"
257   -msgstr "Качество"
258   -
259   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
260   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
261   -#, fuzzy
262   -msgid "Unit price"
263   -msgstr "Прайс:"
264   -
265   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
266   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
267   -#, fuzzy
268   -msgid "Total"
269   -msgstr "Получатель:"
270   -
271   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
272   -#, fuzzy
273   -msgid "Add new product"
274   -msgstr "Управление продуктами"
275   -
276   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
277   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
278   -#, fuzzy
279   -msgid "Supply period"
280   -msgstr "Поставщик: %s"
281   -
282   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
283   -#, fuzzy
284   -msgid "Type in a search term for product"
285   -msgstr "Отключить поиск по компаниям"
286   -
287   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
288   -#: plugins/bsc/views/shared/_fields.html.erb:5
289   -msgid "Basic information"
290   -msgstr "Основная информация"
291   -
292   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
293   -#, fuzzy
294   -msgid "Number of producers"
295   -msgstr "Количество новостей"
296   -
297   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
298   -#, fuzzy
299   -msgid "Annotations"
300   -msgstr "Текст приглашения"
301   -
302   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
303   -#, fuzzy
304   -msgid "Sort by"
305   -msgstr "Отправлено %s."
306   -
307   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
308   -msgid "Date(newest first)"
309   -msgstr ""
310   -
311   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
312   -msgid "Date(oldest first)"
313   -msgstr ""
314   -
315   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
316   -msgid "Client name(A-Z)"
317   -msgstr ""
318   -
319   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
320   -msgid "Client name(Z-A)"
321   -msgstr ""
322   -
323   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
324   -#, fuzzy
325   -msgid "There are no contracts at all."
326   -msgstr "У вас еще нет контактов"
327   -
328   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
329   -msgid "Are you sure?"
330   -msgstr ""
331   -
332   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
333   -#, fuzzy
334   -msgid "Create new contract"
335   -msgstr "Создать новое сообщество"
336   -
337   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
338   -#, fuzzy
339   -msgid "Existing enterprises:"
340   -msgstr "Unternehmen ändern"
341   -
342   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
343   -msgid ""
344   -"Were found %{count} enterprises with similar names on the same city, you can "
345   -"decide to associate one of them or create the new enterprise confirming the "
346   -"informations you typed in."
347   -msgstr ""
348   -
349   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
350   -#, fuzzy
351   -msgid "Associate"
352   -msgstr "Активировать"
353   -
354   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
355   -msgid "Transfer Ownership"
356   -msgstr ""
357   -
358   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
359   -msgid ""
360   -"This option allows you to transfer this enterprise's management to another "
361   -"user. This action will remove all the current administrators. Be careful "
362   -"when confirming this procedure."
363   -msgstr ""
364   -
365   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
366   -#, fuzzy
367   -msgid "Current administrators:"
368   -msgstr "Текущие участники"
369   -
370   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
371   -#, fuzzy
372   -msgid "Administrator:"
373   -msgstr "Администраторы:"
374   -
375   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
376   -msgid "Type in a search term for the new administrator"
377   -msgstr ""
378   -
379   -#: plugins/bsc/views/shared/_fields.html.erb:39
380   -#, fuzzy
381   -msgid ""
382   -"You are about to change the address, and this will break external links to "
383   -"this bsc or to posts inside it. Do you really want to change?"
384   -msgstr ""
385   -"Вы собираетесь сменить адрес, это приведет к разрыву всех внешних ссылок, "
386   -"ведущих на вашу страницу. Вы уверены?"
387   -
388   -#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
389   -msgid "The management of %{bsc} was transferred to you."
390   -msgstr ""
391   -
392   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
393   -#, fuzzy
394   -msgid "Contact phone: "
395   -msgstr "Kontakttelefon:"
396   -
397   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
398   -#, fuzzy
399   -msgid "Email: "
400   -msgstr "E-Mail: %s"
401   -
402   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
403   -#, fuzzy
404   -msgid "BSC registration"
405   -msgstr "Регистрация предприятия"
406   -
407   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
408   -#, fuzzy
409   -msgid "Validate enterprises"
410   -msgstr "Подтвердить компанию"
plugins/bsc/public/contracts.js
... ... @@ -1,86 +0,0 @@
1   -var BSCContracts = {};
2   -
3   -(function($){
4   - BSCContracts.onDelete = function(item){
5   - $('.token-input-dropdown').hide();
6   - $('#bsc-plugin-row-'+item.sale_id.toString()).remove();
7   - BSCContracts.updateTotal();
8   - };
9   -
10   - BSCContracts.onAdd = function(item){
11   - var quantity = $('#bsc-plugin-sale-'+item.sale_id.toString()+'-quantity');
12   - var price = $('#bsc-plugin-sale-'+item.sale_id.toString()+'-price');
13   - quantity.addClass('required');
14   - price.addClass('required');
15   - quantity.val(1);
16   - price.val(item.product_price);
17   - BSCContracts.updateTotal();
18   - };
19   -
20   - BSCContracts.newID = function(){
21   - if ( !this.idNum ) this.idNum = 0;
22   - return this.idNum++;
23   - };
24   -
25   - BSCContracts.newProductLine = function(item){
26   - var id = this.newID();
27   - var tr = $('<tr class="bsc-plugin-sales-product" id="bsc-plugin-row-'+id+'"></tr>');
28   - var tds = $('<td></td><td></td><td>'+this.currencyUnit+'</td>').appendTo(tr);
29   - var input = $('<input name="sales['+id+'][product_id]" class="search-product-field"/>').appendTo(tds[0]);
30   - var searchUrl = this.searchUrl
31   - .replace('ENTERPRISES', $('#involved-enterprises').val())
32   - .replace('SALE_ID', id)
33   - .replace('ADDED_PRODUCTS', $.map($('.search-product-field'), function(item){return item.value}).join(','));
34   - var prePopulation = [];
35   - var quantity = '';
36   - var price = '';
37   - var required = '';
38   - if(item) {
39   - item.sale_id = id;
40   - prePopulation = [item];
41   - quantity = item.quantity;
42   - price = item.product_price;
43   - required = 'required';
44   - }
45   - var opts = $.extend( { prePopulate: prePopulation, queryParam: input[0].name }, this.tokenInputOptions );
46   -
47   - input.keydown(function(event){ if(event.keyCode == '13') return false })
48   - .tokenInput(searchUrl, opts);
49   - $('#bsc-plugin-contract-total-row').before(tr);
50   - $('<input id="bsc-plugin-sale-'+id+'-quantity" class="bsc-plugin-sales-quantity '+required+' digits" name="sales['+id+'][quantity]" align="center" size="8" value="'+quantity+'"/>').appendTo(tds[1]);
51   - $('<input id="bsc-plugin-sale-'+id+'-price" class="bsc-plugin-sales-price '+required+' number" name="sales['+id+'][price]" value="'+price+'"/>').appendTo(tds[2]);
52   - };
53   -
54   - BSCContracts.prePopulate = function(items){
55   - $(items).each(function(index, item){BSCContracts.newProductLine(item)});
56   - }
57   -
58   - BSCContracts.updateTotal = function(){
59   - var total = 0;
60   - var quantity = 0;
61   - var price = 0;
62   - $('.bsc-plugin-sales-product').each(function(index){
63   - quantity = $('#' + $(this).attr('id') + " .bsc-plugin-sales-quantity").val();
64   - price = $('#'+$(this).attr('id') + " .bsc-plugin-sales-price").val();
65   - total += quantity*price;
66   - });
67   - $('#bsc-plugin-sales-total-value').text(BSCContracts.currencyUnit+' '+total);
68   - }
69   -
70   - $(".bsc-plugin-sales-price, .bsc-plugin-sales-quantity").live('change', function(e){
71   - BSCContracts.updateTotal();
72   - });
73   -
74   - $("#bsc-plugin-add-new-product").click(function(){
75   - var last = $('.search-product-field:last');
76   - if(!last.val() && last.size() != 0){
77   - last.focus();
78   - return false;
79   - }
80   - var next_id = parseInt(last.attr('data-sale-id'))+1;
81   - var enterprises = $('#involved-enterprises').val().replace(/,/g,'-');
82   - BSCContracts.newProductLine();
83   - return false;
84   - });
85   -
86   -})(jQuery);
plugins/bsc/public/datepicker.js
... ... @@ -1,14 +0,0 @@
1   -var dates = jQuery( "#from, #to" ).datepicker({
2   - defaultDate: "+1w",
3   - changeMonth: true,
4   - dateFormat: 'yy-mm-dd',
5   - onSelect: function( selectedDate ) {
6   - var option = this.id == "from" ? "minDate" : "maxDate",
7   - instance = jQuery( this ).data( "datepicker" ),
8   - date = jQuery.datepicker.parseDate(
9   - instance.settings.dateFormat ||
10   - jQuery.datepicker._defaults.dateFormat,
11   - selectedDate, instance.settings );
12   - dates.not( this ).datepicker( "option", option, date );
13   - }
14   -});
plugins/bsc/public/images/manage-bsc-enterprises-icon.png

978 Bytes

plugins/bsc/public/images/manage-bsc-enterprises.gif

2.05 KB

plugins/bsc/public/images/manage-bsc-enterprises.png

3.84 KB

plugins/bsc/public/images/manage-bsc-enterprises.svg
... ... @@ -1,1309 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2   -<svg
3   - xmlns:dc="http://purl.org/dc/elements/1.1/"
4   - xmlns:cc="http://creativecommons.org/ns#"
5   - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6   - xmlns:svg="http://www.w3.org/2000/svg"
7   - xmlns="http://www.w3.org/2000/svg"
8   - xmlns:xlink="http://www.w3.org/1999/xlink"
9   - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
10   - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11   - width="48"
12   - height="48"
13   - overflow="visible"
14   - enable-background="new 0 0 128 129.396"
15   - xml:space="preserve"
16   - id="svg2"
17   - sodipodi:version="0.32"
18   - inkscape:version="0.47 r22583"
19   - sodipodi:docname="BSC.svg"
20   - version="1.0"
21   - inkscape:export-filename="/home/tigert/My Downloads/go-home.png"
22   - inkscape:export-xdpi="90.000000"
23   - inkscape:export-ydpi="90.000000"><metadata
24   - id="metadata367"><rdf:RDF><cc:Work
25   - rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
26   - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><cc:license
27   - rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" /><dc:title /><dc:creator><cc:Agent><dc:title>Jakub Steiner</dc:title></cc:Agent></dc:creator><dc:source>http://jimmac.musichall.cz</dc:source><dc:subject><rdf:Bag><rdf:li>home</rdf:li><rdf:li>return</rdf:li><rdf:li>go</rdf:li><rdf:li>default</rdf:li><rdf:li>user</rdf:li><rdf:li>directory</rdf:li></rdf:Bag></dc:subject><dc:contributor><cc:Agent><dc:title>Tuomas Kuosmanen</dc:title></cc:Agent></dc:contributor></cc:Work><cc:License
28   - rdf:about="http://creativecommons.org/licenses/by-sa/2.0/"><cc:permits
29   - rdf:resource="http://web.resource.org/cc/Reproduction" /><cc:permits
30   - rdf:resource="http://web.resource.org/cc/Distribution" /><cc:requires
31   - rdf:resource="http://web.resource.org/cc/Notice" /><cc:requires
32   - rdf:resource="http://web.resource.org/cc/Attribution" /><cc:permits
33   - rdf:resource="http://web.resource.org/cc/DerivativeWorks" /><cc:requires
34   - rdf:resource="http://web.resource.org/cc/ShareAlike" /></cc:License></rdf:RDF></metadata><defs
35   - id="defs365"><linearGradient
36   - inkscape:collect="always"
37   - id="linearGradient3177"><stop
38   - style="stop-color:#729fcf;stop-opacity:1"
39   - offset="0"
40   - id="stop3179" /><stop
41   - style="stop-color:#204a87;stop-opacity:1"
42   - offset="1"
43   - id="stop3181" /></linearGradient><linearGradient
44   - id="linearGradient3171"><stop
45   - id="stop3173"
46   - offset="0"
47   - style="stop-color:#d3d7cf;stop-opacity:1" /><stop
48   - id="stop3175"
49   - offset="1"
50   - style="stop-color:#888a85;stop-opacity:1" /></linearGradient><linearGradient
51   - inkscape:collect="always"
52   - id="linearGradient5161"><stop
53   - style="stop-color:#c17d11;stop-opacity:1;"
54   - offset="0"
55   - id="stop5163" /><stop
56   - style="stop-color:#8f5902;stop-opacity:1"
57   - offset="1"
58   - id="stop5165" /></linearGradient><linearGradient
59   - inkscape:collect="always"
60   - id="linearGradient3771"><stop
61   - style="stop-color:#ffffff;stop-opacity:1;"
62   - offset="0"
63   - id="stop3773" /><stop
64   - style="stop-color:#ffffff;stop-opacity:0;"
65   - offset="1"
66   - id="stop3775" /></linearGradient><linearGradient
67   - gradientTransform="matrix(0.314683,0.000000,0.000000,0.314683,4.128264,3.742874)"
68   - y2="59.7995"
69   - x2="48.046001"
70   - y1="117.5205"
71   - x1="80.223602"
72   - gradientUnits="userSpaceOnUse"
73   - id="linearGradient3736">
74   - <stop
75   - id="stop3738"
76   - style="stop-color:#CCCCCC"
77   - offset="0" />
78   - <stop
79   - id="stop3740"
80   - style="stop-color:#FFFFFF"
81   - offset="0.81071424" />
82   - <midPointStop
83   - id="midPointStop3742"
84   - style="stop-color:#CCCCCC"
85   - offset="0" />
86   - <midPointStop
87   - id="midPointStop3744"
88   - style="stop-color:#CCCCCC"
89   - offset="0.5" />
90   - <midPointStop
91   - id="midPointStop3746"
92   - style="stop-color:#FFFFFF"
93   - offset="0.9831" />
94   - </linearGradient><inkscape:perspective
95   - sodipodi:type="inkscape:persp3d"
96   - inkscape:vp_x="0 : 24 : 1"
97   - inkscape:vp_y="0 : 1000 : 0"
98   - inkscape:vp_z="48 : 24 : 1"
99   - inkscape:persp3d-origin="24 : 16 : 1"
100   - id="perspective92" /><linearGradient
101   - inkscape:collect="always"
102   - id="linearGradient5060"><stop
103   - style="stop-color:black;stop-opacity:1;"
104   - offset="0"
105   - id="stop5062" /><stop
106   - style="stop-color:black;stop-opacity:0;"
107   - offset="1"
108   - id="stop5064" /></linearGradient><linearGradient
109   - id="linearGradient5048"><stop
110   - style="stop-color:black;stop-opacity:0;"
111   - offset="0"
112   - id="stop5050" /><stop
113   - id="stop5056"
114   - offset="0.5"
115   - style="stop-color:black;stop-opacity:1;" /><stop
116   - style="stop-color:black;stop-opacity:0;"
117   - offset="1"
118   - id="stop5052" /></linearGradient><linearGradient
119   - id="linearGradient2406"><stop
120   - style="stop-color:#7c7e79;stop-opacity:1;"
121   - offset="0"
122   - id="stop2408" /><stop
123   - id="stop2414"
124   - offset="0.1724138"
125   - style="stop-color:#848681;stop-opacity:1;" /><stop
126   - style="stop-color:#898c86;stop-opacity:1;"
127   - offset="1"
128   - id="stop2410" /></linearGradient><linearGradient
129   - inkscape:collect="always"
130   - id="linearGradient2390"><stop
131   - style="stop-color:#919191;stop-opacity:1;"
132   - offset="0"
133   - id="stop2392" /><stop
134   - style="stop-color:#919191;stop-opacity:0;"
135   - offset="1"
136   - id="stop2394" /></linearGradient><linearGradient
137   - inkscape:collect="always"
138   - id="linearGradient2378"><stop
139   - style="stop-color:#575757;stop-opacity:1;"
140   - offset="0"
141   - id="stop2380" /><stop
142   - style="stop-color:#575757;stop-opacity:0;"
143   - offset="1"
144   - id="stop2382" /></linearGradient><linearGradient
145   - inkscape:collect="always"
146   - id="linearGradient2368"><stop
147   - style="stop-color:#ffffff;stop-opacity:1;"
148   - offset="0"
149   - id="stop2370" /><stop
150   - style="stop-color:#ffffff;stop-opacity:0;"
151   - offset="1"
152   - id="stop2372" /></linearGradient><linearGradient
153   - inkscape:collect="always"
154   - id="linearGradient2349"><stop
155   - style="stop-color:#000000;stop-opacity:1;"
156   - offset="0"
157   - id="stop2351" /><stop
158   - style="stop-color:#000000;stop-opacity:0;"
159   - offset="1"
160   - id="stop2353" /></linearGradient><linearGradient
161   - id="linearGradient2341"><stop
162   - id="stop2343"
163   - offset="0"
164   - style="stop-color:#000000;stop-opacity:1;" /><stop
165   - id="stop2345"
166   - offset="1"
167   - style="stop-color:#000000;stop-opacity:0;" /></linearGradient><linearGradient
168   - id="linearGradient2329"><stop
169   - style="stop-color:#000000;stop-opacity:0.18556701;"
170   - offset="0"
171   - id="stop2331" /><stop
172   - style="stop-color:#ffffff;stop-opacity:1;"
173   - offset="1"
174   - id="stop2333" /></linearGradient><linearGradient
175   - inkscape:collect="always"
176   - id="linearGradient2319"><stop
177   - style="stop-color:#000000;stop-opacity:1;"
178   - offset="0"
179   - id="stop2321" /><stop
180   - style="stop-color:#000000;stop-opacity:0;"
181   - offset="1"
182   - id="stop2323" /></linearGradient><linearGradient
183   - id="linearGradient2307"><stop
184   - style="stop-color:#edd400;stop-opacity:1;"
185   - offset="0"
186   - id="stop2309" /><stop
187   - style="stop-color:#998800;stop-opacity:1;"
188   - offset="1"
189   - id="stop2311" /></linearGradient><linearGradient
190   - inkscape:collect="always"
191   - id="linearGradient2299"><stop
192   - style="stop-color:#ffffff;stop-opacity:1;"
193   - offset="0"
194   - id="stop2301" /><stop
195   - style="stop-color:#ffffff;stop-opacity:0;"
196   - offset="1"
197   - id="stop2303" /></linearGradient><linearGradient
198   - id="XMLID_2_"
199   - gradientUnits="userSpaceOnUse"
200   - x1="80.223602"
201   - y1="117.5205"
202   - x2="48.046001"
203   - y2="59.7995"
204   - gradientTransform="matrix(0.314683,0.000000,0.000000,0.314683,4.128264,3.742874)">
205   - <stop
206   - offset="0"
207   - style="stop-color:#CCCCCC"
208   - id="stop17" />
209   - <stop
210   - offset="0.9831"
211   - style="stop-color:#FFFFFF"
212   - id="stop19" />
213   - <midPointStop
214   - offset="0"
215   - style="stop-color:#CCCCCC"
216   - id="midPointStop48" />
217   - <midPointStop
218   - offset="0.5"
219   - style="stop-color:#CCCCCC"
220   - id="midPointStop50" />
221   - <midPointStop
222   - offset="0.9831"
223   - style="stop-color:#FFFFFF"
224   - id="midPointStop52" />
225   - </linearGradient><linearGradient
226   - id="XMLID_39_"
227   - gradientUnits="userSpaceOnUse"
228   - x1="64.387703"
229   - y1="65.124001"
230   - x2="64.387703"
231   - y2="35.569"
232   - gradientTransform="matrix(0.354101,0.000000,0.000000,0.354101,1.638679,-8.364921e-2)">
233   - <stop
234   - offset="0"
235   - style="stop-color:#FFFFFF"
236   - id="stop336" />
237   - <stop
238   - offset="0.8539"
239   - style="stop-color:#FF6200"
240   - id="stop338" />
241   - <stop
242   - offset="1"
243   - style="stop-color:#F25D00"
244   - id="stop340" />
245   - <midPointStop
246   - offset="0"
247   - style="stop-color:#FFFFFF"
248   - id="midPointStop335" />
249   - <midPointStop
250   - offset="0.5"
251   - style="stop-color:#FFFFFF"
252   - id="midPointStop337" />
253   - <midPointStop
254   - offset="0.8539"
255   - style="stop-color:#FF6200"
256   - id="midPointStop339" />
257   - <midPointStop
258   - offset="0.5"
259   - style="stop-color:#FF6200"
260   - id="midPointStop341" />
261   - <midPointStop
262   - offset="1"
263   - style="stop-color:#F25D00"
264   - id="midPointStop343" />
265   - </linearGradient><radialGradient
266   - inkscape:collect="always"
267   - xlink:href="#linearGradient2307"
268   - id="radialGradient2313"
269   - cx="19.985598"
270   - cy="36.77816"
271   - fx="19.985598"
272   - fy="36.77816"
273   - r="1.0821035"
274   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.565787)"
275   - gradientUnits="userSpaceOnUse" /><radialGradient
276   - inkscape:collect="always"
277   - xlink:href="#linearGradient2319"
278   - id="radialGradient2325"
279   - cx="20.443665"
280   - cy="37.425829"
281   - fx="20.443665"
282   - fy="37.425829"
283   - r="1.0821035"
284   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
285   - gradientUnits="userSpaceOnUse" /><radialGradient
286   - inkscape:collect="always"
287   - xlink:href="#linearGradient2349"
288   - id="radialGradient2355"
289   - cx="24.023088"
290   - cy="40.56913"
291   - fx="24.023088"
292   - fy="40.56913"
293   - r="16.28684"
294   - gradientTransform="matrix(1.000000,0.000000,0.000000,0.431250,1.157278e-15,23.07369)"
295   - gradientUnits="userSpaceOnUse" /><linearGradient
296   - inkscape:collect="always"
297   - xlink:href="#linearGradient2390"
298   - id="linearGradient2396"
299   - x1="30.603519"
300   - y1="37.337803"
301   - x2="30.603519"
302   - y2="36.112415"
303   - gradientUnits="userSpaceOnUse"
304   - gradientTransform="matrix(1.263867,0,0,0.859794,-6.499556,8.390924)" /><linearGradient
305   - inkscape:collect="always"
306   - xlink:href="#linearGradient5048"
307   - id="linearGradient3710"
308   - gradientUnits="userSpaceOnUse"
309   - gradientTransform="matrix(2.774389,0,0,1.969706,-1892.179,-872.8854)"
310   - x1="302.85715"
311   - y1="366.64789"
312   - x2="302.85715"
313   - y2="609.50507" /><radialGradient
314   - inkscape:collect="always"
315   - xlink:href="#linearGradient5060"
316   - id="radialGradient3712"
317   - gradientUnits="userSpaceOnUse"
318   - gradientTransform="matrix(2.774389,0,0,1.969706,-1891.633,-872.8854)"
319   - cx="605.71429"
320   - cy="486.64789"
321   - fx="605.71429"
322   - fy="486.64789"
323   - r="117.14286" /><radialGradient
324   - inkscape:collect="always"
325   - xlink:href="#linearGradient5060"
326   - id="radialGradient3714"
327   - gradientUnits="userSpaceOnUse"
328   - gradientTransform="matrix(-2.774389,0,0,1.969706,112.7623,-872.8854)"
329   - cx="605.71429"
330   - cy="486.64789"
331   - fx="605.71429"
332   - fy="486.64789"
333   - r="117.14286" /><linearGradient
334   - inkscape:collect="always"
335   - xlink:href="#XMLID_2_"
336   - id="linearGradient3716"
337   - gradientUnits="userSpaceOnUse"
338   - gradientTransform="matrix(0.336922,0,0,0.166888,-42.01712,15.46151)"
339   - x1="52.006104"
340   - y1="166.1331"
341   - x2="14.049017"
342   - y2="-42.218513" /><linearGradient
343   - inkscape:collect="always"
344   - xlink:href="#linearGradient2329"
345   - id="linearGradient3718"
346   - gradientUnits="userSpaceOnUse"
347   - gradientTransform="matrix(0.898789,0,0,1.071914,-59.521975,-2.080838)"
348   - x1="17.602522"
349   - y1="26.057423"
350   - x2="17.682528"
351   - y2="32.654099" /><radialGradient
352   - inkscape:collect="always"
353   - xlink:href="#linearGradient2378"
354   - id="radialGradient3720"
355   - gradientUnits="userSpaceOnUse"
356   - gradientTransform="matrix(1.125263,-3.585417e-8,4.269819e-8,1.340059,-63.006704,1.355395)"
357   - cx="24.195112"
358   - cy="10.577631"
359   - fx="24.195112"
360   - fy="10.577631"
361   - r="15.242914" /><linearGradient
362   - inkscape:collect="always"
363   - xlink:href="#linearGradient2406"
364   - id="linearGradient3722"
365   - gradientUnits="userSpaceOnUse"
366   - gradientTransform="matrix(0.888785,0,0,1.08932,-57.58901,-1.524336)"
367   - x1="17.850183"
368   - y1="28.939463"
369   - x2="19.040216"
370   - y2="41.03223" /><radialGradient
371   - inkscape:collect="always"
372   - xlink:href="#linearGradient2319"
373   - id="radialGradient3724"
374   - gradientUnits="userSpaceOnUse"
375   - gradientTransform="matrix(1.125263,0,0,0.982744,-63.428678,0.731106)"
376   - cx="20.443665"
377   - cy="37.425829"
378   - fx="20.443665"
379   - fy="37.425829"
380   - r="1.0821035" /><radialGradient
381   - inkscape:collect="always"
382   - xlink:href="#linearGradient2307"
383   - id="radialGradient3726"
384   - gradientUnits="userSpaceOnUse"
385   - gradientTransform="matrix(1.125263,0,0,0.982744,-63.428678,0.565787)"
386   - cx="19.985598"
387   - cy="36.77816"
388   - fx="19.985598"
389   - fy="36.77816"
390   - r="1.0821035" /><linearGradient
391   - inkscape:collect="always"
392   - xlink:href="#XMLID_39_"
393   - id="linearGradient3728"
394   - gradientUnits="userSpaceOnUse"
395   - gradientTransform="matrix(0.354101,0,0,0.354101,-58.361321,-0.08364921)"
396   - x1="64.387703"
397   - y1="65.124001"
398   - x2="64.387703"
399   - y2="35.569" /><radialGradient
400   - inkscape:collect="always"
401   - xlink:href="#linearGradient2299"
402   - id="radialGradient3730"
403   - gradientUnits="userSpaceOnUse"
404   - gradientTransform="matrix(4.100086,0,0,4.201322,-85.41506,-78.53967)"
405   - cx="7.5326638"
406   - cy="24.202574"
407   - fx="7.5326638"
408   - fy="24.202574"
409   - r="8.2452128" /><radialGradient
410   - inkscape:collect="always"
411   - xlink:href="#linearGradient2341"
412   - id="radialGradient3732"
413   - gradientUnits="userSpaceOnUse"
414   - gradientTransform="matrix(4.100086,0,0,-4.201322,-65.198109,105.3535)"
415   - cx="11.68129"
416   - cy="19.554111"
417   - fx="11.68129"
418   - fy="19.554111"
419   - r="8.2452126" /><radialGradient
420   - inkscape:collect="always"
421   - xlink:href="#linearGradient2368"
422   - id="radialGradient3734"
423   - gradientUnits="userSpaceOnUse"
424   - gradientTransform="matrix(3.751495,0,0,3.147818,-142.00907,-65.70704)"
425   - cx="29.913452"
426   - cy="30.442923"
427   - fx="29.913452"
428   - fy="30.442923"
429   - r="4.0018832" /><linearGradient
430   - inkscape:collect="always"
431   - xlink:href="#linearGradient3736"
432   - id="linearGradient4355"
433   - gradientUnits="userSpaceOnUse"
434   - gradientTransform="matrix(0.336922,0.000000,0.000000,0.166888,17.98288,15.46151)"
435   - x1="49.023571"
436   - y1="173.99986"
437   - x2="19.343113"
438   - y2="-5.7614088" /><radialGradient
439   - inkscape:collect="always"
440   - xlink:href="#linearGradient2378"
441   - id="radialGradient4379"
442   - gradientUnits="userSpaceOnUse"
443   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
444   - cx="28.399611"
445   - cy="15.333439"
446   - fx="28.399611"
447   - fy="15.333439"
448   - r="15.242914" /><radialGradient
449   - inkscape:collect="always"
450   - xlink:href="#linearGradient2341"
451   - id="radialGradient4473"
452   - gradientUnits="userSpaceOnUse"
453   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-37.078328)"
454   - cx="11.651313"
455   - cy="20.026194"
456   - fx="11.651313"
457   - fy="20.026194"
458   - r="8.2452126" /><radialGradient
459   - inkscape:collect="always"
460   - xlink:href="#linearGradient2299"
461   - id="radialGradient4657"
462   - gradientUnits="userSpaceOnUse"
463   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-53.978222)"
464   - cx="8.027895"
465   - cy="24.287516"
466   - fx="8.027895"
467   - fy="24.287516"
468   - r="8.2452128" /><linearGradient
469   - inkscape:collect="always"
470   - xlink:href="#linearGradient2329"
471   - id="linearGradient4661"
472   - gradientUnits="userSpaceOnUse"
473   - gradientTransform="matrix(0.67409175,0,0,0.92339382,5.1085187,4.2256015)"
474   - x1="15.415529"
475   - y1="23.833527"
476   - x2="16.899008"
477   - y2="33.219193" /><linearGradient
478   - inkscape:collect="always"
479   - xlink:href="#linearGradient3771"
480   - id="linearGradient4665"
481   - gradientUnits="userSpaceOnUse"
482   - gradientTransform="translate(-1,1)"
483   - x1="26.5"
484   - y1="36.5"
485   - x2="24.5"
486   - y2="28.5" /><radialGradient
487   - inkscape:collect="always"
488   - xlink:href="#linearGradient2368"
489   - id="radialGradient4669"
490   - gradientUnits="userSpaceOnUse"
491   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
492   - cx="29.913452"
493   - cy="30.442923"
494   - fx="29.913452"
495   - fy="30.442923"
496   - r="4.0018832" /><radialGradient
497   - inkscape:collect="always"
498   - xlink:href="#linearGradient5060"
499   - id="radialGradient4693"
500   - gradientUnits="userSpaceOnUse"
501   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
502   - cx="605.71429"
503   - cy="486.64789"
504   - fx="605.71429"
505   - fy="486.64789"
506   - r="117.14286" /><linearGradient
507   - inkscape:collect="always"
508   - xlink:href="#linearGradient5048"
509   - id="linearGradient4697"
510   - gradientUnits="userSpaceOnUse"
511   - gradientTransform="matrix(2.3780477,0,0,1.969706,-1808.0185,-845.99583)"
512   - x1="304.19855"
513   - y1="357.48697"
514   - x2="304.19855"
515   - y2="603.21515" /><radialGradient
516   - inkscape:collect="always"
517   - xlink:href="#linearGradient5060"
518   - id="radialGradient4701"
519   - gradientUnits="userSpaceOnUse"
520   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2039.1167,-872.62632)"
521   - cx="605.71429"
522   - cy="486.64789"
523   - fx="605.71429"
524   - fy="486.64789"
525   - r="117.14286" /><linearGradient
526   - inkscape:collect="always"
527   - xlink:href="#linearGradient5048"
528   - id="linearGradient4765"
529   - gradientUnits="userSpaceOnUse"
530   - gradientTransform="matrix(2.3780477,0,0,1.969706,-1808.0185,-845.99583)"
531   - x1="304.19855"
532   - y1="357.48697"
533   - x2="304.19855"
534   - y2="603.21515" /><radialGradient
535   - inkscape:collect="always"
536   - xlink:href="#linearGradient5060"
537   - id="radialGradient4767"
538   - gradientUnits="userSpaceOnUse"
539   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2039.1167,-872.62632)"
540   - cx="605.71429"
541   - cy="486.64789"
542   - fx="605.71429"
543   - fy="486.64789"
544   - r="117.14286" /><radialGradient
545   - inkscape:collect="always"
546   - xlink:href="#linearGradient5060"
547   - id="radialGradient4769"
548   - gradientUnits="userSpaceOnUse"
549   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
550   - cx="605.71429"
551   - cy="486.64789"
552   - fx="605.71429"
553   - fy="486.64789"
554   - r="117.14286" /><linearGradient
555   - inkscape:collect="always"
556   - xlink:href="#linearGradient3736"
557   - id="linearGradient4771"
558   - gradientUnits="userSpaceOnUse"
559   - gradientTransform="matrix(0.336922,0,0,0.166888,17.98288,15.46151)"
560   - x1="49.023571"
561   - y1="173.99986"
562   - x2="19.343113"
563   - y2="-5.7614088" /><linearGradient
564   - inkscape:collect="always"
565   - xlink:href="#linearGradient2329"
566   - id="linearGradient4773"
567   - gradientUnits="userSpaceOnUse"
568   - gradientTransform="matrix(0.67409175,0,0,0.92339382,5.1085187,4.2256015)"
569   - x1="15.415529"
570   - y1="23.833527"
571   - x2="16.899008"
572   - y2="33.219193" /><radialGradient
573   - inkscape:collect="always"
574   - xlink:href="#linearGradient2319"
575   - id="radialGradient4775"
576   - gradientUnits="userSpaceOnUse"
577   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
578   - cx="20.443665"
579   - cy="37.425829"
580   - fx="20.443665"
581   - fy="37.425829"
582   - r="1.0821035" /><radialGradient
583   - inkscape:collect="always"
584   - xlink:href="#linearGradient2307"
585   - id="radialGradient4777"
586   - gradientUnits="userSpaceOnUse"
587   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.565787)"
588   - cx="19.985598"
589   - cy="36.77816"
590   - fx="19.985598"
591   - fy="36.77816"
592   - r="1.0821035" /><radialGradient
593   - inkscape:collect="always"
594   - xlink:href="#linearGradient2368"
595   - id="radialGradient4779"
596   - gradientUnits="userSpaceOnUse"
597   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
598   - cx="29.913452"
599   - cy="30.442923"
600   - fx="29.913452"
601   - fy="30.442923"
602   - r="4.0018832" /><linearGradient
603   - inkscape:collect="always"
604   - xlink:href="#linearGradient3771"
605   - id="linearGradient4781"
606   - gradientUnits="userSpaceOnUse"
607   - gradientTransform="translate(-1,1)"
608   - x1="26.5"
609   - y1="36.5"
610   - x2="24.5"
611   - y2="28.5" /><radialGradient
612   - inkscape:collect="always"
613   - xlink:href="#linearGradient2378"
614   - id="radialGradient4783"
615   - gradientUnits="userSpaceOnUse"
616   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
617   - cx="28.399611"
618   - cy="15.333439"
619   - fx="28.399611"
620   - fy="15.333439"
621   - r="15.242914" /><radialGradient
622   - inkscape:collect="always"
623   - xlink:href="#linearGradient2299"
624   - id="radialGradient4785"
625   - gradientUnits="userSpaceOnUse"
626   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-53.978222)"
627   - cx="8.027895"
628   - cy="24.287516"
629   - fx="8.027895"
630   - fy="24.287516"
631   - r="8.2452128" /><radialGradient
632   - inkscape:collect="always"
633   - xlink:href="#linearGradient2341"
634   - id="radialGradient4787"
635   - gradientUnits="userSpaceOnUse"
636   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-37.078328)"
637   - cx="11.651313"
638   - cy="20.026194"
639   - fx="11.651313"
640   - fy="20.026194"
641   - r="8.2452126" /><linearGradient
642   - inkscape:collect="always"
643   - xlink:href="#linearGradient5048"
644   - id="linearGradient5003"
645   - gradientUnits="userSpaceOnUse"
646   - gradientTransform="matrix(2.3780477,0,0,1.969706,-1808.0185,-845.99583)"
647   - x1="304.19855"
648   - y1="357.48697"
649   - x2="304.19855"
650   - y2="603.21515" /><radialGradient
651   - inkscape:collect="always"
652   - xlink:href="#linearGradient5060"
653   - id="radialGradient5005"
654   - gradientUnits="userSpaceOnUse"
655   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2039.1167,-872.62632)"
656   - cx="605.71429"
657   - cy="486.64789"
658   - fx="605.71429"
659   - fy="486.64789"
660   - r="117.14286" /><radialGradient
661   - inkscape:collect="always"
662   - xlink:href="#linearGradient5060"
663   - id="radialGradient5007"
664   - gradientUnits="userSpaceOnUse"
665   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
666   - cx="605.71429"
667   - cy="486.64789"
668   - fx="605.71429"
669   - fy="486.64789"
670   - r="117.14286" /><linearGradient
671   - inkscape:collect="always"
672   - xlink:href="#linearGradient3736"
673   - id="linearGradient5009"
674   - gradientUnits="userSpaceOnUse"
675   - gradientTransform="matrix(0.336922,0,0,0.166888,17.98288,15.46151)"
676   - x1="49.023571"
677   - y1="173.99986"
678   - x2="19.343113"
679   - y2="-5.7614088" /><linearGradient
680   - inkscape:collect="always"
681   - xlink:href="#linearGradient2329"
682   - id="linearGradient5011"
683   - gradientUnits="userSpaceOnUse"
684   - gradientTransform="matrix(0.67409175,0,0,0.92339382,5.1085187,4.2256015)"
685   - x1="15.415529"
686   - y1="23.833527"
687   - x2="16.899008"
688   - y2="33.219193" /><radialGradient
689   - inkscape:collect="always"
690   - xlink:href="#linearGradient2319"
691   - id="radialGradient5013"
692   - gradientUnits="userSpaceOnUse"
693   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
694   - cx="20.443665"
695   - cy="37.425829"
696   - fx="20.443665"
697   - fy="37.425829"
698   - r="1.0821035" /><radialGradient
699   - inkscape:collect="always"
700   - xlink:href="#linearGradient2307"
701   - id="radialGradient5015"
702   - gradientUnits="userSpaceOnUse"
703   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,2.0807369)"
704   - cx="19.985598"
705   - cy="36.77816"
706   - fx="19.985598"
707   - fy="36.77816"
708   - r="1.0821035" /><radialGradient
709   - inkscape:collect="always"
710   - xlink:href="#linearGradient2368"
711   - id="radialGradient5017"
712   - gradientUnits="userSpaceOnUse"
713   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
714   - cx="29.913452"
715   - cy="30.442923"
716   - fx="29.913452"
717   - fy="30.442923"
718   - r="4.0018832" /><linearGradient
719   - inkscape:collect="always"
720   - xlink:href="#linearGradient3771"
721   - id="linearGradient5019"
722   - gradientUnits="userSpaceOnUse"
723   - gradientTransform="translate(-1,1)"
724   - x1="26.5"
725   - y1="36.5"
726   - x2="24.5"
727   - y2="28.5" /><radialGradient
728   - inkscape:collect="always"
729   - xlink:href="#linearGradient2378"
730   - id="radialGradient5021"
731   - gradientUnits="userSpaceOnUse"
732   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
733   - cx="28.399611"
734   - cy="15.333439"
735   - fx="28.399611"
736   - fy="15.333439"
737   - r="15.242914" /><radialGradient
738   - inkscape:collect="always"
739   - xlink:href="#linearGradient2299"
740   - id="radialGradient5023"
741   - gradientUnits="userSpaceOnUse"
742   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-53.978222)"
743   - cx="8.027895"
744   - cy="24.287516"
745   - fx="8.027895"
746   - fy="24.287516"
747   - r="8.2452128" /><radialGradient
748   - inkscape:collect="always"
749   - xlink:href="#linearGradient2341"
750   - id="radialGradient5025"
751   - gradientUnits="userSpaceOnUse"
752   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-37.078328)"
753   - cx="11.651313"
754   - cy="20.026194"
755   - fx="11.651313"
756   - fy="20.026194"
757   - r="8.2452126" /><linearGradient
758   - inkscape:collect="always"
759   - xlink:href="#linearGradient5048"
760   - id="linearGradient5077"
761   - gradientUnits="userSpaceOnUse"
762   - gradientTransform="matrix(2.1515669,0,0,1.969706,-1773.1654,-845.99583)"
763   - x1="304.19855"
764   - y1="357.48697"
765   - x2="304.19855"
766   - y2="603.21515" /><radialGradient
767   - inkscape:collect="always"
768   - xlink:href="#linearGradient5060"
769   - id="radialGradient5079"
770   - gradientUnits="userSpaceOnUse"
771   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2131.7867,-872.62632)"
772   - cx="605.71429"
773   - cy="486.64789"
774   - fx="605.71429"
775   - fy="486.64789"
776   - r="117.14286" /><radialGradient
777   - inkscape:collect="always"
778   - xlink:href="#linearGradient5060"
779   - id="radialGradient5081"
780   - gradientUnits="userSpaceOnUse"
781   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
782   - cx="605.71429"
783   - cy="486.64789"
784   - fx="605.71429"
785   - fy="486.64789"
786   - r="117.14286" /><linearGradient
787   - inkscape:collect="always"
788   - xlink:href="#linearGradient3736"
789   - id="linearGradient5083"
790   - gradientUnits="userSpaceOnUse"
791   - gradientTransform="matrix(0.336922,0,0,0.166888,17.98288,15.46151)"
792   - x1="49.023571"
793   - y1="173.99986"
794   - x2="19.343113"
795   - y2="-5.7614088" /><linearGradient
796   - inkscape:collect="always"
797   - xlink:href="#linearGradient2329"
798   - id="linearGradient5085"
799   - gradientUnits="userSpaceOnUse"
800   - gradientTransform="matrix(0.59919267,0,0,0.92339382,6.9853499,4.2256015)"
801   - x1="15.415529"
802   - y1="23.833527"
803   - x2="16.899008"
804   - y2="33.219193" /><radialGradient
805   - inkscape:collect="always"
806   - xlink:href="#linearGradient2319"
807   - id="radialGradient5087"
808   - gradientUnits="userSpaceOnUse"
809   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
810   - cx="20.443665"
811   - cy="37.425829"
812   - fx="20.443665"
813   - fy="37.425829"
814   - r="1.0821035" /><radialGradient
815   - inkscape:collect="always"
816   - xlink:href="#linearGradient2368"
817   - id="radialGradient5091"
818   - gradientUnits="userSpaceOnUse"
819   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
820   - cx="29.913452"
821   - cy="30.442923"
822   - fx="29.913452"
823   - fy="30.442923"
824   - r="4.0018832" /><linearGradient
825   - inkscape:collect="always"
826   - xlink:href="#linearGradient3771"
827   - id="linearGradient5093"
828   - gradientUnits="userSpaceOnUse"
829   - gradientTransform="translate(-1,1)"
830   - x1="26.5"
831   - y1="36.5"
832   - x2="24.5"
833   - y2="28.5" /><radialGradient
834   - inkscape:collect="always"
835   - xlink:href="#linearGradient2378"
836   - id="radialGradient5095"
837   - gradientUnits="userSpaceOnUse"
838   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
839   - cx="29.48839"
840   - cy="15.333439"
841   - fx="29.48839"
842   - fy="15.333439"
843   - r="15.242914" /><radialGradient
844   - inkscape:collect="always"
845   - xlink:href="#linearGradient2299"
846   - id="radialGradient5097"
847   - gradientUnits="userSpaceOnUse"
848   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-52.978222)"
849   - cx="8.027895"
850   - cy="24.287516"
851   - fx="8.027895"
852   - fy="24.287516"
853   - r="8.2452128" /><radialGradient
854   - inkscape:collect="always"
855   - xlink:href="#linearGradient2341"
856   - id="radialGradient5099"
857   - gradientUnits="userSpaceOnUse"
858   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-36.078328)"
859   - cx="11.651313"
860   - cy="20.026194"
861   - fx="11.651313"
862   - fy="20.026194"
863   - r="8.2452126" /><linearGradient
864   - inkscape:collect="always"
865   - xlink:href="#linearGradient3177"
866   - id="linearGradient3259"
867   - gradientUnits="userSpaceOnUse"
868   - x1="25.621262"
869   - y1="33.817276"
870   - x2="28.5"
871   - y2="36.5" /><linearGradient
872   - inkscape:collect="always"
873   - xlink:href="#linearGradient5048"
874   - id="linearGradient3297"
875   - gradientUnits="userSpaceOnUse"
876   - gradientTransform="matrix(2.1515669,0,0,1.969706,-1773.1654,-845.99583)"
877   - x1="304.19855"
878   - y1="357.48697"
879   - x2="304.19855"
880   - y2="603.21515" /><radialGradient
881   - inkscape:collect="always"
882   - xlink:href="#linearGradient5060"
883   - id="radialGradient3299"
884   - gradientUnits="userSpaceOnUse"
885   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2131.7867,-872.62632)"
886   - cx="605.71429"
887   - cy="486.64789"
888   - fx="605.71429"
889   - fy="486.64789"
890   - r="117.14286" /><radialGradient
891   - inkscape:collect="always"
892   - xlink:href="#linearGradient5060"
893   - id="radialGradient3301"
894   - gradientUnits="userSpaceOnUse"
895   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
896   - cx="605.71429"
897   - cy="486.64789"
898   - fx="605.71429"
899   - fy="486.64789"
900   - r="117.14286" /><linearGradient
901   - inkscape:collect="always"
902   - xlink:href="#linearGradient3736"
903   - id="linearGradient3303"
904   - gradientUnits="userSpaceOnUse"
905   - gradientTransform="matrix(0.336922,0,0,0.166888,17.98288,15.46151)"
906   - x1="49.023571"
907   - y1="173.99986"
908   - x2="19.343113"
909   - y2="-5.7614088" /><linearGradient
910   - inkscape:collect="always"
911   - xlink:href="#linearGradient2329"
912   - id="linearGradient3305"
913   - gradientUnits="userSpaceOnUse"
914   - gradientTransform="matrix(0.59919267,0,0,0.92339382,6.9853499,4.2256015)"
915   - x1="15.415529"
916   - y1="23.833527"
917   - x2="16.899008"
918   - y2="33.219193" /><radialGradient
919   - inkscape:collect="always"
920   - xlink:href="#linearGradient2319"
921   - id="radialGradient3307"
922   - gradientUnits="userSpaceOnUse"
923   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
924   - cx="20.443665"
925   - cy="37.425829"
926   - fx="20.443665"
927   - fy="37.425829"
928   - r="1.0821035" /><linearGradient
929   - inkscape:collect="always"
930   - xlink:href="#linearGradient5161"
931   - id="linearGradient3309"
932   - gradientUnits="userSpaceOnUse"
933   - x1="17.5"
934   - y1="35.5"
935   - x2="20.5"
936   - y2="39.5" /><radialGradient
937   - inkscape:collect="always"
938   - xlink:href="#linearGradient3171"
939   - id="radialGradient3311"
940   - gradientUnits="userSpaceOnUse"
941   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.3489438,1.0441923)"
942   - cx="19.985598"
943   - cy="36.77816"
944   - fx="19.985598"
945   - fy="36.77816"
946   - r="1.0821035" /><linearGradient
947   - inkscape:collect="always"
948   - xlink:href="#linearGradient3771"
949   - id="linearGradient3315"
950   - gradientUnits="userSpaceOnUse"
951   - gradientTransform="translate(-1,1)"
952   - x1="26.5"
953   - y1="36.5"
954   - x2="24.5"
955   - y2="28.5" /><radialGradient
956   - inkscape:collect="always"
957   - xlink:href="#linearGradient2378"
958   - id="radialGradient3317"
959   - gradientUnits="userSpaceOnUse"
960   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
961   - cx="29.48839"
962   - cy="15.333439"
963   - fx="29.48839"
964   - fy="15.333439"
965   - r="15.242914" /><radialGradient
966   - inkscape:collect="always"
967   - xlink:href="#linearGradient2299"
968   - id="radialGradient3319"
969   - gradientUnits="userSpaceOnUse"
970   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-52.978222)"
971   - cx="8.027895"
972   - cy="24.287516"
973   - fx="8.027895"
974   - fy="24.287516"
975   - r="8.2452128" /><radialGradient
976   - inkscape:collect="always"
977   - xlink:href="#linearGradient2341"
978   - id="radialGradient3321"
979   - gradientUnits="userSpaceOnUse"
980   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-36.078328)"
981   - cx="11.651313"
982   - cy="20.026194"
983   - fx="11.651313"
984   - fy="20.026194"
985   - r="8.2452126" /><inkscape:perspective
986   - id="perspective3331"
987   - inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
988   - inkscape:vp_z="1 : 0.5 : 1"
989   - inkscape:vp_y="0 : 1000 : 0"
990   - inkscape:vp_x="0 : 0.5 : 1"
991   - sodipodi:type="inkscape:persp3d" /><radialGradient
992   - inkscape:collect="always"
993   - xlink:href="#linearGradient2368-5"
994   - id="radialGradient5017-4"
995   - gradientUnits="userSpaceOnUse"
996   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
997   - cx="29.913452"
998   - cy="30.442923"
999   - fx="29.913452"
1000   - fy="30.442923"
1001   - r="4.001883" /><linearGradient
1002   - inkscape:collect="always"
1003   - id="linearGradient2368-5"><stop
1004   - style="stop-color:#ffffff;stop-opacity:1;"
1005   - offset="0"
1006   - id="stop2370-2" /><stop
1007   - style="stop-color:#ffffff;stop-opacity:0;"
1008   - offset="1"
1009   - id="stop2372-0" /></linearGradient><radialGradient
1010   - r="4.001883"
1011   - fy="30.442923"
1012   - fx="29.913452"
1013   - cy="30.442923"
1014   - cx="29.913452"
1015   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460083,-26.062392)"
1016   - gradientUnits="userSpaceOnUse"
1017   - id="radialGradient3340"
1018   - xlink:href="#linearGradient2368-5"
1019   - inkscape:collect="always" /><inkscape:perspective
1020   - id="perspective4157"
1021   - inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
1022   - inkscape:vp_z="1 : 0.5 : 1"
1023   - inkscape:vp_y="0 : 1000 : 0"
1024   - inkscape:vp_x="0 : 0.5 : 1"
1025   - sodipodi:type="inkscape:persp3d" /><radialGradient
1026   - inkscape:collect="always"
1027   - xlink:href="#linearGradient2307-6"
1028   - id="radialGradient5015-8"
1029   - gradientUnits="userSpaceOnUse"
1030   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,2.0807369)"
1031   - cx="20.09285"
1032   - cy="35.716652"
1033   - fx="20.09285"
1034   - fy="35.716652"
1035   - r="1.0821035" /><linearGradient
1036   - id="linearGradient2307-6"><stop
1037   - style="stop-color:#edd400;stop-opacity:1;"
1038   - offset="0"
1039   - id="stop2309-3" /><stop
1040   - style="stop-color:#998800;stop-opacity:1;"
1041   - offset="1"
1042   - id="stop2311-5" /></linearGradient><radialGradient
1043   - r="1.0821035"
1044   - fy="36.77816"
1045   - fx="19.985598"
1046   - cy="36.77816"
1047   - cx="19.985598"
1048   - gradientTransform="matrix(1.125263,0,0,0.982744,-21.672305,-35.366438)"
1049   - gradientUnits="userSpaceOnUse"
1050   - id="radialGradient4166"
1051   - xlink:href="#linearGradient2307-6"
1052   - inkscape:collect="always" /></defs><sodipodi:namedview
1053   - inkscape:cy="24"
1054   - inkscape:cx="24"
1055   - inkscape:zoom="12.541667"
1056   - inkscape:window-height="827"
1057   - inkscape:window-width="1440"
1058   - inkscape:pageshadow="2"
1059   - inkscape:pageopacity="0.0"
1060   - borderopacity="0.21568627"
1061   - bordercolor="#666666"
1062   - pagecolor="#ffffff"
1063   - id="base"
1064   - inkscape:showpageshadow="false"
1065   - inkscape:window-x="0"
1066   - inkscape:window-y="25"
1067   - inkscape:current-layer="svg2"
1068   - fill="#555753"
1069   - showgrid="true"
1070   - stroke="#a40000"
1071   - showguides="true"
1072   - inkscape:guide-bbox="true"
1073   - inkscape:snap-grids="true"
1074   - inkscape:window-maximized="1"><inkscape:grid
1075   - type="xygrid"
1076   - id="grid3670"
1077   - empspacing="5"
1078   - visible="true"
1079   - enabled="true"
1080   - snapvisiblegridlinesonly="true"
1081   - originx="0.5px"
1082   - originy="0.5px" /></sodipodi:namedview>
1083   -
1084   -<g
1085   - transform="translate(15,-6)"
1086   - id="use5027"><g
1087   - transform="matrix(0.02158196,0,0,0.01859457,39.12251,27.63767)"
1088   - id="g3263"
1089   - style="display:inline"><rect
1090   - style="opacity:0.40206185;color:#000000;fill:url(#linearGradient3297);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1091   - id="rect3265"
1092   - width="880.36487"
1093   - height="484.0123"
1094   - x="-1442.0613"
1095   - y="-141.85165" /><path
1096   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient3299);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1097   - d="m -561.69644,-141.85163 c 0,0 0,484.00662 0,484.00662 134.16473,0.91119 324.34504,-108.44127 324.34497,-242.03439 0,-133.593226 -149.71775,-241.97221 -324.34497,-241.97223 z"
1098   - id="path3267"
1099   - sodipodi:nodetypes="cccc" /><path
1100   - sodipodi:nodetypes="cccc"
1101   - id="path3269"
1102   - d="m -1442.0613,-141.85163 c 0,0 0,484.00662 0,484.00662 -134.1648,0.91119 -324.345,-108.44127 -324.345,-242.03439 0,-133.593226 149.7177,-241.97221 324.345,-241.97223 z"
1103   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient3301);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /></g><g
1104   - id="g3271"
1105   - transform="translate(-5.9999999,-13)"><path
1106   - style="color:#000000;fill:url(#linearGradient3303);fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1107   - d="m 35.5,26.5 0,16 c 0,0.905333 -0.160268,1 -1,1 l -22,0 c -0.839733,0 -1,-0.09467 -1,-1 l 0,-16 24,0 z"
1108   - id="path3273"
1109   - sodipodi:nodetypes="ccccccc" /><path
1110   - sodipodi:nodetypes="ccccc"
1111   - id="path3277"
1112   - d="m 34.5,26.5 0,16 -22,0 0,-16 22,0 z"
1113   - style="opacity:0.35;color:#000000;fill:none;stroke:#ffffff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" /><rect
1114   - style="color:#000000;fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1115   - id="rect3285"
1116   - width="7"
1117   - height="6"
1118   - x="24.5"
1119   - y="32.5" /><rect
1120   - y="31.5"
1121   - x="23.5"
1122   - height="8"
1123   - width="9"
1124   - id="rect3287"
1125   - style="opacity:0.5;color:#000000;fill:none;stroke:url(#linearGradient3315);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1126   - ry="1"
1127   - rx="1" /><path
1128   - clip-rule="evenodd"
1129   - d="m 12.5,31.5 0,5 13,-6 9,5 0,-4 -10,-7 -12,7 z"
1130   - id="path3289"
1131   - style="opacity:0.20000000000000001;fill:url(#radialGradient3317);fill-opacity:1;fill-rule:evenodd"
1132   - sodipodi:nodetypes="ccccccc" /><path
1133   - style="fill:#ef2929;stroke:#a40000;stroke-linecap:round;stroke-linejoin:round"
1134   - id="path3291"
1135   - d="m 8.4999999,27.5 -1e-7,5 1.5,2 14.5000002,-7 12.5,7 1.5,-2 0,-5 -14,-8 -16.0000001,8 z"
1136   - sodipodi:nodetypes="ccccccccc" /><path
1137   - style="opacity:0.40909089;color:#000000;fill:url(#radialGradient3319);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1138   - d="m 9.0215946,27.818937 -10e-8,4 L 24.5,24.5 l 0,-4.318937 -15.4784054,7.637874 z"
1139   - id="path3293"
1140   - sodipodi:nodetypes="ccccc" /><path
1141   - sodipodi:nodetypes="ccccc"
1142   - id="path3295"
1143   - d="m 24.5,24.5 0,-4.318937 13.478405,7.637874 0,4 L 24.5,24.5 z"
1144   - style="opacity:0.13636367;color:#000000;fill:url(#radialGradient3321);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1145   - style="opacity:0.39772728;color:#000000;fill:url(#radialGradient3340);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999958;marker:none;visibility:visible;display:inline;overflow:visible"
1146   - d="m 25,36.954984 c 2.841896,0.362925 3.37612,-1.584298 6,-1.701594 L 31,33 l -6,0 0,3.954959 0,2.5e-5 z"
1147   - id="rect2363-2"
1148   - sodipodi:nodetypes="cccccc" /></g></g><g
1149   - id="g4807"
1150   - transform="translate(-1.9999999,-1.0000001)"><g
1151   - style="display:inline"
1152   - id="g4729"
1153   - transform="matrix(0.02158196,0,0,0.01859457,39.12251,28.63767)"><rect
1154   - y="-141.85165"
1155   - x="-1442.0613"
1156   - height="484.0123"
1157   - width="880.36487"
1158   - id="rect4731"
1159   - style="opacity:0.40206185;color:#000000;fill:url(#linearGradient5077);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1160   - sodipodi:nodetypes="cccc"
1161   - id="path4733"
1162   - d="m -561.69644,-141.85163 c 0,0 0,484.00662 0,484.00662 134.16473,0.91119 324.34504,-108.44127 324.34497,-242.03439 0,-133.593226 -149.71775,-241.97221 -324.34497,-241.97223 z"
1163   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient5079);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1164   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient5081);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1165   - d="m -1442.0613,-141.85163 c 0,0 0,484.00662 0,484.00662 -134.1648,0.91119 -324.345,-108.44127 -324.345,-242.03439 0,-133.593226 149.7177,-241.97221 324.345,-241.97223 z"
1166   - id="path4735"
1167   - sodipodi:nodetypes="cccc" /></g><g
1168   - transform="translate(-5.9999999,-13)"
1169   - id="g4737"><path
1170   - sodipodi:nodetypes="ccccccc"
1171   - id="path4739"
1172   - d="m 35.5,26.5 0,17 c 0,0.905333 -0.160268,1 -1,1 l -22,0 c -0.839733,0 -1,-0.09467 -1,-1 l 0,-17 24,0 z"
1173   - style="color:#000000;fill:url(#linearGradient5083);fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1174   - sodipodi:nodetypes="ccccc"
1175   - clip-rule="evenodd"
1176   - d="M 22,31 21.969511,44 14.074317,44 14,31 l 8,0 z"
1177   - id="path4741"
1178   - style="fill:url(#linearGradient5085);fill-opacity:1;fill-rule:evenodd" /><path
1179   - style="opacity:0.35;color:#000000;fill:none;stroke:#ffffff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1180   - d="m 34.5,26.5 0,17 -22,0 0,-17 22,0 z"
1181   - id="path4743"
1182   - sodipodi:nodetypes="ccccc" /><path
1183   - clip-rule="evenodd"
1184   - d="m 18.576856,36.44767 c 0.67279,0 1.216616,0.474605 1.216616,1.058507 0,0.589811 -0.543826,1.068355 -1.216616,1.068355 -0.672272,0 -1.218686,-0.478544 -1.218686,-1.068355 5.15e-4,-0.583902 0.546414,-1.058507 1.218686,-1.058507 z"
1185   - id="path4745"
1186   - style="opacity:0.40909089;fill:url(#radialGradient5087);fill-opacity:1;fill-rule:evenodd" /><rect
1187   - y="32"
1188   - x="15"
1189   - height="12"
1190   - width="6"
1191   - id="rect4747"
1192   - style="color:#000000;fill:#8f5902;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /><path
1193   - style="color:#000000;fill:url(#radialGradient5015-8);fill-opacity:1;fill-rule:evenodd;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
1194   - id="path4749"
1195   - d="m 18.542048,36.410633 c 0.672789,0 1.216615,0.474605 1.216615,1.058507 0,0.589809 -0.543826,1.068353 -1.216615,1.068353 -0.672273,0 -1.218687,-0.478544 -1.218687,-1.068353 5.15e-4,-0.583902 0.546414,-1.058507 1.218687,-1.058507 z"
1196   - clip-rule="evenodd" /><rect
1197   - y="32.5"
1198   - x="24.5"
1199   - height="6.999999"
1200   - width="8"
1201   - id="rect4751"
1202   - style="color:#000000;fill:url(#linearGradient3259);fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" /><rect
1203   - rx="1"
1204   - ry="1"
1205   - style="opacity:0.5;color:#000000;fill:none;stroke:url(#linearGradient5093);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1206   - id="rect4755"
1207   - width="10"
1208   - height="9"
1209   - x="23.5"
1210   - y="31.5" /><path
1211   - sodipodi:nodetypes="ccccccc"
1212   - style="opacity:0.20000000000000001;fill:url(#radialGradient5095);fill-opacity:1;fill-rule:evenodd"
1213   - id="path4757"
1214   - d="m 12.5,31.5 0,5 13,-6 9,5 0,-5 -10,-6 -12,7 z"
1215   - clip-rule="evenodd" /><path
1216   - sodipodi:nodetypes="ccccccccc"
1217   - d="m 8.4999999,27.5 -1e-7,5 1.5,2 14.5000002,-7 12.5,7 1.5,-2 0,-5 -14,-8 -16.0000001,8 z"
1218   - id="path4759"
1219   - style="fill:#ef2929;stroke:#a40000;stroke-linecap:round;stroke-linejoin:round" /><path
1220   - sodipodi:nodetypes="ccccc"
1221   - id="path4761"
1222   - d="m 9.0215946,27.818937 -10e-8,4 L 24.5,24.5 l 0,-4.318937 -15.4784054,7.637874 z"
1223   - style="opacity:0.40909089;color:#000000;fill:url(#radialGradient5097);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1224   - style="opacity:0.13636367;color:#000000;fill:url(#radialGradient5099);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1225   - d="m 24.5,24.5 0,-4.318937 13.478405,7.637874 0,4 L 24.5,24.5 z"
1226   - id="path4763"
1227   - sodipodi:nodetypes="ccccc" /></g></g><g
1228   - id="g3829"
1229   - transform="translate(2.0000001,0)"><g
1230   - transform="matrix(0.02158196,0,0,0.01859457,44.12251,41.63767)"
1231   - id="g5022"
1232   - style="display:inline"><rect
1233   - style="opacity:0.40206185;color:#000000;fill:url(#linearGradient5003);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1234   - id="rect4173"
1235   - width="973.03491"
1236   - height="484.0123"
1237   - x="-1442.0613"
1238   - y="-141.85165" /><path
1239   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient5005);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1240   - d="m -469.02645,-141.85163 c 0,0 0,484.00662 0,484.00662 134.16473,0.91119 324.34504,-108.44127 324.34497,-242.03439 0,-133.593226 -149.71775,-241.97221 -324.34497,-241.97223 z"
1241   - id="path5058"
1242   - sodipodi:nodetypes="cccc" /><path
1243   - sodipodi:nodetypes="cccc"
1244   - id="path5018"
1245   - d="m -1442.0613,-141.85163 c 0,0 0,484.00662 0,484.00662 -134.1648,0.91119 -324.345,-108.44127 -324.345,-242.03439 0,-133.593226 149.7177,-241.97221 324.345,-241.97223 z"
1246   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient5007);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /></g><g
1247   - id="g3812"><path
1248   - style="color:#000000;fill:url(#linearGradient5009);fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1249   - d="m 36.5,25.5 0,18 c 0,0.905333 -0.160268,1 -1,1 l -24,0 c -0.839733,0 -1,-0.09467 -1,-1 l 0,-18 26,0 z"
1250   - id="rect1512"
1251   - sodipodi:nodetypes="ccccccc" /><path
1252   - style="fill:url(#linearGradient5011);fill-opacity:1;fill-rule:evenodd"
1253   - id="path2327"
1254   - d="M 22,31 21.9657,44 13.083607,44 13,31 l 9,0 z"
1255   - clip-rule="evenodd"
1256   - sodipodi:nodetypes="ccccc" /><path
1257   - sodipodi:nodetypes="ccccc"
1258   - id="path2357"
1259   - d="m 35.5,25.5 0,18 -24,0 0,-18 24,0 z"
1260   - style="opacity:0.35;color:#000000;fill:none;stroke:#ffffff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1261   - style="opacity:0.40909089;fill:url(#radialGradient5013);fill-opacity:1;fill-rule:evenodd"
1262   - id="path2315"
1263   - d="m 18.576856,36.44767 c 0.67279,0 1.216616,0.474605 1.216616,1.058507 0,0.589811 -0.543826,1.068355 -1.216616,1.068355 -0.672272,0 -1.218686,-0.478544 -1.218686,-1.068355 5.15e-4,-0.583902 0.546414,-1.058507 1.218686,-1.058507 z"
1264   - clip-rule="evenodd" /><rect
1265   - style="color:#000000;fill:#8f5902;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
1266   - id="rect3851"
1267   - width="7"
1268   - height="12"
1269   - x="14"
1270   - y="32" /><path
1271   - clip-rule="evenodd"
1272   - d="m 18.462314,37.447175 c 0.672789,0 1.216615,0.474605 1.216615,1.058507 0,0.589809 -0.543826,1.068353 -1.216615,1.068353 -0.672273,0 -1.218687,-0.478544 -1.218687,-1.068353 5.15e-4,-0.583902 0.546414,-1.058507 1.218687,-1.058507 z"
1273   - id="path217"
1274   - style="fill:url(#radialGradient5015);fill-opacity:1;fill-rule:evenodd" /><rect
1275   - style="color:#000000;fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1276   - id="rect3263"
1277   - width="8"
1278   - height="6.999999"
1279   - x="24.5"
1280   - y="32.5" /><path
1281   - style="opacity:0.39772728;color:#000000;fill:url(#radialGradient5017);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999958;marker:none;visibility:visible;display:inline;overflow:visible"
1282   - d="m 25.014716,36.954984 c 2.841896,0.362925 4.341979,-1.584298 6.965859,-1.701594 L 32,33 l -7,0 0.01472,3.954959 -4e-6,2.5e-5 z"
1283   - id="rect2363"
1284   - sodipodi:nodetypes="cccccc" /><rect
1285   - y="31.5"
1286   - x="23.5"
1287   - height="9"
1288   - width="10"
1289   - id="rect3748"
1290   - style="opacity:0.5;color:#000000;fill:none;stroke:url(#linearGradient5019);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1291   - ry="1"
1292   - rx="1" /><path
1293   - clip-rule="evenodd"
1294   - d="m 11.5,31.5 0,5 14,-7 10,6 0,-4 -11,-7 -13,7 z"
1295   - id="path23"
1296   - style="opacity:0.2;fill:url(#radialGradient5021);fill-opacity:1;fill-rule:evenodd"
1297   - sodipodi:nodetypes="ccccccc" /><path
1298   - style="fill:#ef2929;stroke:#a40000;stroke-linecap:round;stroke-linejoin:round"
1299   - id="path362"
1300   - d="m 7.5,26.5 0,6 1.5,2 15.5,-8 13.5,8 1.5,-2 0,-6 -15,-9 -17,9 z"
1301   - sodipodi:nodetypes="ccccccccc" /><path
1302   - style="opacity:0.40909089;color:#000000;fill:url(#radialGradient5023);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1303   - d="m 7.9418605,26.898671 0,5 L 24.5,23.5 l 0,-5.318937 -16.5581395,8.717608 z"
1304   - id="path1536"
1305   - sodipodi:nodetypes="ccccc" /><path
1306   - sodipodi:nodetypes="ccccc"
1307   - id="path2337"
1308   - d="m 24.5,23.5 0,-5.318937 14.558139,8.637874 0,5 L 24.5,23.5 z"
1309   - style="opacity:0.13636367;color:#000000;fill:url(#radialGradient5025);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /></g></g></svg>
1310 0 \ No newline at end of file
plugins/bsc/public/images/transfer-ownership.png

3.99 KB

plugins/bsc/public/images/transfer-ownership.svg
... ... @@ -1,1965 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2   -<!-- Created with Inkscape (http://www.inkscape.org/) -->
3   -
4   -<svg
5   - xmlns:dc="http://purl.org/dc/elements/1.1/"
6   - xmlns:cc="http://creativecommons.org/ns#"
7   - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8   - xmlns:svg="http://www.w3.org/2000/svg"
9   - xmlns="http://www.w3.org/2000/svg"
10   - xmlns:xlink="http://www.w3.org/1999/xlink"
11   - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12   - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13   - width="48"
14   - height="48"
15   - id="svg2"
16   - version="1.1"
17   - inkscape:version="0.47 r22583"
18   - sodipodi:docname="Ícone BSC 2.svg"
19   - inkscape:export-filename="/home/caiosba/Colivre/Documentos/Ícones BSC 2.png"
20   - inkscape:export-xdpi="90"
21   - inkscape:export-ydpi="90">
22   - <defs
23   - id="defs4">
24   - <inkscape:perspective
25   - sodipodi:type="inkscape:persp3d"
26   - inkscape:vp_x="0 : 526.18109 : 1"
27   - inkscape:vp_y="0 : 1000 : 0"
28   - inkscape:vp_z="744.09448 : 526.18109 : 1"
29   - inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
30   - id="perspective10" />
31   - <linearGradient
32   - id="linearGradient5036">
33   - <stop
34   - id="stop5038"
35   - offset="0"
36   - style="stop-color:#f5f5f5;stop-opacity:0.09;" />
37   - <stop
38   - style="stop-color:#ffffff;stop-opacity:0.89999998;"
39   - offset="0.2631579"
40   - id="stop5044" />
41   - <stop
42   - id="stop5088"
43   - offset="0.74792242"
44   - style="stop-color:#c7c7c7;stop-opacity:0.46000001;" />
45   - <stop
46   - id="stop5040"
47   - offset="1"
48   - style="stop-color:#ffffff;stop-opacity:0.78039217;" />
49   - </linearGradient>
50   - <linearGradient
51   - id="linearGradient5058">
52   - <stop
53   - id="stop5060"
54   - offset="0"
55   - style="stop-color:#959791;stop-opacity:1;" />
56   - <stop
57   - style="stop-color:#f8f8f8;stop-opacity:1;"
58   - offset="0.5"
59   - id="stop5066" />
60   - <stop
61   - id="stop5062"
62   - offset="1"
63   - style="stop-color:#8c8c8c;stop-opacity:1;" />
64   - </linearGradient>
65   - <linearGradient
66   - id="linearGradient5068">
67   - <stop
68   - id="stop5070"
69   - offset="0"
70   - style="stop-color:#ffffff;stop-opacity:1;" />
71   - <stop
72   - style="stop-color:#ffffff;stop-opacity:0.69;"
73   - offset="0.32894737"
74   - id="stop5078" />
75   - <stop
76   - style="stop-color:#c2c2c2;stop-opacity:0.34;"
77   - offset="0.65789473"
78   - id="stop5076" />
79   - <stop
80   - id="stop5072"
81   - offset="1"
82   - style="stop-color:#ffffff;stop-opacity:0;" />
83   - </linearGradient>
84   - <linearGradient
85   - id="linearGradient2966">
86   - <stop
87   - id="stop2968"
88   - offset="0"
89   - style="stop-color:#ffd1d1;stop-opacity:1;" />
90   - <stop
91   - style="stop-color:#ff1d1d;stop-opacity:1;"
92   - offset="0.5"
93   - id="stop3006" />
94   - <stop
95   - id="stop2970"
96   - offset="1"
97   - style="stop-color:#6f0000;stop-opacity:1;" />
98   - </linearGradient>
99   - <linearGradient
100   - id="linearGradient2974">
101   - <stop
102   - id="stop2976"
103   - offset="0"
104   - style="stop-color:#c1c1c1;stop-opacity:1;" />
105   - <stop
106   - id="stop2978"
107   - offset="1"
108   - style="stop-color:#acacac;stop-opacity:1;" />
109   - </linearGradient>
110   - <linearGradient
111   - id="linearGradient2994">
112   - <stop
113   - id="stop2996"
114   - offset="0"
115   - style="stop-color:#000000;stop-opacity:1;" />
116   - <stop
117   - id="stop2998"
118   - offset="1"
119   - style="stop-color:#c9c9c9;stop-opacity:1;" />
120   - </linearGradient>
121   - <linearGradient
122   - id="linearGradient9910">
123   - <stop
124   - id="stop9912"
125   - offset="0"
126   - style="stop-color:#729fcf;stop-opacity:1;" />
127   - <stop
128   - style="stop-color:#a5bfda;stop-opacity:1;"
129   - offset="0.31578946"
130   - id="stop9918" />
131   - <stop
132   - id="stop9914"
133   - offset="1"
134   - style="stop-color:#376ca4;stop-opacity:1;" />
135   - </linearGradient>
136   - <linearGradient
137   - id="linearGradient9920">
138   - <stop
139   - style="stop-color:#5b90c8;stop-opacity:1;"
140   - offset="0"
141   - id="stop9922" />
142   - <stop
143   - id="stop9924"
144   - offset="0.31578946"
145   - style="stop-color:#8fb0d1;stop-opacity:1;" />
146   - <stop
147   - style="stop-color:#34679d;stop-opacity:1;"
148   - offset="1"
149   - id="stop9926" />
150   - </linearGradient>
151   - <inkscape:perspective
152   - id="perspective90"
153   - inkscape:persp3d-origin="24 : 16 : 1"
154   - inkscape:vp_z="48 : 24 : 1"
155   - inkscape:vp_y="0 : 1000 : 0"
156   - inkscape:vp_x="0 : 24 : 1"
157   - sodipodi:type="inkscape:persp3d" />
158   - <linearGradient
159   - id="linearGradient7121">
160   - <stop
161   - id="stop7123"
162   - offset="0"
163   - style="stop-color:#ffffff;stop-opacity:1;" />
164   - <stop
165   - id="stop7125"
166   - offset="1"
167   - style="stop-color:#8ae234;stop-opacity:1" />
168   - </linearGradient>
169   - <inkscape:perspective
170   - id="perspective27321"
171   - inkscape:persp3d-origin="24 : 16 : 1"
172   - inkscape:vp_z="48 : 24 : 1"
173   - inkscape:vp_y="0 : 1000 : 0"
174   - inkscape:vp_x="0 : 24 : 1"
175   - sodipodi:type="inkscape:persp3d" />
176   - <linearGradient
177   - y2="50.939667"
178   - x2="45.380436"
179   - y1="45.264122"
180   - x1="46.834816"
181   - gradientUnits="userSpaceOnUse"
182   - id="linearGradient7186"
183   - xlink:href="#linearGradient2871"
184   - inkscape:collect="always" />
185   - <linearGradient
186   - y2="26.649363"
187   - x2="53.588623"
188   - y1="23.667896"
189   - x1="18.935766"
190   - gradientUnits="userSpaceOnUse"
191   - id="linearGradient7184"
192   - xlink:href="#linearGradient2402"
193   - inkscape:collect="always" />
194   - <linearGradient
195   - y2="50.939667"
196   - x2="45.380436"
197   - y1="45.264122"
198   - x1="46.834816"
199   - gradientUnits="userSpaceOnUse"
200   - id="linearGradient7182"
201   - xlink:href="#linearGradient2871"
202   - inkscape:collect="always" />
203   - <linearGradient
204   - y2="20.60858"
205   - x2="15.984863"
206   - y1="36.061237"
207   - x1="62.513836"
208   - gradientUnits="userSpaceOnUse"
209   - id="linearGradient7180"
210   - xlink:href="#linearGradient2380"
211   - inkscape:collect="always" />
212   - <linearGradient
213   - gradientTransform="matrix(-1,0,0,-1,47.93934,50.02474)"
214   - y2="23.554308"
215   - x2="22.374878"
216   - y1="13.604306"
217   - x1="13.435029"
218   - gradientUnits="userSpaceOnUse"
219   - id="linearGradient7189"
220   - xlink:href="#linearGradient7179"
221   - inkscape:collect="always" />
222   - <linearGradient
223   - gradientUnits="userSpaceOnUse"
224   - y2="23.554308"
225   - x2="22.374878"
226   - y1="13.604306"
227   - x1="13.435029"
228   - id="linearGradient7185"
229   - xlink:href="#linearGradient7179"
230   - inkscape:collect="always" />
231   - <linearGradient
232   - id="linearGradient1322">
233   - <stop
234   - style="stop-color:#729fcf"
235   - offset="0.0000000"
236   - id="stop1324" />
237   - <stop
238   - style="stop-color:#5187d6;stop-opacity:1.0000000;"
239   - offset="1.0000000"
240   - id="stop1326" />
241   - </linearGradient>
242   - <linearGradient
243   - id="linearGradient2316">
244   - <stop
245   - id="stop2318"
246   - offset="0"
247   - style="stop-color:#000000;stop-opacity:1;" />
248   - <stop
249   - id="stop2320"
250   - offset="1"
251   - style="stop-color:#ffffff;stop-opacity:0.65979379;" />
252   - </linearGradient>
253   - <linearGradient
254   - id="linearGradient7179"
255   - inkscape:collect="always">
256   - <stop
257   - id="stop7181"
258   - offset="0"
259   - style="stop-color:#ffffff;stop-opacity:1;" />
260   - <stop
261   - id="stop7183"
262   - offset="1"
263   - style="stop-color:#ffffff;stop-opacity:0;" />
264   - </linearGradient>
265   - <linearGradient
266   - y2="26.048164"
267   - x2="52.854095"
268   - y1="26.048164"
269   - x1="5.9649177"
270   - gradientUnits="userSpaceOnUse"
271   - id="linearGradient1491"
272   - xlink:href="#linearGradient2797"
273   - inkscape:collect="always" />
274   - <linearGradient
275   - id="linearGradient2797"
276   - inkscape:collect="always">
277   - <stop
278   - id="stop2799"
279   - offset="0"
280   - style="stop-color:#ffffff;stop-opacity:1;" />
281   - <stop
282   - id="stop2801"
283   - offset="1"
284   - style="stop-color:#ffffff;stop-opacity:0;" />
285   - </linearGradient>
286   - <linearGradient
287   - y2="26.048164"
288   - x2="52.854095"
289   - y1="26.048164"
290   - x1="5.9649177"
291   - gradientUnits="userSpaceOnUse"
292   - id="linearGradient1493"
293   - xlink:href="#linearGradient2797"
294   - inkscape:collect="always" />
295   - <linearGradient
296   - id="linearGradient2402">
297   - <stop
298   - id="stop2404"
299   - offset="0"
300   - style="stop-color:#729fcf;stop-opacity:1;" />
301   - <stop
302   - id="stop2406"
303   - offset="1"
304   - style="stop-color:#528ac5;stop-opacity:1;" />
305   - </linearGradient>
306   - <linearGradient
307   - id="linearGradient2871"
308   - inkscape:collect="always">
309   - <stop
310   - id="stop2873"
311   - offset="0"
312   - style="stop-color:#3465a4;stop-opacity:1;" />
313   - <stop
314   - id="stop2875"
315   - offset="1"
316   - style="stop-color:#3465a4;stop-opacity:1" />
317   - </linearGradient>
318   - <linearGradient
319   - gradientTransform="translate(-48.77039,-5.765705)"
320   - gradientUnits="userSpaceOnUse"
321   - y2="24.842253"
322   - x2="37.124462"
323   - y1="30.748846"
324   - x1="32.647972"
325   - id="linearGradient2696"
326   - xlink:href="#linearGradient2690"
327   - inkscape:collect="always" />
328   - <linearGradient
329   - id="linearGradient2690"
330   - inkscape:collect="always">
331   - <stop
332   - id="stop2692"
333   - offset="0"
334   - style="stop-color:#c4d7eb;stop-opacity:1;" />
335   - <stop
336   - id="stop2694"
337   - offset="1"
338   - style="stop-color:#c4d7eb;stop-opacity:0;" />
339   - </linearGradient>
340   - <linearGradient
341   - gradientTransform="translate(-48.77039,-5.765705)"
342   - gradientUnits="userSpaceOnUse"
343   - y2="24.842253"
344   - x2="37.124462"
345   - y1="31.455952"
346   - x1="36.713837"
347   - id="linearGradient2688"
348   - xlink:href="#linearGradient2682"
349   - inkscape:collect="always" />
350   - <linearGradient
351   - id="linearGradient2682">
352   - <stop
353   - id="stop2684"
354   - offset="0"
355   - style="stop-color:#3977c3;stop-opacity:1;" />
356   - <stop
357   - id="stop2686"
358   - offset="1"
359   - style="stop-color:#89aedc;stop-opacity:0;" />
360   - </linearGradient>
361   - <linearGradient
362   - id="linearGradient2380">
363   - <stop
364   - id="stop2382"
365   - offset="0"
366   - style="stop-color:#b9cfe7;stop-opacity:1" />
367   - <stop
368   - id="stop2384"
369   - offset="1"
370   - style="stop-color:#729fcf;stop-opacity:1" />
371   - </linearGradient>
372   - <linearGradient
373   - y2="19.115122"
374   - x2="15.419417"
375   - y1="10.612206"
376   - x1="13.478554"
377   - gradientTransform="translate(-48.30498,-6.043298)"
378   - gradientUnits="userSpaceOnUse"
379   - id="linearGradient1486"
380   - xlink:href="#linearGradient2831"
381   - inkscape:collect="always" />
382   - <linearGradient
383   - id="linearGradient2831">
384   - <stop
385   - id="stop2833"
386   - offset="0"
387   - style="stop-color:#3465a4;stop-opacity:1;" />
388   - <stop
389   - style="stop-color:#5b86be;stop-opacity:1;"
390   - offset="0.33333334"
391   - id="stop2855" />
392   - <stop
393   - id="stop2835"
394   - offset="1"
395   - style="stop-color:#83a8d8;stop-opacity:0;" />
396   - </linearGradient>
397   - <linearGradient
398   - y2="26.194071"
399   - x2="37.065414"
400   - y1="29.729605"
401   - x1="37.128052"
402   - gradientTransform="matrix(-1,0,0,-1,-1.24248,40.0817)"
403   - gradientUnits="userSpaceOnUse"
404   - id="linearGradient1488"
405   - xlink:href="#linearGradient2847"
406   - inkscape:collect="always" />
407   - <linearGradient
408   - id="linearGradient2847"
409   - inkscape:collect="always">
410   - <stop
411   - id="stop2849"
412   - offset="0"
413   - style="stop-color:#3465a4;stop-opacity:1;" />
414   - <stop
415   - id="stop2851"
416   - offset="1"
417   - style="stop-color:#3465a4;stop-opacity:0;" />
418   - </linearGradient>
419   - <radialGradient
420   - r="15.644737"
421   - fy="36.421127"
422   - fx="24.837126"
423   - cy="36.421127"
424   - cx="24.837126"
425   - gradientTransform="matrix(1,0,0,0.536723,0,16.87306)"
426   - gradientUnits="userSpaceOnUse"
427   - id="radialGradient1503"
428   - xlink:href="#linearGradient8662"
429   - inkscape:collect="always" />
430   - <linearGradient
431   - id="linearGradient8662"
432   - inkscape:collect="always">
433   - <stop
434   - id="stop8664"
435   - offset="0"
436   - style="stop-color:#000000;stop-opacity:1;" />
437   - <stop
438   - id="stop8666"
439   - offset="1"
440   - style="stop-color:#000000;stop-opacity:0;" />
441   - </linearGradient>
442   - <linearGradient
443   - id="linearGradient7916">
444   - <stop
445   - id="stop7918"
446   - offset="0"
447   - style="stop-color:#ffffff;stop-opacity:1;" />
448   - <stop
449   - id="stop7920"
450   - offset="1.0000000"
451   - style="stop-color:#ffffff;stop-opacity:0.34020618;" />
452   - </linearGradient>
453   - <inkscape:perspective
454   - id="perspective70"
455   - inkscape:persp3d-origin="24 : 16 : 1"
456   - inkscape:vp_z="48 : 24 : 1"
457   - inkscape:vp_y="0 : 1000 : 0"
458   - inkscape:vp_x="0 : 24 : 1"
459   - sodipodi:type="inkscape:persp3d" />
460   - <linearGradient
461   - y2="50.939667"
462   - x2="45.380436"
463   - y1="45.264122"
464   - x1="46.834816"
465   - gradientUnits="userSpaceOnUse"
466   - id="linearGradient7186-5"
467   - xlink:href="#linearGradient2871-7"
468   - inkscape:collect="always" />
469   - <linearGradient
470   - y2="26.649363"
471   - x2="53.588623"
472   - y1="23.667896"
473   - x1="18.935766"
474   - gradientUnits="userSpaceOnUse"
475   - id="linearGradient7184-5"
476   - xlink:href="#linearGradient2402-4"
477   - inkscape:collect="always" />
478   - <linearGradient
479   - y2="50.939667"
480   - x2="45.380436"
481   - y1="45.264122"
482   - x1="46.834816"
483   - gradientUnits="userSpaceOnUse"
484   - id="linearGradient7182-1"
485   - xlink:href="#linearGradient2871-7"
486   - inkscape:collect="always" />
487   - <linearGradient
488   - y2="20.60858"
489   - x2="15.984863"
490   - y1="36.061237"
491   - x1="62.513836"
492   - gradientUnits="userSpaceOnUse"
493   - id="linearGradient7180-4"
494   - xlink:href="#linearGradient2380-9"
495   - inkscape:collect="always" />
496   - <linearGradient
497   - gradientTransform="matrix(-1,0,0,-1,47.93934,50.02474)"
498   - y2="23.554308"
499   - x2="22.374878"
500   - y1="13.604306"
501   - x1="13.435029"
502   - gradientUnits="userSpaceOnUse"
503   - id="linearGradient7189-5"
504   - xlink:href="#linearGradient7179-1"
505   - inkscape:collect="always" />
506   - <linearGradient
507   - gradientUnits="userSpaceOnUse"
508   - y2="23.554308"
509   - x2="22.374878"
510   - y1="13.604306"
511   - x1="13.435029"
512   - id="linearGradient7185-1"
513   - xlink:href="#linearGradient7179-1"
514   - inkscape:collect="always" />
515   - <linearGradient
516   - id="linearGradient1322-5">
517   - <stop
518   - style="stop-color:#729fcf"
519   - offset="0.0000000"
520   - id="stop1324-3" />
521   - <stop
522   - style="stop-color:#5187d6;stop-opacity:1.0000000;"
523   - offset="1.0000000"
524   - id="stop1326-9" />
525   - </linearGradient>
526   - <linearGradient
527   - id="linearGradient2316-6">
528   - <stop
529   - id="stop2318-0"
530   - offset="0"
531   - style="stop-color:#000000;stop-opacity:1;" />
532   - <stop
533   - id="stop2320-8"
534   - offset="1"
535   - style="stop-color:#ffffff;stop-opacity:0.65979379;" />
536   - </linearGradient>
537   - <linearGradient
538   - id="linearGradient7179-1"
539   - inkscape:collect="always">
540   - <stop
541   - id="stop7181-7"
542   - offset="0"
543   - style="stop-color:#ffffff;stop-opacity:1;" />
544   - <stop
545   - id="stop7183-0"
546   - offset="1"
547   - style="stop-color:#ffffff;stop-opacity:0;" />
548   - </linearGradient>
549   - <linearGradient
550   - y2="26.048164"
551   - x2="52.854095"
552   - y1="26.048164"
553   - x1="5.9649177"
554   - gradientUnits="userSpaceOnUse"
555   - id="linearGradient1491-9"
556   - xlink:href="#linearGradient2797-9"
557   - inkscape:collect="always" />
558   - <linearGradient
559   - id="linearGradient2797-9"
560   - inkscape:collect="always">
561   - <stop
562   - id="stop2799-7"
563   - offset="0"
564   - style="stop-color:#ffffff;stop-opacity:1;" />
565   - <stop
566   - id="stop2801-4"
567   - offset="1"
568   - style="stop-color:#ffffff;stop-opacity:0;" />
569   - </linearGradient>
570   - <linearGradient
571   - y2="26.048164"
572   - x2="52.854095"
573   - y1="26.048164"
574   - x1="5.9649177"
575   - gradientUnits="userSpaceOnUse"
576   - id="linearGradient1493-7"
577   - xlink:href="#linearGradient2797-9"
578   - inkscape:collect="always" />
579   - <linearGradient
580   - id="linearGradient2402-4">
581   - <stop
582   - id="stop2404-6"
583   - offset="0"
584   - style="stop-color:#729fcf;stop-opacity:1;" />
585   - <stop
586   - id="stop2406-3"
587   - offset="1"
588   - style="stop-color:#528ac5;stop-opacity:1;" />
589   - </linearGradient>
590   - <linearGradient
591   - id="linearGradient2871-7"
592   - inkscape:collect="always">
593   - <stop
594   - id="stop2873-5"
595   - offset="0"
596   - style="stop-color:#3465a4;stop-opacity:1;" />
597   - <stop
598   - id="stop2875-6"
599   - offset="1"
600   - style="stop-color:#3465a4;stop-opacity:1" />
601   - </linearGradient>
602   - <linearGradient
603   - gradientTransform="translate(-48.77039,-5.765705)"
604   - gradientUnits="userSpaceOnUse"
605   - y2="24.842253"
606   - x2="37.124462"
607   - y1="30.748846"
608   - x1="32.647972"
609   - id="linearGradient2696-9"
610   - xlink:href="#linearGradient2690-0"
611   - inkscape:collect="always" />
612   - <linearGradient
613   - id="linearGradient2690-0"
614   - inkscape:collect="always">
615   - <stop
616   - id="stop2692-2"
617   - offset="0"
618   - style="stop-color:#c4d7eb;stop-opacity:1;" />
619   - <stop
620   - id="stop2694-2"
621   - offset="1"
622   - style="stop-color:#c4d7eb;stop-opacity:0;" />
623   - </linearGradient>
624   - <linearGradient
625   - gradientTransform="translate(-48.77039,-5.765705)"
626   - gradientUnits="userSpaceOnUse"
627   - y2="24.842253"
628   - x2="37.124462"
629   - y1="31.455952"
630   - x1="36.713837"
631   - id="linearGradient2688-1"
632   - xlink:href="#linearGradient2682-8"
633   - inkscape:collect="always" />
634   - <linearGradient
635   - id="linearGradient2682-8">
636   - <stop
637   - id="stop2684-0"
638   - offset="0"
639   - style="stop-color:#3977c3;stop-opacity:1;" />
640   - <stop
641   - id="stop2686-8"
642   - offset="1"
643   - style="stop-color:#89aedc;stop-opacity:0;" />
644   - </linearGradient>
645   - <linearGradient
646   - id="linearGradient2380-9">
647   - <stop
648   - id="stop2382-6"
649   - offset="0"
650   - style="stop-color:#b9cfe7;stop-opacity:1" />
651   - <stop
652   - id="stop2384-4"
653   - offset="1"
654   - style="stop-color:#729fcf;stop-opacity:1" />
655   - </linearGradient>
656   - <linearGradient
657   - y2="19.115122"
658   - x2="15.419417"
659   - y1="10.612206"
660   - x1="13.478554"
661   - gradientTransform="translate(-48.30498,-6.043298)"
662   - gradientUnits="userSpaceOnUse"
663   - id="linearGradient1486-1"
664   - xlink:href="#linearGradient2831-1"
665   - inkscape:collect="always" />
666   - <linearGradient
667   - id="linearGradient2831-1">
668   - <stop
669   - id="stop2833-6"
670   - offset="0"
671   - style="stop-color:#3465a4;stop-opacity:1;" />
672   - <stop
673   - style="stop-color:#5b86be;stop-opacity:1;"
674   - offset="0.33333334"
675   - id="stop2855-6" />
676   - <stop
677   - id="stop2835-2"
678   - offset="1"
679   - style="stop-color:#83a8d8;stop-opacity:0;" />
680   - </linearGradient>
681   - <linearGradient
682   - y2="26.194071"
683   - x2="37.065414"
684   - y1="29.729605"
685   - x1="37.128052"
686   - gradientTransform="matrix(-1,0,0,-1,-1.24248,40.0817)"
687   - gradientUnits="userSpaceOnUse"
688   - id="linearGradient1488-5"
689   - xlink:href="#linearGradient2847-4"
690   - inkscape:collect="always" />
691   - <linearGradient
692   - id="linearGradient2847-4"
693   - inkscape:collect="always">
694   - <stop
695   - id="stop2849-0"
696   - offset="0"
697   - style="stop-color:#3465a4;stop-opacity:1;" />
698   - <stop
699   - id="stop2851-8"
700   - offset="1"
701   - style="stop-color:#3465a4;stop-opacity:0;" />
702   - </linearGradient>
703   - <radialGradient
704   - r="15.644737"
705   - fy="36.421127"
706   - fx="24.837126"
707   - cy="36.421127"
708   - cx="24.837126"
709   - gradientTransform="matrix(1,0,0,0.536723,0,16.87306)"
710   - gradientUnits="userSpaceOnUse"
711   - id="radialGradient1503-0"
712   - xlink:href="#linearGradient8662-1"
713   - inkscape:collect="always" />
714   - <linearGradient
715   - id="linearGradient8662-1"
716   - inkscape:collect="always">
717   - <stop
718   - id="stop8664-1"
719   - offset="0"
720   - style="stop-color:#000000;stop-opacity:1;" />
721   - <stop
722   - id="stop8666-7"
723   - offset="1"
724   - style="stop-color:#000000;stop-opacity:0;" />
725   - </linearGradient>
726   - <linearGradient
727   - id="linearGradient7916-1">
728   - <stop
729   - id="stop7918-7"
730   - offset="0"
731   - style="stop-color:#ffffff;stop-opacity:1;" />
732   - <stop
733   - id="stop7920-1"
734   - offset="1.0000000"
735   - style="stop-color:#ffffff;stop-opacity:0.34020618;" />
736   - </linearGradient>
737   - <inkscape:perspective
738   - id="perspective70-5"
739   - inkscape:persp3d-origin="24 : 16 : 1"
740   - inkscape:vp_z="48 : 24 : 1"
741   - inkscape:vp_y="0 : 1000 : 0"
742   - inkscape:vp_x="0 : 24 : 1"
743   - sodipodi:type="inkscape:persp3d" />
744   - <inkscape:perspective
745   - id="perspective29237"
746   - inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
747   - inkscape:vp_z="1 : 0.5 : 1"
748   - inkscape:vp_y="0 : 1000 : 0"
749   - inkscape:vp_x="0 : 0.5 : 1"
750   - sodipodi:type="inkscape:persp3d" />
751   - <linearGradient
752   - inkscape:collect="always"
753   - id="linearGradient6998-2">
754   - <stop
755   - style="stop-color:#000000;stop-opacity:1;"
756   - offset="0"
757   - id="stop7000-7" />
758   - <stop
759   - style="stop-color:#000000;stop-opacity:0;"
760   - offset="1"
761   - id="stop7002-1" />
762   - </linearGradient>
763   - <radialGradient
764   - inkscape:collect="always"
765   - xlink:href="#linearGradient6998-2"
766   - id="radialGradient29477"
767   - gradientUnits="userSpaceOnUse"
768   - gradientTransform="matrix(1,0,0,0.3222749,0,20.728756)"
769   - cx="19.688505"
770   - cy="30.585787"
771   - fx="19.688505"
772   - fy="30.585787"
773   - r="4.6624851" />
774   - <radialGradient
775   - inkscape:collect="always"
776   - xlink:href="#linearGradient6998-2"
777   - id="radialGradient29479"
778   - gradientUnits="userSpaceOnUse"
779   - gradientTransform="matrix(1,0,0,0.3222749,0,20.728756)"
780   - cx="19.688505"
781   - cy="30.585787"
782   - fx="19.688505"
783   - fy="30.585787"
784   - r="4.6624851" />
785   - <linearGradient
786   - y2="35.739632"
787   - x2="21.408455"
788   - y1="36.390400"
789   - x1="22.686766"
790   - gradientTransform="matrix(-0.977685,0.210075,0.210075,0.977685,41.80576,-11.11866)"
791   - gradientUnits="userSpaceOnUse"
792   - id="linearGradient4374"
793   - xlink:href="#linearGradient4356"
794   - inkscape:collect="always" />
795   - <linearGradient
796   - y2="36.217758"
797   - x2="22.626925"
798   - y1="35.817974"
799   - x1="20.661695"
800   - gradientTransform="matrix(0.983375,0.181588,-0.181588,0.983375,-7.072120,-9.824920)"
801   - gradientUnits="userSpaceOnUse"
802   - id="linearGradient4372"
803   - xlink:href="#linearGradient4356"
804   - inkscape:collect="always" />
805   - <radialGradient
806   - gradientUnits="userSpaceOnUse"
807   - gradientTransform="matrix(1.000000,0.000000,0.000000,0.681917,0.000000,8.233773)"
808   - r="13.565360"
809   - fy="19.836468"
810   - fx="16.214741"
811   - cy="19.836468"
812   - cx="16.214741"
813   - id="radialGradient4350"
814   - xlink:href="#linearGradient4344"
815   - inkscape:collect="always" />
816   - <linearGradient
817   - gradientTransform="translate(-13.12500,-7.000000)"
818   - y2="35.803486"
819   - x2="30.935921"
820   - y1="29.553486"
821   - x1="30.935921"
822   - gradientUnits="userSpaceOnUse"
823   - id="linearGradient4332"
824   - xlink:href="#linearGradient3824"
825   - inkscape:collect="always" />
826   - <linearGradient
827   - y2="35.803486"
828   - x2="30.935921"
829   - y1="29.553486"
830   - x1="30.935921"
831   - gradientTransform="translate(-12.41789,-7.000000)"
832   - gradientUnits="userSpaceOnUse"
833   - id="linearGradient4326"
834   - xlink:href="#linearGradient3824"
835   - inkscape:collect="always" />
836   - <linearGradient
837   - gradientTransform="translate(0.707108,0.000000)"
838   - y2="35.803486"
839   - x2="30.935921"
840   - y1="29.553486"
841   - x1="30.935921"
842   - gradientUnits="userSpaceOnUse"
843   - id="linearGradient4175"
844   - xlink:href="#linearGradient3824"
845   - inkscape:collect="always" />
846   - <radialGradient
847   - gradientUnits="userSpaceOnUse"
848   - r="9.1620579"
849   - fy="17.064077"
850   - fx="29.344931"
851   - cy="17.064077"
852   - cx="29.344931"
853   - id="radialGradient3806"
854   - xlink:href="#linearGradient3800"
855   - inkscape:collect="always" />
856   - <linearGradient
857   - id="linearGradient3800">
858   - <stop
859   - id="stop3802"
860   - offset="0.0000000"
861   - style="stop-color:#f4d9b1;stop-opacity:1.0000000;" />
862   - <stop
863   - id="stop3804"
864   - offset="1.0000000"
865   - style="stop-color:#df9725;stop-opacity:1.0000000;" />
866   - </linearGradient>
867   - <linearGradient
868   - id="linearGradient3816"
869   - inkscape:collect="always">
870   - <stop
871   - id="stop3818"
872   - offset="0"
873   - style="stop-color:#000000;stop-opacity:1;" />
874   - <stop
875   - id="stop3820"
876   - offset="1"
877   - style="stop-color:#000000;stop-opacity:0;" />
878   - </linearGradient>
879   - <linearGradient
880   - id="linearGradient3824">
881   - <stop
882   - id="stop3826"
883   - offset="0"
884   - style="stop-color:#ffffff;stop-opacity:1;" />
885   - <stop
886   - id="stop3828"
887   - offset="1.0000000"
888   - style="stop-color:#c9c9c9;stop-opacity:1.0000000;" />
889   - </linearGradient>
890   - <linearGradient
891   - id="linearGradient4163">
892   - <stop
893   - id="stop4165"
894   - offset="0.0000000"
895   - style="stop-color:#3b74bc;stop-opacity:1.0000000;" />
896   - <stop
897   - id="stop4167"
898   - offset="1.0000000"
899   - style="stop-color:#2d5990;stop-opacity:1.0000000;" />
900   - </linearGradient>
901   - <linearGradient
902   - id="linearGradient4338">
903   - <stop
904   - style="stop-color:#e9b15e;stop-opacity:1.0000000;"
905   - offset="0.0000000"
906   - id="stop4340" />
907   - <stop
908   - style="stop-color:#966416;stop-opacity:1.0000000;"
909   - offset="1.0000000"
910   - id="stop4342" />
911   - </linearGradient>
912   - <linearGradient
913   - id="linearGradient4344">
914   - <stop
915   - id="stop4346"
916   - offset="0"
917   - style="stop-color:#727e0a;stop-opacity:1;" />
918   - <stop
919   - id="stop4348"
920   - offset="1.0000000"
921   - style="stop-color:#5b6508;stop-opacity:1.0000000;" />
922   - </linearGradient>
923   - <linearGradient
924   - id="linearGradient4356"
925   - inkscape:collect="always">
926   - <stop
927   - id="stop4358"
928   - offset="0"
929   - style="stop-color:#000000;stop-opacity:1;" />
930   - <stop
931   - id="stop4360"
932   - offset="1"
933   - style="stop-color:#000000;stop-opacity:0;" />
934   - </linearGradient>
935   - <inkscape:perspective
936   - id="perspective72"
937   - inkscape:persp3d-origin="24 : 16 : 1"
938   - inkscape:vp_z="48 : 24 : 1"
939   - inkscape:vp_y="0 : 1000 : 0"
940   - inkscape:vp_x="0 : 24 : 1"
941   - sodipodi:type="inkscape:persp3d" />
942   - <radialGradient
943   - inkscape:collect="always"
944   - xlink:href="#linearGradient3816"
945   - id="radialGradient4243"
946   - gradientUnits="userSpaceOnUse"
947   - cx="31.112698"
948   - cy="19.008621"
949   - fx="31.112698"
950   - fy="19.008621"
951   - r="8.6620579" />
952   - <radialGradient
953   - inkscape:collect="always"
954   - xlink:href="#linearGradient3800"
955   - id="radialGradient4251"
956   - gradientUnits="userSpaceOnUse"
957   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
958   - cx="29.344931"
959   - cy="17.064077"
960   - fx="29.344931"
961   - fy="17.064077"
962   - r="9.1620579" />
963   - <radialGradient
964   - inkscape:collect="always"
965   - xlink:href="#linearGradient3816"
966   - id="radialGradient4257"
967   - gradientUnits="userSpaceOnUse"
968   - cx="31.112698"
969   - cy="19.008621"
970   - fx="31.112698"
971   - fy="19.008621"
972   - r="8.6620579" />
973   - <radialGradient
974   - inkscape:collect="always"
975   - xlink:href="#linearGradient3816"
976   - id="radialGradient4261"
977   - gradientUnits="userSpaceOnUse"
978   - cx="31.112698"
979   - cy="19.008621"
980   - fx="31.112698"
981   - fy="19.008621"
982   - r="8.6620579" />
983   - <radialGradient
984   - inkscape:collect="always"
985   - xlink:href="#linearGradient4338"
986   - id="radialGradient4263"
987   - gradientUnits="userSpaceOnUse"
988   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
989   - cx="29.344931"
990   - cy="17.064077"
991   - fx="29.344931"
992   - fy="17.064077"
993   - r="9.1620579" />
994   - <linearGradient
995   - inkscape:collect="always"
996   - xlink:href="#linearGradient4356"
997   - id="linearGradient4272"
998   - gradientUnits="userSpaceOnUse"
999   - gradientTransform="matrix(-0.977685,0.210075,0.210075,0.977685,40.096379,991.52674)"
1000   - x1="22.686766"
1001   - y1="36.390400"
1002   - x2="21.408455"
1003   - y2="35.739632" />
1004   - <linearGradient
1005   - inkscape:collect="always"
1006   - xlink:href="#linearGradient4356"
1007   - id="linearGradient4275"
1008   - gradientUnits="userSpaceOnUse"
1009   - gradientTransform="matrix(0.95236899,-0.304949,0.304949,0.95236899,-24.109161,1001.0625)"
1010   - x1="20.661695"
1011   - y1="35.817974"
1012   - x2="22.626925"
1013   - y2="36.217758" />
1014   - <linearGradient
1015   - inkscape:collect="always"
1016   - xlink:href="#linearGradient3824"
1017   - id="linearGradient4278"
1018   - gradientUnits="userSpaceOnUse"
1019   - gradientTransform="translate(-14.127271,995.6454)"
1020   - x1="30.935921"
1021   - y1="29.553486"
1022   - x2="30.935921"
1023   - y2="35.803486" />
1024   - <radialGradient
1025   - inkscape:collect="always"
1026   - xlink:href="#linearGradient4344"
1027   - id="radialGradient4287"
1028   - gradientUnits="userSpaceOnUse"
1029   - gradientTransform="matrix(1,0,0,0.681917,-1.7093807,1010.8792)"
1030   - cx="16.214741"
1031   - cy="19.836468"
1032   - fx="16.214741"
1033   - fy="19.836468"
1034   - r="13.565360" />
1035   - <radialGradient
1036   - inkscape:collect="always"
1037   - xlink:href="#linearGradient4338"
1038   - id="radialGradient4300"
1039   - gradientUnits="userSpaceOnUse"
1040   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1041   - cx="29.344931"
1042   - cy="17.064077"
1043   - fx="29.344931"
1044   - fy="17.064077"
1045   - r="9.1620579" />
1046   - <radialGradient
1047   - inkscape:collect="always"
1048   - xlink:href="#linearGradient4163"
1049   - id="radialGradient4318"
1050   - gradientUnits="userSpaceOnUse"
1051   - gradientTransform="matrix(1.297564,0,0,0.884831,-4.2342547,1013.4195)"
1052   - cx="28.089741"
1053   - cy="27.203083"
1054   - fx="28.089741"
1055   - fy="27.203083"
1056   - r="13.565360" />
1057   - <radialGradient
1058   - inkscape:collect="always"
1059   - xlink:href="#linearGradient3816"
1060   - id="radialGradient4321"
1061   - gradientUnits="userSpaceOnUse"
1062   - cx="31.112698"
1063   - cy="19.008621"
1064   - fx="31.112698"
1065   - fy="19.008621"
1066   - r="8.6620579" />
1067   - <inkscape:perspective
1068   - id="perspective4984"
1069   - inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
1070   - inkscape:vp_z="1 : 0.5 : 1"
1071   - inkscape:vp_y="0 : 1000 : 0"
1072   - inkscape:vp_x="0 : 0.5 : 1"
1073   - sodipodi:type="inkscape:persp3d" />
1074   - <linearGradient
1075   - id="linearGradient5048">
1076   - <stop
1077   - style="stop-color:black;stop-opacity:0;"
1078   - offset="0"
1079   - id="stop5050" />
1080   - <stop
1081   - id="stop5056"
1082   - offset="0.5"
1083   - style="stop-color:black;stop-opacity:1;" />
1084   - <stop
1085   - style="stop-color:black;stop-opacity:0;"
1086   - offset="1"
1087   - id="stop5052" />
1088   - </linearGradient>
1089   - <linearGradient
1090   - id="linearGradient259">
1091   - <stop
1092   - id="stop260"
1093   - offset="0.0000000"
1094   - style="stop-color:#fafafa;stop-opacity:1.0000000;" />
1095   - <stop
1096   - id="stop261"
1097   - offset="1.0000000"
1098   - style="stop-color:#bbbbbb;stop-opacity:1.0000000;" />
1099   - </linearGradient>
1100   - <linearGradient
1101   - id="linearGradient269">
1102   - <stop
1103   - id="stop270"
1104   - offset="0.0000000"
1105   - style="stop-color:#a3a3a3;stop-opacity:1.0000000;" />
1106   - <stop
1107   - id="stop271"
1108   - offset="1.0000000"
1109   - style="stop-color:#4c4c4c;stop-opacity:1.0000000;" />
1110   - </linearGradient>
1111   - <linearGradient
1112   - id="linearGradient15662">
1113   - <stop
1114   - id="stop15664"
1115   - offset="0.0000000"
1116   - style="stop-color:#ffffff;stop-opacity:1.0000000;" />
1117   - <stop
1118   - id="stop15666"
1119   - offset="1.0000000"
1120   - style="stop-color:#f8f8f8;stop-opacity:1.0000000;" />
1121   - </linearGradient>
1122   - <linearGradient
1123   - inkscape:collect="always"
1124   - id="linearGradient5866">
1125   - <stop
1126   - style="stop-color:#000000;stop-opacity:1;"
1127   - offset="0"
1128   - id="stop5868" />
1129   - <stop
1130   - style="stop-color:#000000;stop-opacity:0;"
1131   - offset="1"
1132   - id="stop5870" />
1133   - </linearGradient>
1134   - <linearGradient
1135   - id="linearGradient2598">
1136   - <stop
1137   - style="stop-color:#859dbc;stop-opacity:1;"
1138   - offset="0"
1139   - id="stop2600" />
1140   - <stop
1141   - style="stop-color:#547299;stop-opacity:1;"
1142   - offset="1"
1143   - id="stop2602" />
1144   - </linearGradient>
1145   - <linearGradient
1146   - inkscape:collect="always"
1147   - id="linearGradient4404">
1148   - <stop
1149   - style="stop-color:#ffffff;stop-opacity:1;"
1150   - offset="0"
1151   - id="stop4406" />
1152   - <stop
1153   - style="stop-color:#ffffff;stop-opacity:0;"
1154   - offset="1"
1155   - id="stop4408" />
1156   - </linearGradient>
1157   - <linearGradient
1158   - id="linearGradient5897">
1159   - <stop
1160   - style="stop-color:#000000;stop-opacity:0.0000000;"
1161   - offset="0.0000000"
1162   - id="stop5899" />
1163   - <stop
1164   - id="stop5905"
1165   - offset="0.50000000"
1166   - style="stop-color:#000000;stop-opacity:0.56701028;" />
1167   - <stop
1168   - style="stop-color:#000000;stop-opacity:0.0000000;"
1169   - offset="1.0000000"
1170   - id="stop5901" />
1171   - </linearGradient>
1172   - <linearGradient
1173   - id="linearGradient2590">
1174   - <stop
1175   - style="stop-color:#ffffff;stop-opacity:1;"
1176   - offset="0"
1177   - id="stop2592" />
1178   - <stop
1179   - style="stop-color:#ffffff;stop-opacity:0;"
1180   - offset="1"
1181   - id="stop2594" />
1182   - </linearGradient>
1183   - <linearGradient
1184   - inkscape:collect="always"
1185   - id="linearGradient2906">
1186   - <stop
1187   - style="stop-color:#ffffff;stop-opacity:1;"
1188   - offset="0"
1189   - id="stop2908" />
1190   - <stop
1191   - style="stop-color:#ffffff;stop-opacity:0;"
1192   - offset="1"
1193   - id="stop2910" />
1194   - </linearGradient>
1195   - <linearGradient
1196   - inkscape:collect="always"
1197   - xlink:href="#linearGradient2896"
1198   - id="linearGradient2902"
1199   - x1="14.584077"
1200   - y1="1.6392649"
1201   - x2="14.552828"
1202   - y2="2.4912448"
1203   - gradientUnits="userSpaceOnUse"
1204   - gradientTransform="matrix(1,0,0,1.594214,0,-0.790249)" />
1205   - <linearGradient
1206   - inkscape:collect="always"
1207   - id="linearGradient2896">
1208   - <stop
1209   - style="stop-color:#000000;stop-opacity:1;"
1210   - offset="0"
1211   - id="stop2898" />
1212   - <stop
1213   - style="stop-color:#000000;stop-opacity:0;"
1214   - offset="1"
1215   - id="stop2900" />
1216   - </linearGradient>
1217   - <linearGradient
1218   - inkscape:collect="always"
1219   - xlink:href="#linearGradient2896"
1220   - id="linearGradient5356"
1221   - gradientUnits="userSpaceOnUse"
1222   - gradientTransform="matrix(0.35541046,-0.09680687,0.16161446,0.54106498,4.9107799,1029.1036)"
1223   - x1="14.584077"
1224   - y1="1.6392649"
1225   - x2="14.552828"
1226   - y2="2.4912448" />
1227   - <linearGradient
1228   - inkscape:collect="always"
1229   - xlink:href="#linearGradient2906"
1230   - id="linearGradient5359"
1231   - gradientUnits="userSpaceOnUse"
1232   - gradientTransform="matrix(0.35541046,-0.09680687,0.12011148,0.40211819,4.9170956,1029.1248)"
1233   - x1="13.354311"
1234   - y1="1.4866425"
1235   - x2="14.075844"
1236   - y2="2.4017651" />
1237   - <linearGradient
1238   - inkscape:collect="always"
1239   - xlink:href="#linearGradient2590"
1240   - id="linearGradient5362"
1241   - gradientUnits="userSpaceOnUse"
1242   - gradientTransform="matrix(0.46898152,-0.12774141,0.12979691,0.43454379,2.9741905,1030.0125)"
1243   - x1="19.970377"
1244   - y1="6.1167107"
1245   - x2="19.970377"
1246   - y2="2.53125" />
1247   - <linearGradient
1248   - inkscape:collect="always"
1249   - xlink:href="#linearGradient5897"
1250   - id="linearGradient5365"
1251   - gradientUnits="userSpaceOnUse"
1252   - gradientTransform="matrix(0.48606741,0,0,0.75585752,-291.56104,989.60553)"
1253   - x1="19"
1254   - y1="9.7738247"
1255   - x2="19"
1256   - y2="15.635596" />
1257   - <linearGradient
1258   - inkscape:collect="always"
1259   - xlink:href="#linearGradient4404"
1260   - id="linearGradient5368"
1261   - gradientUnits="userSpaceOnUse"
1262   - gradientTransform="matrix(-0.46898152,0.12774141,0.1380797,0.46227355,19.308685,1025.339)"
1263   - x1="16.8125"
1264   - y1="1.875"
1265   - x2="16.8125"
1266   - y2="4.71875" />
1267   - <linearGradient
1268   - inkscape:collect="always"
1269   - xlink:href="#linearGradient2598"
1270   - id="linearGradient5371"
1271   - gradientUnits="userSpaceOnUse"
1272   - gradientTransform="matrix(0.46898152,-0.12774141,0.13168827,0.44087584,3.7514528,1029.219)"
1273   - x1="18.431311"
1274   - y1="19.119474"
1275   - x2="18.402472"
1276   - y2="4.2702327" />
1277   - <linearGradient
1278   - inkscape:collect="always"
1279   - xlink:href="#linearGradient5866"
1280   - id="linearGradient5374"
1281   - gradientUnits="userSpaceOnUse"
1282   - gradientTransform="matrix(0.43511303,-0.11851629,0.12998141,0.43516148,5.1497806,1029.4257)"
1283   - x1="19.452349"
1284   - y1="13.174174"
1285   - x2="19.685436"
1286   - y2="27.095339" />
1287   - <radialGradient
1288   - inkscape:collect="always"
1289   - xlink:href="#linearGradient15662"
1290   - id="radialGradient5394"
1291   - gradientUnits="userSpaceOnUse"
1292   - gradientTransform="matrix(0.35842521,0,0,0.36658484,-288.74498,994.99084)"
1293   - cx="8.1435566"
1294   - cy="7.2678967"
1295   - fx="8.1435566"
1296   - fy="7.2678967"
1297   - r="38.158695" />
1298   - <radialGradient
1299   - inkscape:collect="always"
1300   - xlink:href="#linearGradient259"
1301   - id="radialGradient5397"
1302   - gradientUnits="userSpaceOnUse"
1303   - gradientTransform="matrix(0.353806,0,0,0.37006743,-289.95036,994.73776)"
1304   - cx="33.966679"
1305   - cy="35.736916"
1306   - fx="33.966679"
1307   - fy="35.736916"
1308   - r="86.70845" />
1309   - <radialGradient
1310   - inkscape:collect="always"
1311   - xlink:href="#linearGradient269"
1312   - id="radialGradient5399"
1313   - gradientUnits="userSpaceOnUse"
1314   - gradientTransform="matrix(0.35667183,0,0,0.36709384,-288.71505,994.96754)"
1315   - cx="8.824419"
1316   - cy="3.7561285"
1317   - fx="8.824419"
1318   - fy="3.7561285"
1319   - r="37.751713" />
1320   - <radialGradient
1321   - inkscape:collect="always"
1322   - xlink:href="#linearGradient4163"
1323   - id="radialGradient6182"
1324   - gradientUnits="userSpaceOnUse"
1325   - gradientTransform="matrix(1.297564,0,0,0.884831,-4.2342547,1013.4195)"
1326   - cx="28.089741"
1327   - cy="27.203083"
1328   - fx="28.089741"
1329   - fy="27.203083"
1330   - r="13.565360" />
1331   - <radialGradient
1332   - inkscape:collect="always"
1333   - xlink:href="#linearGradient3816"
1334   - id="radialGradient6184"
1335   - gradientUnits="userSpaceOnUse"
1336   - cx="31.112698"
1337   - cy="19.008621"
1338   - fx="31.112698"
1339   - fy="19.008621"
1340   - r="8.6620579" />
1341   - <radialGradient
1342   - inkscape:collect="always"
1343   - xlink:href="#linearGradient3800"
1344   - id="radialGradient6186"
1345   - gradientUnits="userSpaceOnUse"
1346   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1347   - cx="29.344931"
1348   - cy="17.064077"
1349   - fx="29.344931"
1350   - fy="17.064077"
1351   - r="9.1620579" />
1352   - <radialGradient
1353   - inkscape:collect="always"
1354   - xlink:href="#linearGradient3816"
1355   - id="radialGradient6197"
1356   - gradientUnits="userSpaceOnUse"
1357   - cx="31.112698"
1358   - cy="19.008621"
1359   - fx="31.112698"
1360   - fy="19.008621"
1361   - r="8.6620579" />
1362   - <radialGradient
1363   - inkscape:collect="always"
1364   - xlink:href="#linearGradient4163"
1365   - id="radialGradient6199"
1366   - gradientUnits="userSpaceOnUse"
1367   - gradientTransform="matrix(1.297564,0,0,0.884831,-4.2342547,1013.4195)"
1368   - cx="28.089741"
1369   - cy="27.203083"
1370   - fx="28.089741"
1371   - fy="27.203083"
1372   - r="13.565360" />
1373   - <radialGradient
1374   - inkscape:collect="always"
1375   - xlink:href="#linearGradient3816"
1376   - id="radialGradient6201"
1377   - gradientUnits="userSpaceOnUse"
1378   - cx="31.112698"
1379   - cy="19.008621"
1380   - fx="31.112698"
1381   - fy="19.008621"
1382   - r="8.6620579" />
1383   - <radialGradient
1384   - inkscape:collect="always"
1385   - xlink:href="#linearGradient3800"
1386   - id="radialGradient6203"
1387   - gradientUnits="userSpaceOnUse"
1388   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1389   - cx="29.344931"
1390   - cy="17.064077"
1391   - fx="29.344931"
1392   - fy="17.064077"
1393   - r="9.1620579" />
1394   - <radialGradient
1395   - inkscape:collect="always"
1396   - xlink:href="#linearGradient3816"
1397   - id="radialGradient6242"
1398   - gradientUnits="userSpaceOnUse"
1399   - cx="31.112698"
1400   - cy="19.008621"
1401   - fx="31.112698"
1402   - fy="19.008621"
1403   - r="8.6620579" />
1404   - <radialGradient
1405   - inkscape:collect="always"
1406   - xlink:href="#linearGradient4344"
1407   - id="radialGradient6244"
1408   - gradientUnits="userSpaceOnUse"
1409   - gradientTransform="matrix(1,0,0,0.681917,-1.7093807,1010.8792)"
1410   - cx="16.214741"
1411   - cy="19.836468"
1412   - fx="16.214741"
1413   - fy="19.836468"
1414   - r="13.565360" />
1415   - <radialGradient
1416   - inkscape:collect="always"
1417   - xlink:href="#linearGradient3816"
1418   - id="radialGradient6246"
1419   - gradientUnits="userSpaceOnUse"
1420   - cx="31.112698"
1421   - cy="19.008621"
1422   - fx="31.112698"
1423   - fy="19.008621"
1424   - r="8.6620579" />
1425   - <radialGradient
1426   - inkscape:collect="always"
1427   - xlink:href="#linearGradient4338"
1428   - id="radialGradient6248"
1429   - gradientUnits="userSpaceOnUse"
1430   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1431   - cx="29.344931"
1432   - cy="17.064077"
1433   - fx="29.344931"
1434   - fy="17.064077"
1435   - r="9.1620579" />
1436   - <linearGradient
1437   - inkscape:collect="always"
1438   - xlink:href="#linearGradient3824"
1439   - id="linearGradient6250"
1440   - gradientUnits="userSpaceOnUse"
1441   - gradientTransform="translate(-14.127271,995.6454)"
1442   - x1="30.935921"
1443   - y1="29.553486"
1444   - x2="30.935921"
1445   - y2="35.803486" />
1446   - <linearGradient
1447   - inkscape:collect="always"
1448   - xlink:href="#linearGradient4356"
1449   - id="linearGradient6252"
1450   - gradientUnits="userSpaceOnUse"
1451   - gradientTransform="matrix(0.95236899,-0.304949,0.304949,0.95236899,-24.109161,1001.0625)"
1452   - x1="20.661695"
1453   - y1="35.817974"
1454   - x2="22.626925"
1455   - y2="36.217758" />
1456   - <linearGradient
1457   - inkscape:collect="always"
1458   - xlink:href="#linearGradient4356"
1459   - id="linearGradient6254"
1460   - gradientUnits="userSpaceOnUse"
1461   - gradientTransform="matrix(-0.977685,0.210075,0.210075,0.977685,40.096379,991.52674)"
1462   - x1="22.686766"
1463   - y1="36.390400"
1464   - x2="21.408455"
1465   - y2="35.739632" />
1466   - <radialGradient
1467   - inkscape:collect="always"
1468   - xlink:href="#linearGradient259"
1469   - id="radialGradient6256"
1470   - gradientUnits="userSpaceOnUse"
1471   - gradientTransform="matrix(0.353806,0,0,0.37006743,-289.95036,994.73776)"
1472   - cx="33.966679"
1473   - cy="35.736916"
1474   - fx="33.966679"
1475   - fy="35.736916"
1476   - r="86.70845" />
1477   - <radialGradient
1478   - inkscape:collect="always"
1479   - xlink:href="#linearGradient269"
1480   - id="radialGradient6258"
1481   - gradientUnits="userSpaceOnUse"
1482   - gradientTransform="matrix(0.35667183,0,0,0.36709384,-288.71505,994.96754)"
1483   - cx="8.824419"
1484   - cy="3.7561285"
1485   - fx="8.824419"
1486   - fy="3.7561285"
1487   - r="37.751713" />
1488   - <radialGradient
1489   - inkscape:collect="always"
1490   - xlink:href="#linearGradient15662"
1491   - id="radialGradient6260"
1492   - gradientUnits="userSpaceOnUse"
1493   - gradientTransform="matrix(0.35842521,0,0,0.36658484,-288.74498,994.99084)"
1494   - cx="8.1435566"
1495   - cy="7.2678967"
1496   - fx="8.1435566"
1497   - fy="7.2678967"
1498   - r="38.158695" />
1499   - <linearGradient
1500   - inkscape:collect="always"
1501   - xlink:href="#linearGradient2906"
1502   - id="linearGradient6262"
1503   - gradientUnits="userSpaceOnUse"
1504   - gradientTransform="matrix(0.35541046,-0.09680687,0.12011148,0.40211819,4.9170956,1029.1248)"
1505   - x1="13.354311"
1506   - y1="1.4866425"
1507   - x2="14.075844"
1508   - y2="2.4017651" />
1509   - <linearGradient
1510   - inkscape:collect="always"
1511   - xlink:href="#linearGradient2896"
1512   - id="linearGradient6264"
1513   - gradientUnits="userSpaceOnUse"
1514   - gradientTransform="matrix(0.35541046,-0.09680687,0.16161446,0.54106498,4.9107799,1029.1036)"
1515   - x1="14.584077"
1516   - y1="1.6392649"
1517   - x2="14.552828"
1518   - y2="2.4912448" />
1519   - <radialGradient
1520   - inkscape:collect="always"
1521   - xlink:href="#linearGradient4338"
1522   - id="radialGradient6266"
1523   - gradientUnits="userSpaceOnUse"
1524   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1525   - cx="29.344931"
1526   - cy="17.064077"
1527   - fx="29.344931"
1528   - fy="17.064077"
1529   - r="9.1620579" />
1530   - <radialGradient
1531   - inkscape:collect="always"
1532   - xlink:href="#linearGradient4163"
1533   - id="radialGradient6275"
1534   - gradientUnits="userSpaceOnUse"
1535   - gradientTransform="matrix(1.297564,0,0,0.884831,-4.2342547,1013.4195)"
1536   - cx="28.089741"
1537   - cy="27.203083"
1538   - fx="28.089741"
1539   - fy="27.203083"
1540   - r="13.565360" />
1541   - <radialGradient
1542   - inkscape:collect="always"
1543   - xlink:href="#linearGradient3816"
1544   - id="radialGradient6277"
1545   - gradientUnits="userSpaceOnUse"
1546   - cx="31.112698"
1547   - cy="19.008621"
1548   - fx="31.112698"
1549   - fy="19.008621"
1550   - r="8.6620579" />
1551   - <radialGradient
1552   - inkscape:collect="always"
1553   - xlink:href="#linearGradient3800"
1554   - id="radialGradient6279"
1555   - gradientUnits="userSpaceOnUse"
1556   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1557   - cx="29.344931"
1558   - cy="17.064077"
1559   - fx="29.344931"
1560   - fy="17.064077"
1561   - r="9.1620579" />
1562   - <radialGradient
1563   - inkscape:collect="always"
1564   - xlink:href="#linearGradient4163"
1565   - id="radialGradient6286"
1566   - gradientUnits="userSpaceOnUse"
1567   - gradientTransform="matrix(1.297564,0,0,0.884831,-6.8592547,1012.4195)"
1568   - cx="28.089741"
1569   - cy="27.203083"
1570   - fx="28.089741"
1571   - fy="27.203083"
1572   - r="13.565360" />
1573   - <radialGradient
1574   - inkscape:collect="always"
1575   - xlink:href="#linearGradient3800"
1576   - id="radialGradient6300"
1577   - gradientUnits="userSpaceOnUse"
1578   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1579   - cx="29.344931"
1580   - cy="17.064077"
1581   - fx="29.344931"
1582   - fy="17.064077"
1583   - r="9.1620579" />
1584   - </defs>
1585   - <sodipodi:namedview
1586   - id="base"
1587   - pagecolor="#ffffff"
1588   - bordercolor="#666666"
1589   - borderopacity="1.0"
1590   - inkscape:pageopacity="0.0"
1591   - inkscape:pageshadow="2"
1592   - inkscape:zoom="15.729167"
1593   - inkscape:cx="24"
1594   - inkscape:cy="23.872848"
1595   - inkscape:document-units="px"
1596   - inkscape:current-layer="layer1"
1597   - showgrid="false"
1598   - inkscape:window-width="1280"
1599   - inkscape:window-height="975"
1600   - inkscape:window-x="0"
1601   - inkscape:window-y="0"
1602   - inkscape:window-maximized="1" />
1603   - <metadata
1604   - id="metadata7">
1605   - <rdf:RDF>
1606   - <cc:Work
1607   - rdf:about="">
1608   - <dc:format>image/svg+xml</dc:format>
1609   - <dc:type
1610   - rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
1611   - <dc:title></dc:title>
1612   - </cc:Work>
1613   - </rdf:RDF>
1614   - </metadata>
1615   - <g
1616   - inkscape:label="Camada 1"
1617   - inkscape:groupmode="layer"
1618   - id="layer1"
1619   - transform="translate(0,-1004.3622)">
1620   - <g
1621   - id="g6205"
1622   - transform="translate(-0.25,-0.625)">
1623   - <path
1624   - transform="matrix(1.77551,0,0,0.959183,-39.087601,1014.4169)"
1625   - sodipodi:type="arc"
1626   - style="color:#000000;fill:url(#radialGradient6242);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1627   - id="path4177"
1628   - sodipodi:cx="31.112698"
1629   - sodipodi:cy="19.008621"
1630   - sodipodi:rx="8.6620579"
1631   - sodipodi:ry="8.6620579"
1632   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1633   - <path
1634   - style="color:#000000;fill:url(#radialGradient6244);fill-opacity:1;fill-rule:evenodd;stroke:#404604;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1635   - d="m 11.151793,1037.2814 10.606602,0 c 3.005204,0 5.980484,-1.1019 7.071067,-4.2426 1.035639,-2.9825 0.176777,-8.6621 -6.540737,-13.2583 l -12.5511457,0 c -6.717514,4.2427 -7.556991,10.0449 -6.010407,13.4351 1.575595,3.4538 4.24264,4.0658 7.4246207,4.0658 z"
1636   - id="path2329"
1637   - sodipodi:nodetypes="cczcczc" />
1638   - <path
1639   - sodipodi:nodetypes="cccc"
1640   - id="path3812"
1641   - d="m 16.222986,1022.4322 c 0,0 -2.151323,1.6603 -1.965991,3.6605 -2.041226,-1.8008 -2.099873,-5.2515 -2.099873,-5.2515 l 4.065864,1.591 z"
1642   - style="color:#000000;fill:#9db029;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible" />
1643   - <path
1644   - sodipodi:nodetypes="cczcczc"
1645   - id="path3838"
1646   - d="m 11.257258,1036.2172 10.31667,0 c 2.639723,0 5.253161,-0.9679 6.211112,-3.7266 0.909689,-2.6198 -0.09472,-7.6086 -5.995279,-11.6459 l -11.524725,0 c -5.9005567,3.7267 -6.8879397,8.8233 -5.5294457,11.8011 1.383978,3.0338 3.726667,3.5714 6.5216677,3.5714 z"
1647   - style="opacity:0.21518986;color:#000000;fill:none;stroke:#ffffff;stroke-width:0.99999976px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" />
1648   - <path
1649   - style="color:#000000;fill:#9db029;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1650   - d="m 17.201414,1022.4322 c 0,0 2.151323,1.6603 1.965991,3.6605 2.041226,-1.8008 2.099873,-5.2515 2.099873,-5.2515 l -4.065864,1.591 z"
1651   - id="path3810"
1652   - sodipodi:nodetypes="cccc" />
1653   - <path
1654   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1655   - sodipodi:ry="8.6620579"
1656   - sodipodi:rx="8.6620579"
1657   - sodipodi:cy="19.008621"
1658   - sodipodi:cx="31.112698"
1659   - id="path3814"
1660   - style="color:#000000;fill:url(#radialGradient6246);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1661   - sodipodi:type="arc"
1662   - transform="translate(-14.959381,999.1454)" />
1663   - <g
1664   - id="g4290">
1665   - <path
1666   - transform="translate(-14.834381,995.6454)"
1667   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1668   - sodipodi:ry="8.6620579"
1669   - sodipodi:rx="8.6620579"
1670   - sodipodi:cy="19.008621"
1671   - sodipodi:cx="31.112698"
1672   - id="path2327"
1673   - style="color:#000000;fill:url(#radialGradient6248);fill-opacity:1;fill-rule:evenodd;stroke:#6f4709;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1674   - sodipodi:type="arc" />
1675   - <path
1676   - transform="matrix(0.877095,0,0,0.877095,-11.010454,997.98167)"
1677   - sodipodi:type="arc"
1678   - style="opacity:0.12658231;color:#000000;fill:none;stroke:#ffffff;stroke-width:1.14012825px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1679   - id="path3834"
1680   - sodipodi:cx="31.112698"
1681   - sodipodi:cy="19.008621"
1682   - sodipodi:rx="8.6620579"
1683   - sodipodi:ry="8.6620579"
1684   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1685   - </g>
1686   - <path
1687   - style="color:#000000;fill:url(#linearGradient6250);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1688   - d="m 20.874513,1029.68 4.24264,0 -2.474873,-2.2981 -0.53033,0.7072 -0.530331,-0.5304 -0.707106,2.1213 z"
1689   - id="path4173" />
1690   - <path
1691   - style="opacity:0.22784807;color:#000000;fill:url(#linearGradient6252);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1692   - d="m 10.187502,1031.9428 c -1.3569797,0.1098 -2.4699596,-0.7834 -2.4699596,-0.7834 -1.1826865,-3.9834 -0.053718,-7.9677 -0.053718,-7.9677 0,0 1.0230233,6.7272 2.5236776,8.7511 z"
1693   - id="path4368"
1694   - sodipodi:nodetypes="cccc" />
1695   - <path
1696   - sodipodi:nodetypes="cccc"
1697   - id="path4370"
1698   - d="m 25.74428,1035.3888 c 1.231251,-0.581 1.80438,-2.0023 1.80438,-2.0023 -0.95912,-4.043 -3.976149,-6.8428 -3.976149,-6.8428 0,0 2.464593,6.3426 2.171769,8.8451 z"
1699   - style="opacity:0.22784807;color:#000000;fill:url(#linearGradient6254);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible" />
1700   - <rect
1701   - transform="matrix(0.96484871,-0.26280595,0.28620224,0.95816923,0,0)"
1702   - rx="0.42326209"
1703   - ry="0.40700412"
1704   - y="996.03387"
1705   - x="-287.51788"
1706   - height="14.54507"
1707   - width="12.846511"
1708   - id="rect15391"
1709   - style="color:#000000;fill:url(#radialGradient6256);fill-opacity:1;fill-rule:nonzero;stroke:url(#radialGradient6258);stroke-width:1.00014806;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible" />
1710   - <rect
1711   - transform="matrix(0.96484871,-0.26280595,0.28620224,0.95816923,0,0)"
1712   - rx="0.054903328"
1713   - ry="0.052794438"
1714   - y="996.38843"
1715   - x="-287.14862"
1716   - height="13.824175"
1717   - width="12.132636"
1718   - id="rect15660"
1719   - style="color:#000000;fill:none;stroke:url(#radialGradient6260);stroke-width:0.36121485;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible" />
1720   - <path
1721   - sodipodi:nodetypes="cc"
1722   - id="path15672"
1723   - d="m 9.6371294,1030.1227 3.8428056,12.8652"
1724   - style="fill:none;stroke:#000000;stroke-width:0.35702735;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.01754384;display:inline" />
1725   - <path
1726   - sodipodi:nodetypes="cc"
1727   - id="path15674"
1728   - d="m 9.9424741,1029.8656 3.8540689,12.903"
1729   - style="fill:none;stroke:#ffffff;stroke-width:0.36116153;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.20467828;display:inline" />
1730   - <g
1731   - transform="matrix(0.35541046,-0.09680687,0.10137564,0.33939294,4.9908869,1029.3718)"
1732   - id="g2188">
1733   - <rect
1734   - ry="0.065390877"
1735   - rx="0.13778631"
1736   - y="9"
1737   - x="15.999994"
1738   - height="1"
1739   - width="20.000006"
1740   - id="rect15686"
1741   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1742   - <rect
1743   - ry="0.065390877"
1744   - rx="0.13778631"
1745   - y="11"
1746   - x="15.999994"
1747   - height="1"
1748   - width="20.000006"
1749   - id="rect15688"
1750   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1751   - <rect
1752   - ry="0.065390877"
1753   - rx="0.13778631"
1754   - y="13"
1755   - x="15.999994"
1756   - height="1"
1757   - width="20.000006"
1758   - id="rect15690"
1759   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1760   - <rect
1761   - ry="0.065390877"
1762   - rx="0.13778631"
1763   - y="15"
1764   - x="15.999994"
1765   - height="1"
1766   - width="20.000006"
1767   - id="rect15692"
1768   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1769   - <rect
1770   - ry="0.065390877"
1771   - rx="0.13778631"
1772   - y="17"
1773   - x="15.999994"
1774   - height="1"
1775   - width="20.000006"
1776   - id="rect15694"
1777   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1778   - <rect
1779   - ry="0.065390877"
1780   - rx="0.13778631"
1781   - y="19"
1782   - x="15.999994"
1783   - height="1"
1784   - width="20.000006"
1785   - id="rect15696"
1786   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1787   - <rect
1788   - ry="0.065390877"
1789   - rx="0.13778631"
1790   - y="21"
1791   - x="15.999994"
1792   - height="1"
1793   - width="20.000006"
1794   - id="rect15698"
1795   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1796   - <rect
1797   - ry="0.065390877"
1798   - rx="0.13778631"
1799   - y="23"
1800   - x="15.999994"
1801   - height="1"
1802   - width="20.000006"
1803   - id="rect15700"
1804   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1805   - <rect
1806   - ry="0.065390877"
1807   - rx="0.062003858"
1808   - y="25"
1809   - x="15.999986"
1810   - height="1"
1811   - width="9.0000057"
1812   - id="rect15732"
1813   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1814   - <rect
1815   - ry="0.065390877"
1816   - rx="0.13778631"
1817   - y="29"
1818   - x="15.999986"
1819   - height="1"
1820   - width="20.000006"
1821   - id="rect15736"
1822   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1823   - <rect
1824   - ry="0.065390877"
1825   - rx="0.13778631"
1826   - y="31"
1827   - x="15.999986"
1828   - height="1"
1829   - width="20.000006"
1830   - id="rect15738"
1831   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1832   - <rect
1833   - ry="0.065390877"
1834   - rx="0.13778631"
1835   - y="33"
1836   - x="15.999986"
1837   - height="1"
1838   - width="20.000006"
1839   - id="rect15740"
1840   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1841   - <rect
1842   - ry="0.065390877"
1843   - rx="0.13778631"
1844   - y="35"
1845   - x="15.999986"
1846   - height="1"
1847   - width="20.000006"
1848   - id="rect15742"
1849   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1850   - <rect
1851   - ry="0.065390877"
1852   - rx="0.096450485"
1853   - y="37"
1854   - x="15.999986"
1855   - height="1"
1856   - width="14.000014"
1857   - id="rect15744"
1858   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1859   - </g>
1860   - <path
1861   - sodipodi:nodetypes="cccc"
1862   - id="path2894"
1863   - d="m 10.77767,1029.241 -0.310195,-0.9816 c -0.7572021,0.2062 -0.5578178,0.8619 -0.459453,1.1912 l 0.769647,-0.2096 z"
1864   - style="opacity:0.48295456;color:#000000;fill:url(#linearGradient6262);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.10533953;marker:none;visibility:visible;display:inline;overflow:visible" />
1865   - <path
1866   - style="opacity:0.35795456;color:#000000;fill:url(#linearGradient6264);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.10533953;marker:none;visibility:visible;display:inline;overflow:visible"
1867   - d="m 10.77767,1029.241 -0.229976,-0.7131 c -0.8149432,0.2286 -0.539672,0.9227 -0.539672,0.9227 l 0.769647,-0.2096 z"
1868   - id="path2904"
1869   - sodipodi:nodetypes="cccc" />
1870   - <path
1871   - transform="matrix(0.41151985,0,0,0.41151985,-5.6291758,1025.7467)"
1872   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1873   - sodipodi:ry="8.6620579"
1874   - sodipodi:rx="8.6620579"
1875   - sodipodi:cy="19.008621"
1876   - sodipodi:cx="31.112698"
1877   - id="path4296"
1878   - style="color:#000000;fill:url(#radialGradient6266);fill-opacity:1;fill-rule:evenodd;stroke:#6f4709;stroke-width:2.43001652;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1879   - sodipodi:type="arc" />
1880   - <path
1881   - transform="matrix(0.360942,0,0,0.360942,-4.0555539,1026.7081)"
1882   - sodipodi:type="arc"
1883   - style="opacity:0.12658231;color:#000000;fill:none;stroke:#ffffff;stroke-width:2.77052832;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1884   - id="path4298"
1885   - sodipodi:cx="31.112698"
1886   - sodipodi:cy="19.008621"
1887   - sodipodi:rx="8.6620579"
1888   - sodipodi:ry="8.6620579"
1889   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1890   - </g>
1891   - <path
1892   - transform="matrix(0.42405721,0,0,0.42405721,8.1654039,1030.3792)"
1893   - sodipodi:type="arc"
1894   - style="color:#000000;fill:url(#radialGradient6300);fill-opacity:1;fill-rule:evenodd;stroke:#c17d11;stroke-width:2.35817238;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1895   - id="path6296"
1896   - sodipodi:cx="31.112698"
1897   - sodipodi:cy="19.008621"
1898   - sodipodi:rx="8.6620579"
1899   - sodipodi:ry="8.6620579"
1900   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1901   - <path
1902   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1903   - sodipodi:ry="8.6620579"
1904   - sodipodi:rx="8.6620579"
1905   - sodipodi:cy="19.008621"
1906   - sodipodi:cx="31.112698"
1907   - id="path6298"
1908   - style="opacity:0.19620254000000001;color:#000000;fill:none;stroke:#ffffff;stroke-width:2.68861682;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1909   - sodipodi:type="arc"
1910   - transform="matrix(0.37193846,0,0,0.37193846,9.7869677,1031.3699)" />
1911   - <path
1912   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1913   - sodipodi:ry="8.6620579"
1914   - sodipodi:rx="8.6620579"
1915   - sodipodi:cy="19.008621"
1916   - sodipodi:cx="31.112698"
1917   - id="path4306"
1918   - style="color:#000000;fill:url(#radialGradient6197);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1919   - sodipodi:type="arc"
1920   - transform="matrix(1.77551,0,0,0.583984,-23.12897,1035.6326)" />
1921   - <path
1922   - sodipodi:nodetypes="cczcczc"
1923   - id="path4308"
1924   - d="m 27.485424,1049.115 10.606602,0 c 3.005204,0 5.980484,-1.1019 7.071067,-4.2426 1.035639,-2.9825 0.176777,-8.6621 -6.540737,-13.2583 l -12.551146,0 c -6.717514,4.2427 -7.556991,10.0449 -6.010407,13.4351 1.575595,3.4538 4.24264,4.0658 7.424621,4.0658 z"
1925   - style="color:#000000;fill:url(#radialGradient6286);fill-opacity:1;fill-rule:evenodd;stroke:#204a87;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" />
1926   - <path
1927   - style="opacity:0.21518986;color:#000000;fill:none;stroke:#ffffff;stroke-width:0.99999976px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1928   - d="m 27.414112,1048.0729 10.493447,-0.022 c 2.639723,0 5.253161,-0.9679 6.211112,-3.7266 0.909689,-2.6198 -0.09472,-7.6086 -5.995279,-11.6459 l -11.524725,-0.243 c -5.900557,3.7266 -7.04262,8.8232 -5.662029,12.0441 1.380592,3.221 3.395211,3.5714 6.477474,3.5935 z"
1929   - id="path4314"
1930   - sodipodi:nodetypes="cczcczc" />
1931   - <path
1932   - transform="translate(1.3742503,1010.979)"
1933   - sodipodi:type="arc"
1934   - style="color:#000000;fill:url(#radialGradient6277);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1935   - id="path4318"
1936   - sodipodi:cx="31.112698"
1937   - sodipodi:cy="19.008621"
1938   - sodipodi:rx="8.6620579"
1939   - sodipodi:ry="8.6620579"
1940   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1941   - <g
1942   - id="g6288">
1943   - <path
1944   - transform="translate(1.4992503,1007.479)"
1945   - sodipodi:type="arc"
1946   - style="color:#000000;fill:url(#radialGradient6279);fill-opacity:1;fill-rule:evenodd;stroke:#c17d11;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1947   - id="path4320"
1948   - sodipodi:cx="31.112698"
1949   - sodipodi:cy="19.008621"
1950   - sodipodi:rx="8.6620579"
1951   - sodipodi:ry="8.6620579"
1952   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1953   - <path
1954   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1955   - sodipodi:ry="8.6620579"
1956   - sodipodi:rx="8.6620579"
1957   - sodipodi:cy="19.008621"
1958   - sodipodi:cx="31.112698"
1959   - id="path4322"
1960   - style="opacity:0.19620254;color:#000000;fill:none;stroke:#ffffff;stroke-width:1.14012825px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1961   - sodipodi:type="arc"
1962   - transform="matrix(0.877095,0,0,0.877095,5.3231773,1009.8153)" />
1963   - </g>
1964   - </g>
1965   -</svg>
plugins/bsc/public/spinner.js
... ... @@ -1,5 +0,0 @@
1   -jQuery('#bsc-plugin-contract-spinner').spinner({
2   - min: 0,
3   - increment: 'fast',
4   - mouseWheel: true,
5   -});
plugins/bsc/public/style.css
... ... @@ -1,182 +0,0 @@
1   -@import url(jquery.ui.spinner/ui.spinner.css);
2   -
3   -.controller-profile_editor a.control-panel-bsc-enterprises {background-image: url(/plugins/bsc/images/manage-bsc-enterprises.png)}
4   -.controller-profile_editor .msie6 a.control-panel-bsc-enterprises {background-image: url(/plugins/bsc/images/manage-bsc-enterprises.gif)}
5   -
6   -.controller-profile_editor a.control-panel-transfer-enterprise-ownership {background-image: url(/plugins/bsc/images/transfer-ownership.png)}
7   -
8   -.ui-spinner-up{
9   - height: 6.5px !important;
10   -}
11   -
12   -.ui-spinner-down{
13   - height: 8.5px !important;
14   -}
15   -
16   -.ui-icon-triangle-1-n {
17   - margin-top: -4px !important;
18   -}
19   -
20   -.ui-icon-triangle-1-s {
21   - margin-left: -1px !important;
22   - margin-top: -3.5px !important;
23   -}
24   -
25   -.icon-menu-bsc {
26   - background-image: url(/plugins/bsc/images/manage-bsc-enterprises-icon.png);
27   -}
28   -
29   -#content .token-input-list {
30   - margin-bottom: 30px;
31   -}
32   -
33   -#bsc-plugin-sorter {
34   - text-align: right;
35   - margin: 3px 0px;
36   -}
37   -
38   -#bsc-plugin-sales-table th,
39   -#bsc-plugin-sales-table td {
40   - border: 1px solid #000;
41   - border-collapse: collapse;
42   - padding: 0px
43   -}
44   -
45   -#content #bsc-plugin-sales-table td .token-input-list{
46   - margin-bottom: 0px;
47   -}
48   -
49   -#bsc-plugin-sales-table {
50   - border: 1px solid #000;
51   - border-collapse: collapse;
52   -}
53   -
54   -#bsc-plugin-sales-table th {
55   - background-color: #cdcdcd;
56   - padding: 0px 10px;
57   -}
58   -
59   -.alternate-colors tr:nth-child(odd),
60   -.alternate-colors tr:nth-child(odd):hover td {
61   - background-color: #f4f4f4;
62   -}
63   -
64   -.alternate-colors tr:nth-child(even),
65   -.alternate-colors tr:nth-child(even):hover td {
66   - background-color: #fff;
67   -}
68   -
69   -#bsc-plugin-sales-table input.error{
70   - background-color: #F8DBDD;
71   - border: 1px solid #f5697c;
72   - margin-left: 2px;
73   -}
74   -
75   -.bsc-plugin-sales-price {
76   - width: 75%;
77   -}
78   -
79   -.bsc-plugin-sales-products-column {
80   - width: 70%;
81   -}
82   -
83   -.bsc-plugin-sales-quantity-column {
84   - width: 10%;
85   - text-align: center;
86   -}
87   -
88   -.bsc-plugin-sales-price-column {
89   - width: 18%;
90   -}
91   -
92   -#bsc-plugin-sales-add-new-row {
93   - padding: 0px 10px;
94   -}
95   -
96   -#bsc-plugin-manage-contracts-table a {
97   - color: #555753;
98   -}
99   -
100   -#bsc-plugin-manage-contracts-table {
101   - border:none;
102   -}
103   -#bsc-plugin-manage-contracts-table td {
104   - padding: 5px 10px;
105   -}
106   -
107   -#bsc-plugin-manage-contracts-table td.links {
108   - text-align: right;
109   -}
110   -
111   -#bsc-plugin-contracts-filter {
112   - float: left;
113   - width: 20%;
114   - height: 100%;
115   -}
116   -
117   -
118   -#bsc-plugin-contracts-results {
119   - float: left;
120   - width: 80%;
121   -}
122   -
123   -#bsc-plugin-contract-total-string,
124   -#bsc-plugin-contract-total {
125   - text-align: right;
126   -}
127   -
128   -.bsc-fields-table {
129   - border: collapse;
130   - width: 49%;
131   -}
132   -
133   -.bsc-fields-table th{
134   - font-size: 14px;
135   - padding: 0px;
136   -}
137   -
138   -.bsc-fields-table td {
139   - border: none;
140   - padding: 0px;
141   -}
142   -
143   -.bsc-fields-table tr:hover td {
144   - background-color: transparent;
145   -}
146   -
147   -.bsc-field-label {
148   - font-weight: bold;
149   -}
150   -
151   -.bsc-full-table {
152   - margin: 3px 0px;
153   -}
154   -
155   -.bsc-plugin-view-contract {
156   - margin-top: 10px;
157   -}
158   -
159   -.bsc-plugin-view-contract td {
160   - padding: 2px 10px !important;
161   -}
162   -
163   -.bsc-plugin-total {
164   - font-weight: bold;
165   -}
166   -
167   -.bsc-plugin-annotation {
168   - background-color: #eeeeec;
169   - margin: 10px 0px;
170   - padding: 5px 10px;
171   - border-radius: 5px;
172   -}
173   -
174   -.bsc-plugin-annotation-title {
175   - font-weight: bold;
176   - font-size: 15px;
177   - margin-bottom: 5px;
178   -}
179   -
180   -.bsc-plugin-annotation-content {
181   - font-style: italic;
182   -}
plugins/bsc/public/validation.js
... ... @@ -1,4 +0,0 @@
1   -jQuery("#bsc-plugin-sales-form").validate({
2   - errorPlacement: function(error, element){element.attr('title', error.text())}
3   -});
4   -
plugins/bsc/test/functional/bsc_plugin_admin_controller_test.rb
... ... @@ -1,81 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../test/test_helper'
2   -require File.dirname(__FILE__) + '/../../controllers/bsc_plugin_admin_controller'
3   -
4   -# Re-raise errors caught by the controller.
5   -class BscPluginAdminController; def rescue_action(e) raise e end; end
6   -
7   -class BscPluginAdminControllerTest < ActionController::TestCase
8   -
9   - VALID_CNPJ = '94.132.024/0001-48'
10   -
11   - def setup
12   - @controller = BscPluginAdminController.new
13   - @request = ActionController::TestRequest.new
14   - @response = ActionController::TestResponse.new
15   - user_login = create_admin_user(Environment.default)
16   - login_as(user_login)
17   - @admin = User[user_login].person
18   - e = Environment.default
19   - e.enabled_plugins = ['BscPlugin']
20   - e.save!
21   - end
22   -
23   - attr_accessor :admin
24   -
25   - should 'create a new bsc' do
26   - assert_difference BscPlugin::Bsc, :count, 1 do
27   - post :new, :profile_data => {:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ}
28   - end
29   -
30   - assert_redirected_to :controller => 'profile_editor', :profile => 'sample-bsc'
31   - end
32   -
33   - should 'not create an invalid bsc' do
34   - assert_difference BscPlugin::Bsc, :count, 0 do
35   - post :new, :profile_data => {:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => '29837492304'}
36   - end
37   -
38   - assert_response 200
39   - end
40   -
41   - should 'set the current user as the bsc admin' do
42   - name = 'Sample Bsc'
43   - post :new, :profile_data => {:business_name => name, :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ}
44   - bsc = BscPlugin::Bsc.find_by_name(name)
45   - assert_includes bsc.admins, admin
46   - end
47   -
48   - should 'list correct enterprises on search' do
49   - # Should list if: not validated AND (name matches OR identifier matches) AND not bsc
50   - e1 = Enterprise.create!(:name => 'Sample Enterprise 1', :identifier => 'bli', :validated => false)
51   - e2 = Enterprise.create!(:name => 'Bla', :identifier => 'sample-enterprise-6', :validated => false)
52   - e3 = Enterprise.create!(:name => 'Blo', :identifier => 'blo', :validated => false)
53   - e4 = BscPlugin::Bsc.create!(:business_name => "Sample Bsc", :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ, :validated => false)
54   - e5 = Enterprise.create!(:name => 'Sample Enterprise 5', :identifier => 'sample-enterprise-5')
55   - e5.validated = true
56   - e5.save!
57   -
58   - get :search_enterprise, :q => 'sampl'
59   -
60   - assert_match /#{e1.name}/, @response.body
61   - assert_match /#{e2.name}/, @response.body
62   - assert_no_match /#{e3.name}/, @response.body
63   - assert_no_match /#{e4.name}/, @response.body
64   - assert_no_match /#{e5.name}/, @response.body
65   - end
66   -
67   - should 'save validations' do
68   - e1 = fast_create(Enterprise, :validated => false)
69   - e2 = fast_create(Enterprise, :validated => false)
70   - e3 = fast_create(Enterprise, :validated => false)
71   -
72   - post :save_validations, :q => "#{e1.id},#{e2.id}"
73   - e1.reload
74   - e2.reload
75   - e3.reload
76   -
77   - assert e1.validated
78   - assert e2.validated
79   - refute e3.validated
80   - end
81   -end
plugins/bsc/test/functional/bsc_plugin_myprofile_controller_test.rb
... ... @@ -1,322 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../test/test_helper'
2   -require File.dirname(__FILE__) + '/../../controllers/bsc_plugin_myprofile_controller'
3   -
4   -# Re-raise errors caught by the controller.
5   -class BscPluginMyprofileController; def rescue_action(e) raise e end; end
6   -
7   -class BscPluginMyprofileControllerTest < ActionController::TestCase
8   -
9   - VALID_CNPJ = '94.132.024/0001-48'
10   -
11   - def setup
12   - @controller = BscPluginMyprofileController.new
13   - @request = ActionController::TestRequest.new
14   - @response = ActionController::TestResponse.new
15   - @bsc = BscPlugin::Bsc.create!({:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ})
16   - @admin = create_user('admin').person
17   - @bsc.add_admin(@admin)
18   - login_as(@admin.user.login)
19   - e = Environment.default
20   - e.enabled_plugins = ['BscPlugin']
21   - e.save!
22   - end
23   -
24   - attr_accessor :admin, :bsc
25   -
26   - should 'list enterprises on search' do
27   - # Should list if match name
28   - e1 = Enterprise.create!(:name => 'sample enterprise 1', :identifier => 'sample-enterprise-1')
29   - # Should be case insensitive
30   - e2 = Enterprise.create!(:name => 'SaMpLe eNtErPrIsE 2', :identifier => 'sample-enterprise-2')
31   - # Should not list if don't match name
32   - e3 = Enterprise.create!(:name => 'blo', :identifier => 'blo')
33   - # Should not list if is has a bsc
34   - e4 = Enterprise.create!(:name => 'sample enterprise 4', :identifier => 'sample-enterprise-4', :bsc => bsc)
35   - # Should not list if is enabled
36   - e5 = Enterprise.create!(:name => 'sample enterprise 5', :identifier => 'sample-enterprise-5', :enabled => true)
37   - BscPlugin::AssociateEnterprise.create!(:requestor => admin, :target => e5, :bsc => bsc)
38   - # Should search by identifier
39   - e6 = Enterprise.create!(:name => 'Bla', :identifier => 'sample-enterprise-6')
40   -
41   - get :search_enterprise, :profile => bsc.identifier, :q => 'sampl'
42   -
43   - assert_match /#{e1.name}/, @response.body
44   - assert_match /#{e2.name}/, @response.body
45   - assert_no_match /#{e3.name}/, @response.body
46   - assert_no_match /#{e4.name}/, @response.body
47   - assert_no_match /#{e5.name}/, @response.body
48   - assert_no_match /#{bsc.name}/, @response.body
49   - assert_match /#{e6.name}/, @response.body
50   - end
51   -
52   - should 'do not list profiles template on search' do
53   - e1 = Enterprise.create!(:name => 'Sample Enterprise 1', :identifier => 'sample-enterprise-1')
54   - e2 = Enterprise.create!(:name => 'Sample Enterprise 2', :identifier => 'sample-enterprise-2')
55   - t1 = Enterprise.create!(:name => 'Enterprise template', :identifier => 'enterprise_template')
56   - t2 = Enterprise.create!(:name => 'Inactive enterprise template', :identifier => 'inactive_enterprise_template')
57   -
58   - get :search_enterprise, :profile => bsc.identifier, :q => 'ent'
59   -
60   - assert_no_match /#{t1.name}/, @response.body
61   - assert_no_match /#{t2.name}/, @response.body
62   - end
63   -
64   - should 'save associations' do
65   - e1 = fast_create(Enterprise, :enabled => false)
66   - e2 = fast_create(Enterprise, :enabled => false)
67   -
68   - post :save_associations, :profile => bsc.identifier, :q => "#{e1.id},#{e2.id}"
69   - e1.reload
70   - e2.reload
71   - assert_equal e1.bsc, bsc
72   - assert_equal e2.bsc, bsc
73   -
74   - post :save_associations, :profile => bsc.identifier, :q => "#{e1.id}"
75   - e1.reload
76   - e2.reload
77   - assert_equal e1.bsc, bsc
78   - assert_not_equal e2.bsc, bsc
79   - end
80   -
81   - should 'create a task to the enabled enterprise instead of associating it' do
82   - e = fast_create(Enterprise, :enabled => true)
83   -
84   - assert_difference BscPlugin::AssociateEnterprise, :count, 1 do
85   - post :save_associations, :profile => bsc.identifier, :q => "#{e.id}"
86   - bsc.reload
87   - assert_not_includes bsc.enterprises, e
88   - end
89   - end
90   -
91   - should 'transfer ownership' do
92   - p1 = create_user('p1').person
93   - p2 = create_user('p2').person
94   - p3 = create_user('p3').person
95   -
96   - role = Profile::Roles.admin(bsc.environment.id)
97   -
98   - bsc.add_admin(p1)
99   - bsc.add_admin(p2)
100   -
101   - post :transfer_ownership, :profile => bsc.identifier, 'q_'+role.key => "#{p3.id}"
102   -
103   - assert_response :redirect
104   -
105   - assert_not_includes bsc.admins, p1
106   - assert_not_includes bsc.admins, p2
107   - assert_includes bsc.admins, p3
108   - end
109   -
110   - should 'create enterprise' do
111   - assert_difference Enterprise, :count, 1 do
112   - post :create_enterprise, :profile => bsc.identifier, :create_enterprise => {:name => 'Test Bsc', :identifier => 'test-bsc'}
113   - end
114   -
115   - enterprise = Enterprise.find_by_identifier('test-bsc')
116   -
117   - assert_equal true, enterprise.enabled
118   - assert_equal false, enterprise.validated
119   - assert_equal enterprise.bsc, bsc
120   - end
121   -
122   - should 'fecth contracts filtered by status' do
123   - contract0 = BscPlugin::Contract.create!(:bsc => bsc, :status => 0, :client_name => 'Marvin')
124   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :status => 1, :client_name => 'Marvin')
125   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :status => 2, :client_name => 'Marvin')
126   - contract3 = BscPlugin::Contract.create!(:bsc => bsc, :status => 3, :client_name => 'Marvin')
127   -
128   - get :manage_contracts, :profile => bsc.identifier, :status => ['1', '3']
129   -
130   - assert_not_includes assigns(:contracts), contract0
131   - assert_includes assigns(:contracts), contract1
132   - assert_not_includes assigns(:contracts), contract2
133   - assert_includes assigns(:contracts), contract3
134   - end
135   -
136   - should 'manage contracts should have all status marked by default' do
137   - get :manage_contracts, :profile => bsc.identifier
138   - assert_equal assigns(:status), BscPlugin::Contract::Status.types.map { |s| s.to_s }
139   - end
140   -
141   - should 'fetch contracts sorted accordingly' do
142   - contract0 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 1.day.ago, :client_name => 'Eva')
143   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 2.day.ago, :client_name => 'Adam')
144   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 3.day.ago, :client_name => 'Marvin')
145   -
146   - by_date = [contract2, contract1, contract0]
147   - by_name = [contract1, contract0, contract2]
148   -
149   - get :manage_contracts, :profile => bsc.identifier, :sorting => 'created_at asc'
150   - assert_equal by_date, assigns(:contracts)
151   -
152   - get :manage_contracts, :profile => bsc.identifier, :sorting => 'created_at desc'
153   - assert_equal by_date.reverse, assigns(:contracts)
154   -
155   - get :manage_contracts, :profile => bsc.identifier, :sorting => 'client_name asc'
156   - assert_equal by_name, assigns(:contracts)
157   -
158   - get :manage_contracts, :profile => bsc.identifier, :sorting => 'client_name desc'
159   - assert_equal by_name.reverse, assigns(:contracts)
160   - end
161   -
162   - should 'limit the contracts to defined per page' do
163   - BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
164   - BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
165   -
166   - @controller.stubs(:contracts_per_page).returns(1)
167   -
168   - get :manage_contracts, :profile => bsc.identifier
169   -
170   - assert_equal 1, assigns(:contracts).count
171   - end
172   -
173   - should 'destroy contract' do
174   - contract = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
175   -
176   - assert_difference BscPlugin::Contract, :count, -1 do
177   - get :destroy_contract, :profile => bsc.identifier, :contract_id => contract.id
178   - end
179   -
180   - assert_raise ActiveRecord::RecordNotFound do
181   - BscPlugin::Contract.find(contract.id)
182   - end
183   - end
184   -
185   - should 'not crash if trying to destroy a contract that does not exists' do
186   - assert_nothing_raised do
187   - get :destroy_contract, :profile => bsc.identifier, :contract_id => -1
188   - end
189   - assert_redirected_to :action => 'manage_contracts'
190   - end
191   -
192   - should 'not crash if trying to edit a contract that does not exists' do
193   - assert_nothing_raised do
194   - get :edit_contract, :profile => bsc.identifier, :contract_id => -1
195   - end
196   - assert_redirected_to :action => 'manage_contracts'
197   - end
198   -
199   - should 'create contract associating the enterprises' do
200   - enterprise1 = fast_create(Enterprise)
201   - enterprise2 = fast_create(Enterprise)
202   -
203   - post :new_contract, :profile => bsc.identifier, :enterprises => "#{enterprise1.id},#{enterprise2.id}", :contract => {:bsc => bsc, :client_name => 'Marvin'}
204   -
205   - bsc.reload
206   - contract = bsc.contracts.last
207   -
208   - assert_includes contract.enterprises, enterprise1
209   - assert_includes contract.enterprises, enterprise2
210   - end
211   -
212   - should 'edit contract adding or removing enterprises accordingly' do
213   - enterprise1 = fast_create(Enterprise)
214   - enterprise2 = fast_create(Enterprise)
215   - enterprise3 = fast_create(Enterprise)
216   - contract = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
217   - contract.enterprises << enterprise1
218   - contract.enterprises << enterprise2
219   -
220   - post :edit_contract, :profile => bsc.identifier, :contract_id => contract.id, :enterprises => "#{enterprise2.id},#{enterprise3.id}", :contract => {:bsc => bsc}
221   - contract.reload
222   -
223   - assert_not_includes contract.enterprises, enterprise1
224   - assert_includes contract.enterprises, enterprise2
225   - assert_includes contract.enterprises, enterprise3
226   - end
227   -
228   - should 'not crash if there is no enterprises on create' do
229   - assert_nothing_raised do
230   - post :new_contract, :profile => bsc.identifier, :contract => {:bsc => bsc, :client_name => 'Marvin'}
231   - end
232   - end
233   -
234   - should 'create contract with associated sales' do
235   - product1 = fast_create(Product, :price => 2.50)
236   - product2 = fast_create(Product)
237   - sale1 = {:product_id => product1.id, :quantity => 2}
238   - sale2 = {:product_id => product2.id, :quantity => 5, :price => 3.50}
239   - sales = {1 => sale1, 2 => sale2}
240   -
241   - post :new_contract, :profile => bsc.identifier, :sales => sales, :contract => {:bsc => bsc, :client_name => 'Marvin'}
242   -
243   - bsc.reload
244   - contract = bsc.contracts.last
245   -
246   - assert_includes contract.products, product1
247   - assert_includes contract.products, product2
248   -
249   - assert_equal sale1[:quantity], contract.sales.find_by_product_id(sale1[:product_id]).quantity
250   - assert_equal sale2[:quantity], contract.sales.find_by_product_id(sale2[:product_id]).quantity
251   - assert_equal sale2[:price], contract.sales.find_by_product_id(sale2[:product_id]).price
252   - end
253   -
254   - should 'edit contract adding or removing sales accordingly' do
255   - product1 = fast_create(Product)
256   - product2 = fast_create(Product)
257   - product3 = fast_create(Product)
258   - contract = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
259   - BscPlugin::Sale.create!(:product => product1, :contract => contract, :quantity => 1)
260   - BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => 1)
261   - sales = {1 => {:product_id => product2.id, :quantity => 1}, 2 => {:product_id => product3.id, :quantity => 1}}
262   -
263   - post :edit_contract, :profile => bsc.identifier, :contract_id => contract.id, :sales => sales , :contract => {:bsc => bsc}
264   - contract.reload
265   -
266   - assert_not_includes contract.products, product1
267   - assert_includes contract.products, product2
268   - assert_includes contract.products, product3
269   - end
270   -
271   - should 'edit sales informations' do
272   - product1 = fast_create(Product)
273   - product2 = fast_create(Product)
274   - contract = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
275   - sale1 = BscPlugin::Sale.create!(:product => product1, :contract => contract, :quantity => 1, :price => 1.0)
276   - sale2 = BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => 2, :price => 2.0)
277   - sale2.save!
278   - sales = {1 => {:product_id => product1.id, :quantity => 3, :price => 5.0}, 2 => {:product_id => product2.id, :quantity => 4, :price => 10.0}}
279   -
280   - post :edit_contract, :profile => bsc.identifier, :contract_id => contract.id, :sales => sales , :contract => {:bsc => bsc}
281   -
282   - sale1.reload
283   - sale2.reload
284   -
285   - assert_equal 3, sale1.quantity
286   - assert_equal 5.0, sale1.price
287   - assert_equal 4, sale2.quantity
288   - assert_equal 10.0, sale2.price
289   - end
290   -
291   - should 'redirect to edit contract if some sale could not be created' do
292   - product = fast_create(Product)
293   - # sale without quantity
294   - sales = {1 => {:product_id => product.id, :price => 1.50}}
295   -
296   - post :new_contract, :profile => bsc.identifier, :sales => sales, :contract => {:bsc => bsc, :client_name => 'Marvin'}
297   -
298   - bsc.reload
299   - contract = bsc.contracts.last
300   -
301   - assert_redirected_to :action => 'edit_contract', :contract_id => contract.id
302   - end
303   -
304   - should 'search for products from the invoved enterprises' do
305   - # product1 fits
306   - # product2 doesn't fits because its in added_products
307   - # product3 doesn't fits because its enterprise is in enterprises
308   - enterprise1 = fast_create(Enterprise)
309   - enterprise2 = fast_create(Enterprise)
310   - enterprise3 = fast_create(Enterprise)
311   - product1 = fast_create(Product, :profile_id => enterprise1.id, :name => 'Black Bycicle')
312   - product2 = fast_create(Product, :profile_id => enterprise2.id, :name => 'Black Guitar')
313   - product3 = fast_create(Product, :profile_id => enterprise3.id, :name => 'Black Notebook')
314   -
315   - get :search_sale_product, :profile => bsc.identifier, :enterprises => [enterprise1.id,enterprise2.id].join(','), :added_products => [product2.id].join(','),:sales => {1 => {:product_id => 'black'}}
316   -
317   - assert_match /#{product1.name}/, @response.body
318   - assert_no_match /#{product2.name}/, @response.body
319   - assert_no_match /#{product3.name}/, @response.body
320   - end
321   -end
322   -
plugins/bsc/test/unit/bsc_plugin/associate_enterprise_test.rb
... ... @@ -1,52 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class BscPlugin::AssociateEnterpriseTest < ActiveSupport::TestCase
4   - VALID_CNPJ = '94.132.024/0001-48'
5   -
6   - def setup
7   - @enterprise = fast_create(Enterprise)
8   - @person = create_user('user').person
9   - @bsc = BscPlugin::Bsc.create!(:business_name => 'Sample Bsc', :company_name => 'Sample Bsc Ltda.', :identifier => 'sample-bsc', :cnpj => VALID_CNPJ)
10   - end
11   -
12   - attr_accessor :enterprise, :person, :bsc
13   -
14   - should 'associate enteprise with bsc after perform' do
15   - task = BscPlugin::AssociateEnterprise.create!(:requestor => person, :target => enterprise, :bsc => bsc)
16   - task.perform
17   - bsc.reload
18   -
19   - assert_includes bsc.enterprises, enterprise
20   - end
21   -
22   - should 'notify enterprise when some bsc create the request' do
23   - enterprise.contact_email = 'enterprise@bsc.org'
24   - enterprise.save!
25   - assert_difference ActionMailer::Base.deliveries, :count, 1 do
26   - BscPlugin::AssociateEnterprise.create!(:requestor => person, :target => enterprise, :bsc => bsc)
27   - end
28   - assert_includes ActionMailer::Base.deliveries.last.to, enterprise.contact_email
29   - end
30   -
31   - should 'notify requestor when some enterprise reject the request' do
32   - person.email = 'person@bsc.org'
33   - person.save!
34   - task = BscPlugin::AssociateEnterprise.create!(:requestor => person, :target => enterprise, :bsc => bsc)
35   - assert_difference ActionMailer::Base.deliveries, :count, 1 do
36   - task.cancel
37   - end
38   - assert_includes ActionMailer::Base.deliveries.last.to, person.contact_email
39   - end
40   -
41   - should 'notify requestor when some enterprise accept the request' do
42   - person.email = 'person@bsc.org'
43   - person.save!
44   - task = BscPlugin::AssociateEnterprise.create!(:requestor => person, :target => enterprise, :bsc => bsc)
45   - assert_difference ActionMailer::Base.deliveries, :count, 1 do
46   - task.finish
47   - end
48   - assert_includes ActionMailer::Base.deliveries.last.to, person.contact_email
49   - end
50   -
51   -end
52   -
plugins/bsc/test/unit/bsc_plugin/bsc_test.rb
... ... @@ -1,82 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class BscPlugin::BscTest < ActiveSupport::TestCase
4   - VALID_CNPJ = '94.132.024/0001-48'
5   -
6   - def setup
7   - @bsc = BscPlugin::Bsc.create!(:business_name => 'Sample Bsc', :company_name => 'Sample Bsc', :identifier => 'sample-bsc', :cnpj => VALID_CNPJ)
8   - end
9   -
10   - attr_accessor :bsc
11   -
12   - should 'validate presence of cnpj' do
13   - bsc = BscPlugin::Bsc.new()
14   - bsc.valid?
15   -
16   - assert bsc.errors.invalid?(:cnpj)
17   - end
18   -
19   - should 'validate uniqueness of cnpj' do
20   - bsc1 = bsc
21   - bsc2 = BscPlugin::Bsc.new(:cnpj => VALID_CNPJ)
22   - bsc2.valid?
23   - assert bsc2.errors.invalid?(:cnpj)
24   - end
25   -
26   - should 'have many enterprises' do
27   - e1 = Enterprise.new(:name => 'Enterprise1', :identifier => 'enterprise1')
28   - e2 = Enterprise.new(:name => 'Enterprise2', :identifier => 'enterprise2')
29   - bsc.enterprises << e1
30   - bsc.enterprises << e2
31   - bsc.save!
32   -
33   - assert_equal e1.bsc, bsc
34   - assert_equal e2.bsc, bsc
35   - end
36   -
37   - should 'verify already requested enterprises' do
38   - e1 = fast_create(Enterprise)
39   - e2 = fast_create(Enterprise)
40   - task = BscPlugin::AssociateEnterprise.new(:target => e1, :bsc => bsc)
41   - bsc.enterprise_requests.stubs(:pending).returns([task])
42   -
43   - assert bsc.already_requested?(e1)
44   - refute bsc.already_requested?(e2)
45   - end
46   -
47   - should 'return associated enterprises products' do
48   - e1 = fast_create(Enterprise)
49   - e2 = fast_create(Enterprise)
50   - category = fast_create(ProductCategory)
51   -
52   - p1 = fast_create(Product, :product_category_id => category.id)
53   - p2 = fast_create(Product, :product_category_id => category.id)
54   - p3 = fast_create(Product, :product_category_id => category.id)
55   -
56   - e1.products << p1
57   - e1.products << p2
58   - e2.products << p3
59   -
60   - bsc.enterprises << e1
61   - bsc.enterprises << e2
62   -
63   - bsc.reload
64   -
65   - assert_includes bsc.products, p1
66   - assert_includes bsc.products, p2
67   - assert_includes bsc.products, p3
68   - end
69   -
70   - should 'not be able to create product' do
71   - refute bsc.create_product?
72   - end
73   -
74   - should 'have many contracts' do
75   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
76   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
77   -
78   - assert_includes bsc.contracts, contract1
79   - assert_includes bsc.contracts, contract2
80   - end
81   -
82   -end
plugins/bsc/test/unit/bsc_plugin/contract_test.rb
... ... @@ -1,107 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class BscPlugin::ContractTest < ActiveSupport::TestCase
4   - def setup
5   - @contract = BscPlugin::Contract.new(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
6   - end
7   -
8   - attr_accessor :contract
9   -
10   - should 'validates presence of bsc' do
11   - contract.bsc = nil
12   - contract.valid?
13   - assert contract.errors.invalid?(:bsc)
14   -
15   - contract.bsc = BscPlugin::Bsc.new
16   - contract.valid?
17   - refute contract.errors.invalid?(:bsc)
18   - end
19   -
20   - should 'associate contract with products through sales' do
21   - contract.save!
22   - product1 = fast_create(Product)
23   - product2 = fast_create(Product)
24   - sale1 = BscPlugin::Sale.create!(:product => product1, :contract => contract, :quantity => 3)
25   - sale2 = BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => 5)
26   -
27   - assert_includes contract.products, product1
28   - assert_includes contract.products, product2
29   - end
30   -
31   - should 'have many enterprises' do
32   - contract.save!
33   - enterprise1 = fast_create(Enterprise)
34   - contract.enterprises << enterprise1
35   - enterprise2 = fast_create(Enterprise)
36   - contract.enterprises << enterprise2
37   -
38   - assert_includes contract.enterprises, enterprise1
39   - assert_includes contract.enterprises, enterprise2
40   - end
41   -
42   - should 'filter contracts by status' do
43   - bsc = BscPlugin::Bsc.new
44   - opened = BscPlugin::Contract::Status::OPENED
45   - negotiating = BscPlugin::Contract::Status::NEGOTIATING
46   - executing = BscPlugin::Contract::Status::EXECUTING
47   - closed = BscPlugin::Contract::Status::CLOSED
48   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :status => opened, :client_name => 'Marvin')
49   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :status => negotiating, :client_name => 'Marvin')
50   - contract3 = BscPlugin::Contract.create!(:bsc => bsc, :status => executing, :client_name => 'Marvin')
51   - contract4 = BscPlugin::Contract.create!(:bsc => bsc, :status => closed, :client_name => 'Marvin')
52   -
53   - opened_and_executing = BscPlugin::Contract.status([opened, executing])
54   - negotiating_and_closed = BscPlugin::Contract.status([negotiating, closed])
55   - all = BscPlugin::Contract.status([])
56   -
57   - assert_includes opened_and_executing, contract1
58   - assert_not_includes opened_and_executing, contract2
59   - assert_includes opened_and_executing, contract3
60   - assert_not_includes opened_and_executing, contract4
61   -
62   - assert_not_includes negotiating_and_closed, contract1
63   - assert_includes negotiating_and_closed, contract2
64   - assert_not_includes negotiating_and_closed, contract3
65   - assert_includes negotiating_and_closed, contract4
66   -
67   - assert_includes all, contract1
68   - assert_includes all, contract2
69   - assert_includes all, contract3
70   - assert_includes all, contract4
71   - end
72   -
73   - should 'sort contracts by date' do
74   - bsc = BscPlugin::Bsc.new
75   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 2.day.ago, :client_name => 'Marvin')
76   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 1.day.ago, :client_name => 'Marvin')
77   - contract3 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 3.day.ago, :client_name => 'Marvin')
78   -
79   - assert_equal [contract3, contract1, contract2], BscPlugin::Contract.sorted_by('created_at', 'asc')
80   - end
81   -
82   - should 'sort contracts by client name' do
83   - bsc = BscPlugin::Bsc.new
84   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvim')
85   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Adam')
86   - contract3 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Eva')
87   -
88   - assert_equal [contract2, contract3, contract1], BscPlugin::Contract.sorted_by('client_name', 'asc')
89   - end
90   -
91   - should 'return contract total price' do
92   - contract.save!
93   - price1 = 1
94   - quantity1 = 3
95   - price2 = 2
96   - quantity2 = 5
97   - total = price1*quantity1 + price2*quantity2
98   - product1 = fast_create(Product, :price => price1)
99   - product2 = fast_create(Product, :price => price2)
100   - sale1 = BscPlugin::Sale.create!(:product => product1, :contract => contract, :quantity => quantity1)
101   - sale2 = BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => quantity2)
102   -
103   - contract.reload
104   -
105   - assert_equal total, contract.total_price
106   - end
107   -end
plugins/bsc/test/unit/bsc_plugin/sale_test.rb
... ... @@ -1,86 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class BscPlugin::SaleTest < ActiveSupport::TestCase
4   - def setup
5   - @sale = BscPlugin::Sale.new
6   - end
7   -
8   - attr_accessor :sale
9   -
10   - should 'validate presence of product and contract' do
11   - sale.valid?
12   -
13   - assert sale.errors.invalid?(:product)
14   - assert sale.errors.invalid?(:contract)
15   -
16   - product = Product.new
17   - contract = BscPlugin::Contract.new
18   - sale.product = product
19   - sale.contract = contract
20   -
21   - refute sale.errors.invalid?(product)
22   - refute sale.errors.invalid?(contract)
23   - end
24   -
25   - should 'validate uniqueness of product and contract composed' do
26   - product = fast_create(Product)
27   - contract = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
28   - sale1 = BscPlugin::Sale.create!(:product => product, :contract => contract, :quantity => 1)
29   - sale2 = BscPlugin::Sale.new(:product => product, :contract => contract, :quantity => 1)
30   - sale2.valid?
31   -
32   - assert sale2.errors.invalid?(:product_id)
33   - end
34   -
35   - should 'validate quantity as a positive integer' do
36   - sale.quantity = -1
37   - sale.valid?
38   - assert sale.errors.invalid?(:quantity)
39   -
40   - sale.quantity = 1.5
41   - sale.valid?
42   - assert sale.errors.invalid?(:quantity)
43   -
44   - sale.quantity = 3
45   - sale.valid?
46   - refute sale.errors.invalid?(:quantity)
47   - end
48   -
49   - should 'set default price as product price if no price indicated' do
50   - product = fast_create(Product, :price => 3.50)
51   - contract = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
52   - sale.product = product
53   - sale.contract = contract
54   - sale.quantity = 1
55   - sale.save!
56   -
57   - assert_equal product.price, sale.price
58   - end
59   -
60   - should 'not overwrite with the product price if price informed' do
61   - product = fast_create(Product, :price => 3.50)
62   - contract = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
63   - sale.product = product
64   - sale.contract = contract
65   - sale.quantity = 1
66   - sale.price = 2.50
67   - sale.save!
68   -
69   - assert_equal 2.50, sale.price
70   - end
71   -
72   - should 'have default value for price' do
73   - product1 = fast_create(Product, :price => 1)
74   - product2 = fast_create(Product, :price => 1)
75   - product3 = fast_create(Product)
76   - contract = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
77   - sale1 = BscPlugin::Sale.create!(:price => 2, :product => product1, :contract => contract, :quantity => 1)
78   - sale2 = BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => 1)
79   - sale3 = BscPlugin::Sale.create!(:product => product3, :contract => contract, :quantity => 1)
80   -
81   - assert_equal 2, sale1.price
82   - assert_equal 1, sale2.price
83   - assert_equal 0, sale3.price
84   - end
85   -end
86   -
plugins/bsc/test/unit/bsc_plugin_test.rb
... ... @@ -1,34 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../test/test_helper'
2   -
3   -class BscPluginTest < ActiveSupport::TestCase
4   -
5   - VALID_CNPJ = '94.132.024/0001-48'
6   -
7   - should 'add profile controller filter correctly' do
8   - bsc_plugin = BscPlugin.new
9   - person = fast_create(Person)
10   - context = mock()
11   - context.stubs(:profile).returns(person)
12   - context.stubs(:params).returns({:profile => person.identifier})
13   - context.stubs(:user).returns(person)
14   - context.stubs(:environment).returns(person.environment)
15   - bsc_plugin.stubs(:context).returns(context)
16   -
17   - assert_nil bsc_plugin.profile_controller_filters.first[:block].call
18   - assert_nil bsc_plugin.content_viewer_controller_filters.first[:block].call
19   -
20   - enterprise = fast_create(Enterprise, :validated => false)
21   - enterprise.bsc = BscPlugin::Bsc.create!({:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ})
22   - enterprise.save!
23   - context.stubs(:profile).returns(enterprise)
24   - context.stubs(:params).returns({:profile => enterprise.identifier})
25   - context.stubs(:environment).returns(enterprise.environment)
26   -
27   - assert_raise NameError do
28   - bsc_plugin.profile_controller_filters.first[:block].call
29   - end
30   - assert_raise NameError do
31   - bsc_plugin.content_viewer_controller_filters.first[:block].call
32   - end
33   - end
34   -end
plugins/bsc/test/unit/ext/enterprise_test.rb
... ... @@ -1,38 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class EnterpriseTest < ActiveSupport::TestCase
4   - VALID_CNPJ = '94.132.024/0001-48'
5   -
6   - def setup
7   - @bsc = BscPlugin::Bsc.create!({:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ})
8   - end
9   -
10   - attr_accessor :bsc
11   -
12   - should 'belongs to a bsc' do
13   - enterprise = fast_create(Enterprise, :bsc_id => bsc.id)
14   - assert_equal bsc, enterprise.bsc
15   - end
16   -
17   - should 'return correct enterprises on validated and not validated namedscopes' do
18   - validated_enterprise = fast_create(Enterprise, :validated => true)
19   - not_validated_enterprise = fast_create(Enterprise, :validated => false)
20   -
21   - assert_includes Enterprise.validated, validated_enterprise
22   - assert_not_includes Enterprise.validated, not_validated_enterprise
23   - assert_not_includes Enterprise.not_validated, validated_enterprise
24   - assert_includes Enterprise.not_validated, not_validated_enterprise
25   - end
26   -
27   - should 'be involved with many contracts' do
28   - enterprise = fast_create(Enterprise)
29   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
30   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
31   - enterprise.contracts << contract1
32   - enterprise.contracts << contract2
33   -
34   - assert_includes enterprise.contracts, contract1
35   - assert_includes enterprise.contracts, contract2
36   - end
37   -end
38   -
plugins/bsc/test/unit/ext/product_test.rb
... ... @@ -1,24 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class ProductTest < ActiveSupport::TestCase
4   - VALID_CNPJ = '94.132.024/0001-48'
5   -
6   - should 'return have bsc' do
7   - bsc = BscPlugin::Bsc.create!({:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ})
8   - enterprise = fast_create(Enterprise, :bsc_id => bsc.id)
9   - product = fast_create(Product, :profile_id => enterprise.id)
10   -
11   - assert_equal bsc, product.bsc
12   - end
13   -
14   - should 'have contracts through sales' do
15   - product = fast_create(Product)
16   - contract1 = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
17   - contract2 = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
18   - sale1 = BscPlugin::Sale.create!(:product => product, :contract => contract1, :quantity => 3)
19   - sale2 = BscPlugin::Sale.create!(:product => product, :contract => contract2, :quantity => 5)
20   -
21   - assert_includes product.contracts, contract1
22   - assert_includes product.contracts, contract2
23   - end
24   -end
plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb
... ... @@ -1 +0,0 @@
1   -<%= _('The management of %{bsc} was transferred to you.') % {:bsc => @bsc.name}%>
plugins/bsc/views/bsc_plugin_admin/new.html.erb
... ... @@ -1,11 +0,0 @@
1   -<%= error_messages_for :bsc %>
2   -<h1><%= _('BSC registration') %></h1>
3   -
4   -<%= labelled_form_for :profile_data, @bsc do |f| %>
5   - <%= render :partial => 'shared/fields', :locals => {:f => f, :profile => @bsc} %>
6   -
7   - <% button_bar do %>
8   - <%= submit_button('save', c_('Save')) %>
9   - <%= button('cancel', c_('Cancel'), {:controller => 'admin_panel'}) %>
10   - <% end %>
11   -<% end %>
plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb
... ... @@ -1,12 +0,0 @@
1   -<h1><%= _('Validate enterprises') %></h1>
2   -
3   -<% form_tag :action => 'save_validations' do %>
4   - <%= token_input_field_tag(:q, 'search-enterprises', {:action => 'search_enterprise'},
5   - { :hint_text => _('Type in a search term for enterprise'),
6   - :focus => true }) %>
7   -
8   - <% button_bar do %>
9   - <%= submit_button('save', c_('Save'))%>
10   - <%= button('cancel', c_('Cancel'), {:controller => 'admin_panel'})%>
11   - <% end %>
12   -<% end %>
plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb
... ... @@ -1,83 +0,0 @@
1   -<%= error_messages_for :contract %>
2   -
3   -<%= labelled_form_for :contract, :html => {:id => 'bsc-plugin-sales-form'} do |f| %>
4   - <%= hidden_field_tag :contract_id, @contract.id %>
5   - <%= required f.text_field(:client_name) %>
6   - <%= labelled_form_field(_('Client type'), f.select(:client_type, BscPlugin::Contract::ClientType.types.map{|type| [BscPlugin::Contract::ClientType.names[type], type]}))%>
7   - <%= labelled_form_field(_('Business type'), f.select(:business_type, BscPlugin::Contract::BusinessType.types.map{|type| [BscPlugin::Contract::BusinessType.names[type], type]}))%>
8   - <%= f.text_field(:state) %>
9   - <%= f.text_field(:city) %>
10   - <%= labelled_form_field(_('Status'), f.select(:status, BscPlugin::Contract::Status.types.
11   - map { |s| [BscPlugin::Contract::Status.names[s], s] })) %>
12   - <%= f.text_field(:number_of_producers, :size => 8, :id => 'bsc-plugin-contract-spinner') %>
13   - <%= c_('Enterprises')+':' %>
14   -
15   - <% search_action = {:action => 'search_contract_enterprises', :profile => profile.identifier} %>
16   - <%= token_input_field_tag(:enterprises, 'involved-enterprises', search_action,
17   - { :pre_populate => @contract.enterprises_to_token_input,
18   - :hint_text => _('Type in search term for enterprise') }) %>
19   -
20   - <table id="bsc-plugin-sales-table" class="alternate-colors">
21   - <tr>
22   - <th class="bsc-plugin-sales-products-column"><%= c_('Products') %></th>
23   - <th class="bsc-plugin-sales-quantity-column" ><%= _('Quantity') %></th>
24   - <th class="bsc-plugin-sales-price-column" ><%= _('Unit price') %></th>
25   - </tr>
26   - <tr id='bsc-plugin-contract-total-row'>
27   - <td id="bsc-plugin-contract-total-string" colspan="2" ><strong><%= _('Total')%></strong></td>
28   - <td id="bsc-plugin-contract-total"><strong id='bsc-plugin-sales-total-value'><%= float_to_currency(@contract.total_price)%></strong></td>
29   - </tr>
30   - <tr>
31   - <td colspan="3" class="bsc-plugin-sales-add-new-row"><%= link_to(_('Add new product'), {}, :id => 'bsc-plugin-add-new-product', 'data-bsc' => profile.identifier) %></td>
32   - </tr>
33   - </table>
34   -
35   - <%= labelled_form_field( _('Supply period'),
36   - text_field_tag('contract[supply_start]', (@contract.supply_start ? @contract.supply_start.strftime("%Y-%m-%d") : nil), :id => 'from', :size => 9) +
37   - c_(' to ') +
38   - text_field_tag('contract[supply_end]', (@contract.supply_end ? @contract.supply_end.strftime("%Y-%m-%d") : nil), :id => 'to', :size => 9) )
39   - %>
40   -
41   - <%= f.text_area(:annotations, :rows => 5, :cols => 68) %>
42   - <% button_bar do%>
43   - <%= submit_button(:save, c_('Save'), :cancel => {:action => 'manage_contracts'})%>
44   - <% end %>
45   -<% end %>
46   -
47   -<% scripts = %w{/plugins/bsc/jquery.ui.spinner/ui.spinner.js
48   - /plugins/bsc/contracts /plugins/bsc/datepicker
49   - /plugins/bsc/spinner} %>
50   -<% scripts.each do |script|%>
51   - <%= javascript_include_tag script %>
52   -<% end %>
53   -
54   -<script>
55   - BSCContracts.tokenInputOptions = {
56   - minChars: 3,
57   - hintText: <%= _('Type in a search term for product').to_json %>,
58   - noResultsText: <%= c_("No results").to_json %>,
59   - searchingText: <%= c_("Searching...").to_json %>,
60   - searchDelay: 1000,
61   - preventDuplicates: true,
62   - backspaceDeleteItem: false,
63   - tokenLimit: 1,
64   - onDelete: BSCContracts.onDelete,
65   - onAdd: BSCContracts.onAdd
66   - };
67   - BSCContracts.searchUrl = <%= url_for(
68   - :action => 'search_sale_product',
69   - :profile => profile.identifier,
70   - :enterprises => 'ENTERPRISES',
71   - :sale_id => 'SALE_ID',
72   - :added_products => 'ADDED_PRODUCTS',
73   - :escape => true).to_json %>.replace(/amp;/g,"");
74   - BSCContracts.currencyUnit = <%= profile.environment.currency_unit.to_json %>;
75   - BSCContracts.prePopulate( <%= @contract.sales.map{|sale| {
76   - :id => sale.product_id,
77   - :name => short_text(product_display_name(sale.product), 60),
78   - :product_price => sale.price || sale.product.price || 0,
79   - :quantity => sale.quantity}}.to_json
80   - %>);
81   -</script>
82   -
83   -<%= javascript_include_tag '/plugins/bsc/validation' %>
plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb
... ... @@ -1,48 +0,0 @@
1   -<div id="similar-enterprises" style="display: none; border-bottom: 2px solid #babdb6;">
2   - <p><b><%= _('Existing enterprises:') %></b></p>
3   - <p><i style="text-align: center;"><%= _('Were found %{count} enterprises with similar names on the same city, you can decide to associate one of them or create the new enterprise confirming the informations you typed in.') % {:count => content_tag('span', '', :id => 'similar-enterprises-count')} %></i></p>
4   - <ul id="create-enterprise-similar-enterprises"></ul>
5   - <% query = bsc.enterprises.map(&:id).join(',') %>
6   - <script type="text/javascript">
7   - update_enterprises = function(enterprises){
8   - var association_url = <%= url_for({:controller => 'bsc_plugin_myprofile', :action => 'save_associations', :profile => bsc.identifier}).to_json %>;
9   - jQuery('#create-enterprise-similar-enterprises').empty();
10   - jQuery.each(enterprises, function(index, enterprise){
11   - var id = enterprise[0]
12   - var name = enterprise[1]
13   - var query = <%= query.to_json %>;
14   - if(query)
15   - query += ',';
16   - query += id.toString();
17   - query = '?q='+query;
18   - var url = association_url + query;
19   - jQuery('#create-enterprise-similar-enterprises').append(
20   - '<li>' + name + ' - <a href="' + url +'">' + <%= _('Associate').to_json %> + '</a></li>'
21   - );
22   - });
23   - if (jQuery(enterprises).length > 0){
24   - jQuery('#similar-enterprises-count').text(jQuery(enterprises).length.toString());
25   - jQuery('#similar-enterprises').fadeIn();
26   - }
27   - else
28   - jQuery('#similar-enterprises').fadeOut();
29   - }
30   - jQuery('#create_enterprise_name,#create_enterprise_city').change(function() {
31   - var parameters = {};
32   - if(jQuery('#create_enterprise_name').length)
33   - parameters.name = jQuery('#create_enterprise_name').val();
34   - if(jQuery('#create_enterprise_city').length)
35   - parameters.city = jQuery('#create_enterprise_city').val();
36   -
37   - jQuery.ajax({
38   - url: <%= url_for({:controller => 'bsc_plugin_myprofile', :action => 'similar_enterprises', :profile => bsc.identifier}).to_json %>,
39   - dataType: 'json',
40   - data: parameters,
41   - success: function(data){ update_enterprises(data); },
42   - error: function(ajax, stat, errorThrown) {
43   - alert(stat+': '+errorThrown);
44   - }
45   - });
46   - });
47   - </script>
48   -</div>
plugins/bsc/views/bsc_plugin_myprofile/create_enterprise.html.erb
... ... @@ -1,21 +0,0 @@
1   -<%= error_messages_for 'create_enterprise' %>
2   -
3   -<h1><%= __('Enterprise registration') %></h1>
4   -
5   -<%= required_fields_message %>
6   -
7   -<%= labelled_form_for(:create_enterprise) do |f| %>
8   -
9   - <%= required f.text_field 'name', :onchange => "updateUrlField(this, 'create_enterprise_identifier')", :size => 40 %>
10   - <%= render :partial => 'shared/organization_custom_fields', :locals => { :f => f, :object_name => :create_enterprise, :profile => @create_enterprise } %>
11   - <p style="border-bottom: 2px solid #babdb6"></p>
12   - <%= required labelled_form_field(c_('Address'), content_tag('code', environment.top_url + "/" + text_field(:create_enterprise, 'identifier', :size => 26))) %>
13   - <p style="border-bottom: 2px solid #babdb6"></p>
14   - <%= render :partial => 'similar_enterprises', :locals => {:bsc => profile}%>
15   -
16   - <% button_bar do %>
17   - <%= submit_button('save', c_('Save'), :cancel => {:controller => 'profile_editor', :profile => profile.identifier}) %>
18   - <% end %>
19   -<% end %>
20   -
21   -