Commit e972fcef1cca7d0bcc8815845e4184aedd094fdf
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'rails3_AI3033-serpro_integration' into stable
Showing
6 changed files
with
16 additions
and
16 deletions
Show diff stats
plugins/serpro_integration/lib/serpro_integration_plugin.rb
plugins/serpro_integration/lib/serpro_integration_plugin/sonar_widget_block.rb
plugins/serpro_integration/views/profile_design/sonar_plugin/_sonar_widget_block.html.erb
0 → 100644
plugins/serpro_integration/views/profile_design/sonar_plugin/_sonar_widget_block.rhtml
plugins/serpro_integration/views/sonar_widget_block.html.erb
0 → 100644
... | ... | @@ -0,0 +1,10 @@ |
1 | +<div class='widget'> | |
2 | + <% if block.is_widget_well_formed_url? %> | |
3 | + <iframe width='<%=block.widget_width%>' height='<%=block.widget_height%>' src='<%=block.widget_url%>' frameborder="0" allowfullscreen></iframe> | |
4 | + <% else %> | |
5 | + <div class='wrong'> | |
6 | + <iframe width='<%=block.widget_width%>' height='<%=block.widget_height%>' src='<%=block.widget_url%>' frameborder="0" allowfullscreen></iframe> | |
7 | + <%= _('Something wrong happened. Please see your sonar configuration.') %> | |
8 | + </div> | |
9 | + <% end %> | |
10 | +</div> | ... | ... |
plugins/serpro_integration/views/sonar_widget_block.rhtml
... | ... | @@ -1,10 +0,0 @@ |
1 | -<div class='widget'> | |
2 | - <% if block.is_widget_well_formed_url? %> | |
3 | - <iframe width='<%=block.widget_width%>' height='<%=block.widget_height%>' src='<%=block.widget_url%>' frameborder="0" allowfullscreen></iframe> | |
4 | - <% else %> | |
5 | - <div class='wrong'> | |
6 | - <iframe width='<%=block.widget_width%>' height='<%=block.widget_height%>' src='<%=block.widget_url%>' frameborder="0" allowfullscreen></iframe> | |
7 | - <%= _('Something wrong happened. Please see your sonar configuration.') %> | |
8 | - </div> | |
9 | - <% end %> | |
10 | -</div> |