Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class ValidatorPage extends ContentPanel {
@Override
public void handleBreadcrumb(BreadcrumbPanel breadcrumb) {
List<BreadcrumbItem> breadcrumbItems = BreadcrumbManager.forSIARDValidatorPage(database.getUuid(),
database.getMetadata().getName());
database.getMetadata().getName());
BreadcrumbManager.updateBreadcrumb(breadcrumb, breadcrumbItems);
}

Expand Down Expand Up @@ -359,7 +359,10 @@ private void populateValidationInfo(Boolean enable, Boolean error) {
}

// SIARD specification link
Button SIARDSpecification = new Button(ViewerConstants.SIARD2_1);
String siardVersion = (database.getMetadata() != null && database.getVersion() != null) ? database.getVersion()
: ViewerConstants.SIARD2_1;

Button SIARDSpecification = new Button(siardVersion);
SIARDSpecification.addClickHandler(
event -> Window.open(ViewerConstants.SIARD_SPECIFICATION_LINK, ViewerConstants.BLANK_LINK, null));

Expand Down
Loading