Commit e6e03e0f8c0d8351139af36fbcb28a094711cef6

Authored by Gabriela Navarro
Committed by Álvaro Fernando Matos de Souza
1 parent 9a90ceb9

Fix catalog classes

Signed-off-bu: Alexandre Torres <alexandrekry@gmail.com>
Signed-off-bu: Brenddon Gontijo <brenddongontijo@msn.com>
Signed-off-bu: Gabriela Navarro <navarro1703@gmail.com>
views/search/_catalog_filter.html.erb
1   -<div id="main-content-wrapper-8"> <!-- id do Noosfero -->
2   -
3   - <div id="filter-catalog-software">
4   -
5   - <div id="filter-option-catalog-software"><%= _("More options") %></div>
6   - <!--Quando tiver filtros(categorias)selecionados mostrar esta opção: Opções selecionadas-->
7   -
8   - <div id="filter-categories-select-catalog"><%= @message_selected_options %></div>
9   -
10   - <div id="filter-categories-option">
11   -
12   - <div id="filter-categories-catalog"><h4> <%= _("Categories") %> </h4></div>
13   - <div id="group-categories">
14   - <div id="gruop-catalog-01">
15   - <% @categories_groupe_one.each do |category| %>
16   - <label>
17   - <%= check_box_tag("selected_categories_id[]", category.id, @selected_categories_id.include?(category.id), :class => "categories-catalog", @enabled_check_box[category] => "true") %>
18   - <span><%= _("#{category.name}") %></span>
19   - </label> <br>
20   - <% end %>
21   - </div>
22   - <div id="group-catalog-02">
23   - <% @categories_groupe_two.each do |category| %>
24   - <label>
25   - <%= check_box_tag("selected_categories_id[]", category.id, @selected_categories_id.include?(category.id), :class => "categories-catalog", @enabled_check_box[category] => "true") %>
26   - <%= _("#{category.name}") %>
27   - </label> <br>
28   - <% end %>
29   - <br />
30   - </div>
31   - </div>
  1 +<div id="filter-catalog-software">
32 2  
33   - <div class="project-software"> <%= _("Software Projects:") %>
34   - <label>
35   - <%= check_box_tag("include_non_public", true, @include_non_public) %>
36   - <%= _("Include in results") %>
37   - </label>
38   - <span class"doubts-catalog-software" title="<%= _('Include software development projects that are not yet officially Brazilian Public Software.') %>">(?)</span>
39   - </div>
  3 + <div id="filter-option-catalog-software"><%= _("More options") %></div>
  4 + <!--Quando tiver filtros(categorias)selecionados mostrar esta opção: Opções selecionadas-->
  5 +
  6 + <div id="filter-categories-select-catalog"><%= @message_selected_options %></div>
40 7  
41   - <br />
  8 + <div id="filter-categories-option">
42 9  
43   - <%= button_tag _("Clean up"), :id => "cleanup-filter-catalg", :type => "button" %>
44   - <%= button_tag _("Close"), :id => "close-filter-catalog", :type => "button" %>
  10 + <div id="filter-categories-catalog"><h4> <%= _("Categories") %> </h4></div>
  11 + <div id="group-categories">
  12 + <div id="group-catalog-01">
  13 + <% @categories_groupe_one.each do |category| %>
  14 + <label>
  15 + <%= check_box_tag("selected_categories_id[]", category.id, @selected_categories_id.include?(category.id), :class => "categories-catalog", @enabled_check_box[category] => "true") %>
  16 + <span><%= _("#{category.name}") %></span>
  17 + </label> <br>
  18 + <% end %>
  19 + </div>
  20 + <div id="group-catalog-02">
  21 + <% @categories_groupe_two.each do |category| %>
  22 + <label>
  23 + <%= check_box_tag("selected_categories_id[]", category.id, @selected_categories_id.include?(category.id), :class => "categories-catalog", @enabled_check_box[category] => "true") %>
  24 + <%= _("#{category.name}") %>
  25 + </label> <br>
  26 + <% end %>
  27 + </div>
  28 + </div>
  29 +
  30 + <div class="project-software"> <%= _("Software Projects:") %>
  31 + <label>
  32 + <%= check_box_tag("include_non_public", true, @include_non_public) %>
  33 + <%= _("Include in results") %>
  34 + </label>
  35 + <span class"doubts-catalog-software" title="<%= _('Include software development projects that are not yet officially Brazilian Public Software.') %>">?</span>
45 36 </div>
46 37  
47   -</div>
  38 + <br />
  39 +
  40 + <%= button_tag _("Clean up"), :id => "cleanup-filter-catalg", :type => "button" %>
  41 + <%= button_tag _("Close"), :id => "close-filter-catalog", :type => "button" %>
  42 + </div>
  43 +
... ...
views/search/_full_community.html.erb
1 1 <% software = community.software_info %>
2 2 <li class="search-profile-item">
3   - <div class="search-enterprise-item">
4   - <div class="search-enterprise-item-column-left">
  3 + <div class="search-software-item">
  4 + <div class="search-software-item-column-left">
5 5 <%= profile_image_link community, :portrait, 'div', community.send(@order + '_label') + show_date(community.created_at) %>
6 6 </div>
7 7  
8   - <div class="search-enterprise-item-column-right">
  8 + <div class="search-software-item-column-right">
9 9  
10   - <div class="search-community-content-block">
  10 + <div class="search-software-content-block">
11 11 <span>
12 12 <% link_name = software.acronym.blank? ? community.name : "#{software.acronym} - #{community.name}" %>
13 13 <h4>
... ... @@ -22,7 +22,7 @@
22 22  
23 23 <br />
24 24  
25   - <div class="search-community-content-block">
  25 + <div class="search-software-content-block">
26 26 <span>
27 27 <b>
28 28 <%= _("Software Categories") %>:
... ...