Commit b3d0d4e3d6208dc0d368698b4591c26e7f6e31c2

Authored by Luciano Prestes
1 parent 395cdead

Fix software_highlights.html.erb view path

src/noosfero-spb/software_communities/views/blocks/software_communities_plugin/software_highlights.html.erb 0 → 100644
... ... @@ -0,0 +1,20 @@
  1 +<%= render :file => 'blocks/highlights.html.erb', :locals => { :block => block } %>
  2 +
  3 +<!-- popover html structure -->
  4 +<!-- <a> link to fire popover -->
  5 +<a class="toggle-popover">mais informações</a>
  6 +<!-- <span> to handle popover options -->
  7 +<span class="popover-span" data-toggle="popover" data-placement="top" data-class="highlights-popover">?</span>
  8 +<!-- <div> with html content of popover
  9 + MUST APPEAR AFTER THE SPAN -->
  10 +<div class="popover-content" style="display: none">
  11 + <div class="inner-content">
  12 + <p>Este software foi desenvolvido com recursos públicos, gerenciado por uma instituição
  13 + governamental. Sua inclusão neste portal atende aos requisitos do
  14 + <a href="https://softwarepublico.gov.br/social/articles/0000/3365/in_spb_01.pdf">art. 14 da IN 01/2011</a>.
  15 + </p>
  16 + </div>
  17 + <div class="see-all">
  18 + <%= link_to _('See all'), {:controller => :search, :action => :software_infos, :only_softwares => softwares} %>
  19 + </div>
  20 +</div>
... ...
src/noosfero-spb/software_communities/views/blocks/software_highlights.html.erb
... ... @@ -1,20 +0,0 @@
1   -<%= render :file => 'blocks/highlights.html.erb', :locals => { :block => block } %>
2   -
3   -<!-- popover html structure -->
4   -<!-- <a> link to fire popover -->
5   -<a class="toggle-popover">mais informações</a>
6   -<!-- <span> to handle popover options -->
7   -<span class="popover-span" data-toggle="popover" data-placement="top" data-class="highlights-popover">?</span>
8   -<!-- <div> with html content of popover
9   - MUST APPEAR AFTER THE SPAN -->
10   -<div class="popover-content" style="display: none">
11   - <div class="inner-content">
12   - <p>Este software foi desenvolvido com recursos públicos, gerenciado por uma instituição
13   - governamental. Sua inclusão neste portal atende aos requisitos do
14   - <a href="https://softwarepublico.gov.br/social/articles/0000/3365/in_spb_01.pdf">art. 14 da IN 01/2011</a>.
15   - </p>
16   - </div>
17   - <div class="see-all">
18   - <%= link_to _('See all'), {:controller => :search, :action => :software_infos, :only_softwares => softwares} %>
19   - </div>
20   -</div>