@@ -10457,7 +10457,7 @@ public abstract static class UpdateDatasetStatusAction extends ConfirmAction<Sho
1045710457 protected abstract void updateDatasetStatus (DatasetStatus datasetStatus );
1045810458 protected abstract void postNotification ();
1045910459 protected abstract String getConfirmViewTitle ();
10460- protected abstract HtmlString getConfirmViewMessage ();
10460+ protected abstract Renderable getConfirmViewMessage ();
1046110461
1046210462 @ Override
1046310463 public ModelAndView getConfirmView (ShortUrlForm shortUrlForm , BindException errors ) throws Exception
@@ -10534,9 +10534,9 @@ protected String getConfirmViewTitle()
1053410534 }
1053510535
1053610536 @ Override
10537- protected HtmlString getConfirmViewMessage ()
10537+ protected Renderable getConfirmViewMessage ()
1053810538 {
10539- return HtmlString . of ("You are requesting an extension for the private data on Panorama Public at " + _exptAnnotations .getShortUrl ().renderShortURL ());
10539+ return DIV ("You are requesting an extension for the private data on Panorama Public at " , _exptAnnotations .getShortUrl ().renderShortURL ());
1054010540 }
1054110541
1054210542 @ Override
@@ -10598,9 +10598,9 @@ protected String getConfirmViewTitle()
1059810598 }
1059910599
1060010600 @ Override
10601- protected HtmlString getConfirmViewMessage ()
10601+ protected Renderable getConfirmViewMessage ()
1060210602 {
10603- return HtmlString . of ("You are requesting deletion of the private data on Panorama Public at " + _exptAnnotations .getShortUrl ().renderShortURL ());
10603+ return DIV ("You are requesting deletion of the private data on Panorama Public at " , _exptAnnotations .getShortUrl ().renderShortURL ());
1060410604 }
1060510605
1060610606 @ Override
@@ -10656,15 +10656,17 @@ protected String getConfirmViewTitle()
1065610656 }
1065710657
1065810658 @ Override
10659- protected HtmlString getConfirmViewMessage ()
10659+ protected Renderable getConfirmViewMessage ()
1066010660 {
1066110661 String publicationRef = _publicationMatch .getCitation () != null
1066210662 ? _publicationMatch .getCitation ()
1066310663 : _publicationMatch .getPublicationIdLabel ();
10664- return HtmlString .of ("You are dismissing the publication suggestion for your data on Panorama Public at "
10665- + _exptAnnotations .getShortUrl ().renderShortURL () +
10666- ". We will no longer suggest the following publication for this dataset - " +
10667- HtmlString .BR + publicationRef );
10664+ return DIV ("You are dismissing the publication suggestion for your data on Panorama Public at "
10665+ , _exptAnnotations .getShortUrl ().renderShortURL ()
10666+ , BR ()
10667+ , "We will no longer suggest the following publication for this dataset - "
10668+ , BR (),
10669+ publicationRef );
1066810670 }
1066910671
1067010672 @ Override
@@ -10712,7 +10714,6 @@ public ModelAndView getSuccessView(ShortUrlForm shortUrlForm)
1071210714 {
1071310715 setTitle ("Publication Suggestion Dismissed" );
1071410716 return new HtmlView (DIV ("The publication suggestion has been dismissed for the data at " + _exptAnnotations .getShortUrl ().renderShortURL (),
10715- DIV ("We will no longer suggest this publication for your dataset." ),
1071610717 BR (),
1071710718 DIV (
1071810719 LinkBuilder .labkeyLink ("Data Folder" , PageFlowUtil .urlProvider (ProjectUrls .class ).getBeginURL (_exptAnnotations .getContainer ()))
0 commit comments