Commit 40b4aab6092d828be4b74c770d1a21eee51b6d39
Committed by
Diego Camarinha
1 parent
2520e29b
Exists in
colab
and in
4 other branches
Fixed popover for mezuro range description
signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Showing
6 changed files
with
14 additions
and
11 deletions
Show diff stats
1.23 KB
app/assets/javascripts/application.js
app/assets/stylesheets/bootstrap_and_overrides.css
app/views/metric_configurations/_ranges.html.erb
1 | 1 | <tr> |
2 | - <td style="color: #<%= mezuro_range.color %>"> | |
2 | + <td> | |
3 | 3 | <div> |
4 | - <a type="button" id="comments" rel="popover" data-placement="left" data-original-title="Comments" data-content="<%= mezuro_range.comments %>"> | |
5 | - Popover on left | |
6 | - </a> | |
4 | + <a class="popover_element" rel="popover" data-placement="left" data-original-title="Comments" data-content="<%= mezuro_range.comments %>"><%= image_tag "magnifying_glass.png" %></a> | |
5 | + <span style="color: #<%= mezuro_range.color %>"><%= mezuro_range.label %></span> | |
7 | 6 | </div> |
8 | 7 | </td> |
9 | 8 | <td><%= mezuro_range.beginning %></td> |
... | ... | @@ -17,4 +16,4 @@ |
17 | 16 | class: 'btn btn-danger' %> |
18 | 17 | <% end %> |
19 | 18 | </td> |
20 | -</tr> | |
21 | 19 | \ No newline at end of file |
20 | +</tr> | ... | ... |
app/views/metric_configurations/show.html.erb