Commit 211d20875cd7a27da8300093c5349bf190d19835
Committed by
Thiago Ribeiro
1 parent
1f314a9b
Exists in
master
and in
5 other branches
Adding popover structure to block
Showing
1 changed file
with
12 additions
and
1 deletions
Show diff stats
views/blocks/software_highlights.html.erb
1 | 1 | <%= render :file => 'blocks/highlights.html.erb', :locals => { :block => block } %> |
2 | 2 | |
3 | -<%= link_to _('See all'), {:controller => :search, :action => :software_infos, :only_softwares => softwares} %> | |
3 | +<!-- popover html structure --> | |
4 | +<!-- <a> link to fire popover --> | |
5 | +<a class="toggle-popover">mais informaçõs</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 | + <p>Este software foi desenvolvido com recursos públicos, gerenciado por uma instituição | |
12 | + governamental. Sua inclusão neste portal atende aos requisitos do <span>art. 14 da IN 01/2011</span>.</p> | |
13 | + <%= link_to _('See all'), {:controller => :search, :action => :software_infos, :only_softwares => softwares} %> | |
14 | +</div> | ... | ... |