Skip to content

Commit

Permalink
SAK-29125 Added site page action to registration
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfish committed Dec 15, 2015
1 parent b0646ff commit f988c2d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4753,6 +4753,11 @@ public String getLabel()
CitationService.CITATION_LIST_ID,
false );

BaseServiceLevelAction makeSitePageAction = new BaseServiceLevelAction(ResourceToolAction.MAKE_SITE_PAGE,
ResourceToolAction.ActionType.MAKE_SITE_PAGE,
CitationService.CITATION_LIST_ID,
true );

BasicSiteSelectableResourceType typedef = new BasicSiteSelectableResourceType(CitationService.CITATION_LIST_ID);
typedef.setSizeLabeler(new CitationSizeLabeler());
typedef.setLocalizer(new CitationLocalizer());
Expand All @@ -4763,6 +4768,7 @@ public String getLabel()
typedef.addAction(new CitationListDuplicateAction());
typedef.addAction(revisePropsAction);
typedef.addAction(moveAction);
typedef.addAction(makeSitePageAction);
typedef.setEnabledByDefault(m_configService.isCitationsEnabledByDefault());
typedef.setIconLocation("sakai/citationlist.gif");
typedef.setHasRightsDialog(false);
Expand Down

0 comments on commit f988c2d

Please sign in to comment.