Skip to content

Commit

Permalink
Link provider-specific documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
romanblanco committed Apr 8, 2019
1 parent de58406 commit 0b6d7ad
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion app/views/ems_cloud/show_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
= render :partial => "layouts/gtl"
- else
= render :partial => 'layouts/empty',
:locals => {:add_message => _("Add a new Cloud Provider")}
:locals => {:add_message => _("Add a new Cloud Provider"),
:documentation => 'http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#cloud_providers'}
3 changes: 2 additions & 1 deletion app/views/ems_container/show_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
= render :partial => 'layouts/gtl'
- else
= render :partial => 'layouts/empty',
:locals => {:add_message => _("Add a new Containers Provider")}
:locals => {:add_message => _("Add a new Containers Provider"),
:documentation => 'http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#containers-providers'}
3 changes: 2 additions & 1 deletion app/views/ems_infra/show_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
= render :partial => 'layouts/gtl'
- else
= render :partial => 'layouts/empty',
:locals => {:add_message => _("Add a new Infrastructure Provider")}
:locals => {:add_message => _("Add a new Infrastructure Provider"),
:documentation => 'http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#infrastructure_providers'}
3 changes: 2 additions & 1 deletion app/views/ems_network/show_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
= render :partial => "layouts/gtl"
- else
= render :partial => 'layouts/empty',
:locals => {:add_message => _("Add a new Network Provider")}
:locals => {:add_message => _("Add a new Network Provider"),
:documentation => 'http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#network_providers'}
3 changes: 2 additions & 1 deletion app/views/ems_physical_infra/show_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
= render :partial => 'layouts/gtl'
- else
= render :partial => 'layouts/empty',
:locals => {:add_message => _("Add a new Physical Infrastructure Provider")}
:locals => {:add_message => _("Add a new Physical Infrastructure Provider"),
:documentation => 'http://manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/#infrastructure_providers'}
2 changes: 1 addition & 1 deletion app/views/layouts/_empty.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
= _("You don't have any providers to display. Please add a Provider.")
%p
= _("Learn more about this")
%a{:href => 'https://manageiq.org/docs/get-started/add-a-provider',
%a{:href => documentation,
:target => '_blank'}
= _("in the documentation.")
.blank-slate-pf-main-action
Expand Down

0 comments on commit 0b6d7ad

Please sign in to comment.