Skip to content

Commit

Permalink
Added warning about providers state
Browse files Browse the repository at this point in the history
  • Loading branch information
romanblanco committed May 30, 2018
1 parent 410cc8d commit 9a63cd1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/shared/views/ems_common/_show.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#main_div
- if @record.kind_of?(ExtManagementSystem) && [email protected](:enabled)
.alert.alert-warning
%span.pficon-layered
%span.pficon.pficon-warning-triangle-o
%strong
= _("Warning: This provider is paused, no data is currently collected from it.")
- arr = (controller_name.camelize + "Controller").constantize.display_methods
- if arr.include?(@display) && @showtype != "compare"
= render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@ems.id}"}
Expand Down

0 comments on commit 9a63cd1

Please sign in to comment.