Skip to content

Commit

Permalink
fix: correct tbody in show-with-tags index page
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Apr 14, 2019
1 parent c812987 commit 325a98e
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions lib/pact_broker/ui/views/index/show-with-tags.haml
Original file line number Diff line number Diff line change
Expand Up @@ -33,49 +33,49 @@
%th
%tbody

- index_items.each do | index_item |
%tr
%td.consumer
%a{:href => index_item.consumer_group_url }
= escape_html(index_item.consumer_name)
%td.consumer-version-number
%div
= escape_html(index_item.consumer_version_number)
- if index_item.latest?
.tag.label.label-success
latest
- index_item.consumer_version_latest_tag_names.each do | tag_name |
.tag.label.label-primary
= escape_html(tag_name)
%td.pact
%span.pact
%a{ href: index_item.pact_url, title: "View pact" }
%span.pact-matrix
%a{ href: index_item.pact_matrix_url, title: "View pact matrix" }
%td.provider
%a{ href: index_item.provider_group_url }
= escape_html(index_item.provider_name)
%td.provider-version-number
%div
= escape_html(index_item.provider_version_number)
- index_item.provider_version_latest_tag_names.each do | tag_name |
.tag.label.label-primary
= escape_html(tag_name)
%td
= index_item.publication_date_of_latest_pact.gsub("about ", "")
%td{ class: index_item.webhook_status }
- if index_item.show_webhook_status?
%a{ href: index_item.webhook_url }
= index_item.webhook_label
- index_items.each do | index_item |
%tr
%td.consumer
%a{:href => index_item.consumer_group_url }
= escape_html(index_item.consumer_name)
%td.consumer-version-number
%div
= escape_html(index_item.consumer_version_number)
- if index_item.latest?
.tag.label.label-success
latest
- index_item.consumer_version_latest_tag_names.each do | tag_name |
.tag.label.label-primary
= escape_html(tag_name)
%td.pact
%span.pact
%a{ href: index_item.pact_url, title: "View pact" }
%span.pact-matrix
%a{ href: index_item.pact_matrix_url, title: "View pact matrix" }
%td.provider
%a{ href: index_item.provider_group_url }
= escape_html(index_item.provider_name)
%td.provider-version-number
%div
= escape_html(index_item.provider_version_number)
- index_item.provider_version_latest_tag_names.each do | tag_name |
.tag.label.label-primary
= escape_html(tag_name)
%td
= index_item.publication_date_of_latest_pact.gsub("about ", "")
%td{ class: index_item.webhook_status }
- if index_item.show_webhook_status?
%a{ href: index_item.webhook_url }
= index_item.webhook_label

%td{ class: index_item.verification_status, title: index_item.verification_tooltip, "data-toggle": "tooltip", "data-placement": "left" }
%div
= index_item.last_verified_date.gsub("about ", "")
- if index_item.warning?
%span.glyphicon.glyphicon-warning-sign{ 'aria-hidden': true }
%td
- if index_item.show_settings?
%span.integration-settings.glyphicon.glyphicon-cog{ 'aria-hidden': true, 'data-pact-versions-url': index_item.pact_versions_url, 'data-consumer-name': index_item.consumer_name, 'data-provider-name': index_item.provider_name}
%td{ class: index_item.verification_status, title: index_item.verification_tooltip, "data-toggle": "tooltip", "data-placement": "left" }
%div
= index_item.last_verified_date.gsub("about ", "")
- if index_item.warning?
%span.glyphicon.glyphicon-warning-sign{ 'aria-hidden': true }
%td
- if index_item.show_settings?
%span.integration-settings.glyphicon.glyphicon-option-horizontal{ 'aria-hidden': true, 'data-pact-versions-url': index_item.pact_versions_url, 'data-consumer-name': index_item.consumer_name, 'data-provider-name': index_item.provider_name}
%div.relationships-size
= index_items.size_label
Expand Down

0 comments on commit 325a98e

Please sign in to comment.