Skip to content

Commit

Permalink
Always show the terms popup, except for the draft versions - refs IQS…
Browse files Browse the repository at this point in the history
  • Loading branch information
fintanorbert committed Nov 18, 2024
1 parent e44dfaf commit a60f905
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/edu/harvard/iq/dataverse/util/FileUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -1108,8 +1108,8 @@ public static boolean isDownloadPopupRequired(DatasetVersion datasetVersion) {
logger.fine("Download popup required because of guestbook.");
return true;
}
logger.fine("Download popup is not required.");
return false;
logger.fine("Download popup is required, because the ARP license must be accepted if the dataset is not in Draft version.");
return true;
}

public static boolean isRequestAccessPopupRequired(DatasetVersion datasetVersion) {
Expand Down Expand Up @@ -1201,8 +1201,8 @@ public static boolean isGuestbookPopupRequired(DatasetVersion datasetVersion) {
public static boolean isTermsPopupRequired(DatasetVersion datasetVersion) {
Boolean answer = popupDueToStateOrTerms(datasetVersion);
if(answer == null) {
logger.fine("TermsPopup is not required.");
return false;
logger.fine("TermsPopup is required, because the ARP license must be accepted if the dataset is not in Draft version.");
return true;
}
return answer;
}
Expand Down

0 comments on commit a60f905

Please sign in to comment.