diff --git a/lib/pact_broker/ui/controllers/groups.rb b/lib/pact_broker/ui/controllers/groups.rb index e3ee404e4..6675d231f 100644 --- a/lib/pact_broker/ui/controllers/groups.rb +++ b/lib/pact_broker/ui/controllers/groups.rb @@ -12,7 +12,7 @@ class Groups < Base get ":name" do erb :'groups/show.html', { - locals: locals(tab: "properties") + locals: locals(tab: "details") }, { layout: "layouts/main", } @@ -34,7 +34,7 @@ def locals(overrides) repository_url: pacticipant&.repository_url, base_url: base_url, pacticipant: pacticipant, - properties_url: "#{base_url}/pacticipants/#{ERB::Util.url_encode(params[:name])}", + details_url: "#{base_url}/pacticipants/#{ERB::Util.url_encode(params[:name])}", network_url: "#{base_url}/pacticipants/#{ERB::Util.url_encode(params[:name])}/network" }.merge(overrides) end diff --git a/lib/pact_broker/ui/view_models/matrix_branch.rb b/lib/pact_broker/ui/view_models/matrix_branch.rb index 581622551..7e234f410 100644 --- a/lib/pact_broker/ui/view_models/matrix_branch.rb +++ b/lib/pact_broker/ui/view_models/matrix_branch.rb @@ -22,7 +22,7 @@ def tooltip if branch_version.latest? "This is the latest version of #{pacticipant_name} from branch \"#{branch_version.branch_name}\"." else - "A more recent version of #{pacticipant_name} from branch \"#{branch_version.branch_name}\" exists." + "This version of #{pacticipant_name} is from branch \"#{branch_version.branch_name}\". A more recent version from this branch exists." end end diff --git a/lib/pact_broker/ui/view_models/matrix_tag.rb b/lib/pact_broker/ui/view_models/matrix_tag.rb index 8eae99a28..58be4c583 100644 --- a/lib/pact_broker/ui/view_models/matrix_tag.rb +++ b/lib/pact_broker/ui/view_models/matrix_tag.rb @@ -6,7 +6,6 @@ module PactBroker module UI module ViewDomain class MatrixTag - include PactBroker::Api::PactBrokerUrls attr_reader :name, :pacticipant_name, :version_number diff --git a/lib/pact_broker/ui/views/groups/show.html.erb b/lib/pact_broker/ui/views/groups/show.html.erb index 27860a0bd..fba3c9179 100644 --- a/lib/pact_broker/ui/views/groups/show.html.erb +++ b/lib/pact_broker/ui/views/groups/show.html.erb @@ -55,14 +55,14 @@ svg{
-<% if tab == "properties" %> +<% if tab == "details" %>